Skip to content

Commit fa79f44

Browse files
committed
more restrictive linting
1 parent 2d72017 commit fa79f44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838
// note we must disable the base rule as it can report incorrect errors
3939
"no-unused-vars": "off",
4040
"@typescript-eslint/no-unused-vars": [
41-
"warn", // or "error"
41+
"error",
4242
{
4343
"argsIgnorePattern": "^_",
4444
"varsIgnorePattern": "^_",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"scripts": {
5353
"dev": "vite",
5454
"build": "tsc && vite build",
55-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
55+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
5656
"preview": "vite preview",
5757
"test": "vitest",
5858
"coverage": "vitest run --coverage",

0 commit comments

Comments
 (0)