Updates eslint and babel-eslint versions and adds pre-commit lint hook
This diff is collapsed.
{ | ||
"devDependencies": { | ||
"babel-eslint": "^10.0.1", | ||
"babel-eslint": "^10.1.0", | ||
"clean-webpack-plugin": "^1.0.1", | ||
"copy-webpack-plugin": "^4.6.0", | ||
"css-loader": "^2.1.0", | ||
"eslint": "^5.14.0", | ||
"eslint": "^6.8.0", | ||
"html-webpack-plugin": "^3.2.0", | ||
"husky": "^4.3.7", | ||
"inline-manifest-webpack-plugin": "^4.0.2", | ||
... | ... | @@ -33,6 +33,7 @@ |
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run lint", | ||
"pre-push": "npm run lint" | ||
} | ||
} | ||
... | ... |
Please register or sign in to comment