Skip to content

Commit

Permalink
Fix package json to only lint staged files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Yan committed Jun 29, 2020
1 parent b464c9a commit 32ad3e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"test": "cross-env NODE_ENV=test nyc mocha --exit --slow 10 --timeout 5000 --reporter spec test/*.test.js test/**/*.test.js",
"test-target": "cross-env NODE_ENV=test nyc mocha --slow 10 --timeout 5000 --reporter spec",
"prepublish": "yarn run build",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint src"
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"husky": {
"hooks": {
Expand All @@ -22,7 +21,7 @@
},
"lint-staged": {
"*.ts": [
"yarn lint",
"eslint",
"prettier --write"
]
},
Expand Down

0 comments on commit 32ad3e0

Please sign in to comment.