24 lines
540 B
YAML
24 lines
540 B
YAML
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v3.2.0
|
||
|
hooks:
|
||
|
- id: trailing-whitespace
|
||
|
- id: end-of-file-fixer
|
||
|
- id: check-yaml
|
||
|
- id: check-added-large-files
|
||
|
- repo: https://github.com/compilerla/conventional-pre-commit
|
||
|
rev: v3.4.0
|
||
|
hooks:
|
||
|
- id: conventional-pre-commit
|
||
|
stages: [commit-msg]
|
||
|
args: [feat, fix, chore, test, build, merge]
|
||
|
- repo: local
|
||
|
hooks:
|
||
|
- id: eslint
|
||
|
name: eslint
|
||
|
entry: bash -c 'npx eslint'
|
||
|
language: system
|
||
|
|
||
|
types: [javascript]
|
||
|
pass_filenames: false
|