Skip to content

Commit 2f8d93d

Browse files
committed
Make the CI fail on ESLint warnings
Many of our ESLint rules are configured as warning rather than errors due to the level used in the imported configuration, but we still want to enforce them.
1 parent 7c3c483 commit 2f8d93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test": "yarn run test:main && yarn run test:persistent-cache",
88
"test:main": "mocha --reporter spec test --recursive --ignore test/persistent-cache/*",
99
"test:persistent-cache": "node run-persistent-tests",
10-
"lint": "eslint lib test index.js .eslintrc.js --report-unused-disable-directives",
10+
"lint": "eslint lib test index.js .eslintrc.js --report-unused-disable-directives --max-warnings=0",
1111
"travis:lint": "yarn run lint"
1212
},
1313
"bin": {

0 commit comments

Comments
 (0)