Add ESLint/Prettier and stylelint to git hooks

This commit is contained in:
Deimos
2019-06-03 18:25:13 -06:00
parent 28f6a15876
commit 5ea8b3a1bd
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -5,4 +5,6 @@
vagrant ssh -c ". activate \
&& echo 'Checking mypy type annotations...' && mypy . \
&& echo 'Checking if Black would reformat any code...' && black --check . \
&& echo -n 'Running tests: ' && pytest -q"
&& echo -n 'Running tests: ' && pytest -q \
&& echo 'Checking SCSS style...' && npm run --silent lint:scss \
&& echo 'Checking JS style...' && npm run --silent lint:js"