Skip to content

Commit 474df59

Browse files
committed
Disable eslint/no-plusplus
1 parent 52a362e commit 474df59

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
@@ -112,6 +112,7 @@ exports[`is a valid Oxlint config 1`] = `
112112
"eslint/no-negated-condition": "off",
113113
"eslint/no-new-native-nonconstructor": "off",
114114
"eslint/no-obj-calls": "off",
115+
"eslint/no-plusplus": "off",
115116
"eslint/no-redeclare": "off",
116117
"eslint/no-restricted-globals": "off",
117118
"eslint/no-restricted-imports": "off",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ const config: LinterConfigEntry = {
9191
'eslint/no-negated-condition': 'off',
9292
'eslint/no-new-native-nonconstructor': 'off',
9393
'eslint/no-obj-calls': 'off',
94+
'eslint/no-plusplus': 'off',
9495
'eslint/no-redeclare': 'off',
9596
'eslint/no-restricted-globals': 'off',
9697
'eslint/no-restricted-imports': 'off',

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ exports[`defines a valid Oxlint config 1`] = `
278278
"eslint/no-negated-condition": "off",
279279
"eslint/no-new-native-nonconstructor": "off",
280280
"eslint/no-obj-calls": "off",
281+
"eslint/no-plusplus": "off",
281282
"eslint/no-redeclare": "off",
282283
"eslint/no-restricted-globals": "off",
283284
"eslint/no-restricted-imports": "off",
@@ -1115,6 +1116,7 @@ exports[`supports the \`react\` option 1`] = `
11151116
"eslint/no-negated-condition": "off",
11161117
"eslint/no-new-native-nonconstructor": "off",
11171118
"eslint/no-obj-calls": "off",
1119+
"eslint/no-plusplus": "off",
11181120
"eslint/no-redeclare": "off",
11191121
"eslint/no-restricted-globals": "off",
11201122
"eslint/no-restricted-imports": "off",

0 commit comments

Comments
 (0)