ab4265af9b
Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
23 lines
715 B
YAML
23 lines
715 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
|
|
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.5.1' # Use the sha / tag you want to point at
|
|
hooks:
|
|
- id: prettier
|