forked from mirrors/thatmattlove-hyperglass
fix pre-commit
This commit is contained in:
parent
46f929c983
commit
4d8bd5784d
1 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ repos:
|
|||
exclude: 'hyperglass/ui/node_modules|hyperglass/ui/.next'
|
||||
stages:
|
||||
- commit
|
||||
entry: ./hyperglass/ui/node_modules/.bin/tsc
|
||||
entry: ./hyperglass/ui/node_modules/.bin/tsc -p ./hyperglass/ui
|
||||
language: script
|
||||
- repo: local
|
||||
hooks:
|
||||
|
|
@ -23,7 +23,7 @@ repos:
|
|||
exclude: 'hyperglass/ui/node_modules|hyperglass/ui/.next'
|
||||
stages:
|
||||
- commit
|
||||
entry: ./hyperglass/ui/node_modules/.bin/eslint .
|
||||
entry: ./hyperglass/ui/node_modules/.bin/eslint ./hyperglass/ui
|
||||
language: script
|
||||
- repo: local
|
||||
hooks:
|
||||
|
|
@ -33,5 +33,5 @@ repos:
|
|||
exclude: 'hyperglass/ui/node_modules|hyperglass/ui/.next'
|
||||
stages:
|
||||
- commit
|
||||
entry: ./hyperglass/ui/node_modules/.bin/prettier -c -w .
|
||||
entry: ./hyperglass/ui/node_modules/.bin/prettier -c -w ./hyperglass/ui
|
||||
language: script
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue