Skip to content

Commit 254b799

Browse files
committed
Disable eslint/no-warning-comments
1 parent 474df59 commit 254b799

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

packages/oxlint/src/config-base/__snapshots__/index.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ exports[`is a valid Oxlint config 1`] = `
166166
"eslint/no-useless-rename": "warn",
167167
"eslint/no-var": "error",
168168
"eslint/no-void": "off",
169+
"eslint/no-warning-comments": "off",
169170
"eslint/operator-assignment": [
170171
"warn",
171172
"always",

packages/oxlint/src/config-base/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ const config: LinterConfigEntry = {
128128
'eslint/no-useless-rename': 'warn',
129129
'eslint/no-var': 'error',
130130
'eslint/no-void': 'off',
131+
'eslint/no-warning-comments': 'off',
131132
'eslint/operator-assignment': ['warn', 'always'],
132133
'eslint/prefer-destructuring': [
133134
'error',

packages/oxlint/src/define-config/__snapshots__/index.test.ts.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ exports[`defines a valid Oxlint config 1`] = `
332332
"eslint/no-useless-rename": "warn",
333333
"eslint/no-var": "error",
334334
"eslint/no-void": "off",
335+
"eslint/no-warning-comments": "off",
335336
"eslint/operator-assignment": [
336337
"warn",
337338
"always",
@@ -1170,6 +1171,7 @@ exports[`supports the \`react\` option 1`] = `
11701171
"eslint/no-useless-rename": "warn",
11711172
"eslint/no-var": "error",
11721173
"eslint/no-void": "off",
1174+
"eslint/no-warning-comments": "off",
11731175
"eslint/operator-assignment": [
11741176
"warn",
11751177
"always",

0 commit comments

Comments
 (0)