29 lines
966 B
YAML
29 lines
966 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
rev: 'v8.15.0' # Use the sha / tag you want to point at
|
|
hooks:
|
|
- id: eslint
|
|
types: [file]
|
|
files: \.[jt]s$|vue$ # *.js, *.ts and vue
|
|
exclude: '(\/|^)((generated\/.*)|(\..*\.([jt]sx?|vue)))$'
|
|
args:
|
|
- '--max-warnings=0'
|
|
additional_dependencies:
|
|
- eslint@8.11.0
|
|
- eslint-config-prettier@8.5.0
|
|
- eslint-plugin-vue@8.5.0
|
|
- '@babel/eslint-parser@7.18.2'
|
|
- '@babel/preset-env@t 7.16.11'
|
|
- '@typescript-eslint/eslint-plugin@5.21.0'
|
|
- '@typescript-eslint/parser@5.21.0'
|
|
- typescript@4.5.4
|
|
- '@rushstack/eslint-patch@1.1.3'
|
|
- '@vue/eslint-config-typescript@11.0.0'
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: 'v2.6.2' # Use the sha / tag you want to point at
|
|
hooks:
|
|
- id: prettier
|
|
ci:
|
|
autoupdate_schedule: quarterly
|