Skip to content

Commit fd52b1d

Browse files
committed
chore(eslint): disallow all eslint directive comments
Change eslint-comments rule from no-unlimited-disable to no-use to entirely prevent eslint-disable, eslint-enable, and related comments. This enforces fixing underlying issues rather than suppressing them.
1 parent 43d2ac8 commit fd52b1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eslint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default defineConfig(
135135
],
136136
"barrel/no-re-exports": "error",
137137
"barrel/index-re-exports-only": "error",
138-
"eslint-comments/no-unlimited-disable": "error",
138+
"eslint-comments/no-use": "error",
139139
},
140140
},
141141
{

0 commit comments

Comments
 (0)