Skip to content

Commit f4eb7dc

Browse files
committed
Set ESLint max-warnings to 0 to trigger CI failure on warnings
1 parent 49321d8 commit f4eb7dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/react-hook-tracer-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"start": "react-scripts start",
1515
"build": "react-scripts build",
1616
"eject": "react-scripts eject",
17-
"lint-check": "eslint --cache .",
17+
"lint-check": "eslint --cache . --max-warnings 0",
1818
"lint-fix": "yarn lint-check --fix",
1919
"test": "react-scripts test --watchAll=false",
2020
"type-check": "tsc",

packages/react-hook-tracer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"build-watch": "yarn build --watch --configIncludeDeclarationMap",
4242
"copy-css": "mkdir -p dist/components && cp src/components/*.css dist/components",
4343
"clean": "rm -r dist 2>/dev/null || true && rm -f package.tgz 2>/dev/null || true",
44-
"lint-check": "eslint . --cache .",
44+
"lint-check": "eslint . --cache . --max-warnings 0",
4545
"lint-fix": "yarn lint-check --fix",
4646
"test": "jest",
4747
"test-watch": "yarn test --watch",

0 commit comments

Comments
 (0)