Skip to content

Commit

Permalink
Merge dae3bbc into f19629e
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jan 6, 2018
2 parents f19629e + dae3bbc commit 82b750b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"linters": {
"*.js": [
"git-exec-and-restage eslint --fix --"
]
}
}
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"scripts": {
"eslint": "eslint-ci .",
"test": "mocha test/index.js",
"test-cov": "istanbul cover --print both _mocha -- test/index.js"
"test-cov": "istanbul cover --print both _mocha -- test/index.js",
"precommit": "lint-staged",
"lint-staged": "lint-staged"
},
"directories": {
"lib": "./lib",
Expand Down Expand Up @@ -58,14 +60,17 @@
"warehouse": "^2.2.0"
},
"devDependencies": {
"@easyops/git-exec-and-restage": "^1.0.4",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"eslint": "^4.13.1",
"eslint-ci": "^0.1.1",
"eslint-config-hexo": "^2.0.0",
"hexo-renderer-marked": "^0.3.0",
"husky": "^0.14.3",
"istanbul": "^0.4.3",
"jscs-preset-hexo": "^1.0.1",
"lint-staged": "^6.0.0",
"mocha": "^4.0.1",
"rewire": "^3.0.2",
"sinon": "^4.1.2"
Expand Down

0 comments on commit 82b750b

Please sign in to comment.