Add pre-commit hook for standard linter
This commit is contained in:
parent
94938bda28
commit
1e7207071e
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt test --verbose",
|
"test": "grunt test --verbose",
|
||||||
"test:lint": "cross-env NODE_ENV=test standard --verbose"
|
"test:lint": "cross-env NODE_ENV=test standard --verbose",
|
||||||
|
"precommit": "npm run test:lint"
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
|
|
Loading…
Reference in a new issue