Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit ab1a05b

Browse files
authored
chore(lint): adjust lint and test scripts (#39)
Inlcude --fix in `lint`; run linting (without --fix) during `test`.
1 parent cff0c25 commit ab1a05b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"main": "bin/daemon.js",
66
"scripts": {
77
"coverage": "nyc ./node_modules/mocha/bin/_mocha --recursive lib",
8-
"lint": "eslint --ignore-pattern /coverage/ ./",
8+
"lint": "eslint --fix --ignore-pattern /coverage/ ./",
99
"release": "standard-version --tag-prefix='' && ./release.sh",
1010
"start": "./bin/daemon.js",
1111
"nodemon": "nodemon ./bin/daemon.js",
12-
"test": "mocha --recursive lib"
12+
"test": "eslint --ignore-pattern /coverage/ ./ && mocha --recursive lib"
1313
},
1414
"repository": {
1515
"type": "git",

0 commit comments

Comments
 (0)