Skip to content
Snippets Groups Projects
Commit edf2f821 authored by Rohan Lekhwani's avatar Rohan Lekhwani
Browse files

Updates eslint and babel-eslint versions and adds pre-commit lint hook

parent 16576aa4
No related branches found
No related tags found
No related merge requests found
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"
}
}
......
......@@ -3,7 +3,7 @@ const jsonfile = require('jsonfile')
const contributors = jsonfile.readFileSync('../../assets/data/data.json')
const contributorsList = []
for (var contributor in contributors) {
for (let contributor in contributors) {
const username = contributor
const { avatarUrl } = contributors[contributor]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment