Skip to content

Commit dae0678

Browse files
committed
Report unused eslint-disable directives
1 parent 4abce17 commit dae0678

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
const config = {
55
parser: '@typescript-eslint/parser',
66
parserOptions: {},
7+
// https://twitter.com/TkDodo/status/1667541777585258496
8+
reportUnusedDisableDirectives: true,
79
extends: [
810
// /!\ Order matters: the next one overrides rules from the previous one
911
'plugin:playwright/playwright-test',

0 commit comments

Comments
 (0)