Skip to content

Commit

Permalink
Merge pull request #29 from philbates35/eslint-disable-directive
Browse files Browse the repository at this point in the history
Eslint: Set reportUnusedDisableDirectives in config instead of CLI
  • Loading branch information
philbates35 committed Feb 24, 2024
2 parents de24c3c + 62e541d commit f05d177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ module.exports = {
settings: {
"import/resolver": { typescript: true },
},
reportUnusedDisableDirectives: true,
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "tsc -b && vite build",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "eslint . --ext ts,tsx --max-warnings 0",
"format": "prettier . --write",
"format-check": "prettier . --check"
},
Expand Down

0 comments on commit f05d177

Please sign in to comment.