add eslint
Showing
.hooks/pre-commit-eslint.sh
0 → 100644
| ... | ... | @@ -12,7 +12,8 @@ |
| "build:prod": "cross-env NODE_ENV=production env_config=prod node build/build.js", | ||
| "build:sit": "cross-env NODE_ENV=production env_config=sit node build/build.js", | ||
| "lint": "eslint --ext .js,.vue src", | ||
| "test": "npm run lint" | ||
| "test": "npm run lint", | ||
| "postinstall": "cp .hooks/* .git/hooks/" | ||
| }, | ||
| "dependencies": { | ||
| "axios": "0.17.1", | ||
| ... | ... |
Please register or sign in to comment