5544de023f
updates: - [github.com/pre-commit/mirrors-eslint: v8.15.0 → v8.19.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.15.0...v8.19.0) - [github.com/pre-commit/mirrors-prettier: v2.6.2 → v2.7.1](https://github.com/pre-commit/mirrors-prettier/compare/v2.6.2...v2.7.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
29 lines
966 B
YAML
29 lines
966 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
rev: 'v8.19.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.7.1' # Use the sha / tag you want to point at
|
|
hooks:
|
|
- id: prettier
|
|
ci:
|
|
autoupdate_schedule: quarterly
|