fix pre-commit

This commit is contained in:
checktheroads 2021-01-03 23:09:08 -07:00
parent 46f929c983
commit 4d8bd5784d

View file

@ -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