Skip to content

Commit 897f3b5

Browse files
refactor: use targeted ESLint override for test files only
- Removed global @typescript-eslint/no-unused-expressions: off - Kept the rule enabled for main codebase (better code quality) - Only disabled the rule for test/**/*.ts files where expect statements are expected - More precise and maintainable ESLint configuration
1 parent 390a552 commit 897f3b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
],
3535
"@typescript-eslint/no-unused-vars": "off",
3636
"@typescript-eslint/no-explicit-any": "off",
37-
"no-unused-expressions": "off",
38-
"@typescript-eslint/no-unused-expressions": "off"
37+
"no-unused-expressions": "off"
3938
},
4039
"overrides": [
4140
{

0 commit comments

Comments
 (0)