Skip to content

Commit d1c2c3c

Browse files
committed
chore: mark unused imports as a safe fix
1 parent 2cce2f3 commit d1c2c3c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/oxlint-config/rules/enabled.jsonc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"argsIgnorePattern": "^(_|e|event)",
88
"caughtErrorsIgnorePattern": "^(_|e|error)",
99
"varsIgnorePattern": "^_",
10+
"fix": {
11+
"imports": "safe-fix",
12+
},
1013
},
1114
],
1215
"no-var": "error",

0 commit comments

Comments
 (0)