Files
speckle-server/.pre-commit-config.yaml
T
2022-04-06 15:58:05 +03:00

19 lines
554 B
YAML

repos:
- repo: https://github.com/pre-commit/mirrors-eslint
rev: 'v8.11.0' # Use the sha / tag you want to point at
hooks:
- id: eslint
types: [file]
files: \.[jt]s$|vue$ # *.js, *.ts and vue
args:
- '--max-warnings=0'
additional_dependencies:
- eslint@8.11.0
- eslint-config-prettier@8.5.0
- eslint-plugin-vue@8.5.0
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v2.5.1' # Use the sha / tag you want to point at
hooks:
- id: prettier