nimbus-shared/.therapist.yml

55 строки
1.0 KiB
YAML
Исходник Обычный вид История

2020-07-13 19:38:40 +03:00
actions:
eslint:
description: eslint
run: ./node_modules/.bin/eslint --color {files}
fix: ./node_modules/.bin/eslint --color --fix {files}
include:
- "*.js"
- "*.jsx"
- "*.ts"
- "*.tsx"
typescript:
description: tsc-type-checking
run: ./node_modules/.bin/tsc --noEmit --project tsconfig.json
include:
- "*.ts"
- "*.tsx"
prettier:
description: Prettier code formatting
run: ./node_modules/.bin/prettier --check {files}
fix: ./node_modules/.bin/prettier --write {files}
include:
- "*.js"
- "*.jsx"
- "*.ts"
- "*.tsx"
- "*.css"
- "*.scss"
black:
description: Black code formatting
run: ./bin/format-python.sh --check {files}
fix: ./bin/format-python.sh {files}
include:
- "*.py"
2020-07-13 19:38:40 +03:00
shortcuts:
lint:
flags:
- include-unstaged
- include-untracked
"lint:all":
extends: lint
flags: use-tracked-files
fix:
extends: lint
flags: fix
"fix:all":
extends: fix
flags: use-tracked-files