bf4b8e262d
updates: - [github.com/pre-commit/mirrors-eslint: v8.11.0 → v8.15.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.11.0...v8.15.0) - [github.com/pre-commit/mirrors-prettier: v2.5.1 → v2.6.2](https://github.com/pre-commit/mirrors-prettier/compare/v2.5.1...v2.6.2)
23 lines
715 B
YAML
23 lines
715 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: 'mocharc.js$'
|
|
args:
|
|
- '--max-warnings=0'
|
|
additional_dependencies:
|
|
- eslint@8.11.0
|
|
- eslint-config-prettier@8.5.0
|
|
- eslint-plugin-vue@8.5.0
|
|
- '@typescript-eslint/eslint-plugin@5.21.0'
|
|
- '@typescript-eslint/parser@5.21.0'
|
|
- typescript@4.5.4
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: 'v2.6.2' # Use the sha / tag you want to point at
|
|
hooks:
|
|
- id: prettier
|