Skip to content

Commit 7b2ccc5

Browse files
committed
fix: allow test file warnings in CI linting
- Remove deprecated --ext flags from lint scripts - Add --max-warnings 20 to allow current test warnings - Ensures CI passes with 0 errors while maintaining strict rules - Test warnings are permitted but errors still fail CI
1 parent 17d9646 commit 7b2ccc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"test": "vitest",
2323
"test:run": "vitest run",
2424
"test:coverage": "vitest run --coverage",
25-
"lint": "eslint src/ --ext .ts,.tsx,.js,.jsx",
26-
"lint:fix": "eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
25+
"lint": "eslint src/ --max-warnings 20",
26+
"lint:fix": "eslint src/ --fix",
2727
"format": "tsx scripts/format.ts",
2828
"format:check": "tsx scripts/format-check.ts",
2929
"check": "npm run lint && npm run format:check && npm run typecheck",

0 commit comments

Comments
 (0)