Skip to content

Commit

Permalink
improve eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Aug 16, 2019
1 parent b98d611 commit 83ebe6d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,24 @@
"start": "node app.js",
"test": "mocha -r intelli-espower-loader -t 20000 app.test.js --exit",
"lint-fix": "eslint --fix --ext .js app.js module/ util/ test/ "

},
"keywords": [
"网易云音乐",
"网易云",
"音乐",
"网易云音乐nodejs"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"author": "binaryify",
"license": "MIT",
"dependencies": {
Expand All @@ -25,7 +35,9 @@
"devDependencies": {
"eslint": "^6.1.0",
"eslint-config-standard": "^13.0.1",
"husky": "^3.0.3",
"intelli-espower-loader": "^1.0.1",
"lint-staged": "^9.2.1",
"mocha": "^6.1.4",
"power-assert": "^1.6.1"
}
Expand Down

0 comments on commit 83ebe6d

Please sign in to comment.