[core] Run linter in pre-commit hook

This commit is contained in:
allburov committed 2023-11-25 19:41:41 +07:00
1 parent 02d05812d2
commit d984382a33
1 file changed
+12
+12
View File
@@ -1,4 +1,16 @@
repos:
- repo: local
hooks:
- id: lint
name: lint
language: system
entry: bash -c '$HOME/.nvm/nvm-exec npm run lint'
pass_filenames: false
files: |
(?x)^(
src/.*|
)$
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v3.1.0'
hooks: