Added pre-commit git hooks for linting the src folder

This commit is contained in:
Zac Ioannidis
2020-12-14 13:43:09 +00:00
parent bb973d8b2b
commit cd8b7230c4

View File

@@ -116,6 +116,11 @@
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"ava": {
"files": [
"test/**/*.js"