Commit b4d756de authored by nwindis's avatar nwindis
Browse files

build: add pre commit hook for linting, fixing and testing

parent c956e329
Pipeline #155809 passed with stages
in 3 minutes
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "npm run lint:scss && npm run lint:markdown && npm run lint && npm run test:unit", "pre-commit": "npm run lint && npm run test",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true" "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment