Skip to content

Commit d8478dc

Browse files
ESLint: fail npm run lint if any warnings are reported (#3144)
1 parent bf26a52 commit d8478dc

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
@@ -30,7 +30,7 @@
3030
"changelog": "node resources/gen-changelog.js",
3131
"benchmark": "node benchmark/benchmark.js",
3232
"test": "npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spelling && npm run check:integrations",
33-
"lint": "eslint --cache .",
33+
"lint": "eslint --cache --max-warnings 0 .",
3434
"check": "tsc --pretty",
3535
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.ts",
3636
"testonly:cover": "nyc npm run testonly",

0 commit comments

Comments
 (0)