Add pre-commit hook for eslint
This commit is contained in:
parent
c736560f09
commit
2d8aef8beb
|
@ -28,3 +28,7 @@ repos:
|
|||
- id: detect-private-key
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/eslint/eslint
|
||||
rev: v7.24.0
|
||||
hooks:
|
||||
- id: eslint
|
||||
|
|
Loading…
Reference in New Issue