Skip to content

Commit be7e31c

Browse files
Don’t allow any ESLint warnings
Unfortunately, I could’t find a way to specify this in the .eslintrc.json. I generally want to keep options out of the package.json as much as possible; but in this case, I can live with it, since `npx eslint .` still shows you the warnings (it just won’t exit nonzero).
1 parent d1ba8cf commit be7e31c

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
"scripts": {
88
"test": "npm-run-all test:*",
99
"test-quick": "npm-run-all test:lint test:unit",
10-
"test:lint": "eslint .",
10+
"test:lint": "eslint --max-warnings=0 .",
1111
"test:unit": "mocha test/unit/",
1212
"test:node": "mocha test/integration/node.test.js",
1313
"test:browser": "mocha test/integration/browser.test.js # #23",

0 commit comments

Comments
 (0)