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