Skip to content

Commit bc7064c

Browse files
oxc-botBoshen
andauthored
release: v0.16.11 (#414)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <[email protected]>
1 parent 52bd1af commit bc7064c

File tree

6 files changed

+60
-39
lines changed

6 files changed

+60
-39
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-oxlint",
3-
"version": "0.16.10",
3+
"version": "0.16.11",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"types": "./dist/index.d.ts",
@@ -67,7 +67,7 @@
6767
"jiti": "^2.4.2",
6868
"lint-staged": "^16.0.0",
6969
"memfs": "^4.14.0",
70-
"oxlint": "^0.16.10",
70+
"oxlint": "^0.16.11",
7171
"prettier": "^3.3.3",
7272
"scule": "^1.3.0",
7373
"shelljs": "^0.10.0",

pnpm-lock.yaml

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/__snapshots__/configs.spec.ts.snap

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ exports[`contains all the oxlint rules 1`] = `
8686
"@typescript-eslint/consistent-type-definitions": [
8787
0,
8888
],
89+
"@typescript-eslint/consistent-type-imports": [
90+
0,
91+
],
8992
"@typescript-eslint/default-param-last": [
9093
0,
9194
],
@@ -275,6 +278,9 @@ exports[`contains all the oxlint rules 1`] = `
275278
"guard-for-in": [
276279
0,
277280
],
281+
"import/consistent-type-specifier-style": [
282+
0,
283+
],
278284
"import/default": [
279285
0,
280286
],
@@ -338,6 +344,9 @@ exports[`contains all the oxlint rules 1`] = `
338344
"import/no-self-import": [
339345
0,
340346
],
347+
"import/no-unassigned-import": [
348+
0,
349+
],
341350
"import/no-webpack-loader-syntax": [
342351
0,
343352
],
@@ -1167,6 +1176,9 @@ exports[`contains all the oxlint rules 1`] = `
11671176
"react/checked-requires-onchange-or-readonly": [
11681177
0,
11691178
],
1179+
"react/forbid-elements": [
1180+
0,
1181+
],
11701182
"react/forward-ref-uses-ref": [
11711183
0,
11721184
],

src/build-from-oxlint-config/__snapshots__/categories.spec.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ exports[`handleCategoriesScope > custom plugins, custom categories > customPlugi
99
"import/no-named-as-default": "off",
1010
"import/no-named-as-default-member": "off",
1111
"import/no-self-import": "off",
12+
"import/no-unassigned-import": "off",
1213
"no-extend-native": "off",
1314
"no-new": "off",
1415
"no-unexpected-multiline": "off",

src/generated/rules-by-category.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const suspiciousRules: Record<string, 'off'> = {
9696
'no-unexpected-multiline': 'off',
9797
'no-useless-concat': 'off',
9898
'no-useless-constructor': 'off',
99+
'import/no-unassigned-import': 'off',
99100
'import/no-empty-named-blocks': 'off',
100101
'import/no-absolute-path': 'off',
101102
'import/no-duplicates': 'off',
@@ -159,6 +160,7 @@ const styleRules: Record<string, 'off'> = {
159160
'sort-keys': 'off',
160161
'vars-on-top': 'off',
161162
yoda: 'off',
163+
'import/consistent-type-specifier-style': 'off',
162164
'import/exports-last': 'off',
163165
'import/first': 'off',
164166
'import/group-exports': 'off',
@@ -222,6 +224,7 @@ const styleRules: Record<string, 'off'> = {
222224
'@typescript-eslint/consistent-generic-constructors': 'off',
223225
'@typescript-eslint/consistent-indexed-object-style': 'off',
224226
'@typescript-eslint/consistent-type-definitions': 'off',
227+
'@typescript-eslint/consistent-type-imports': 'off',
225228
'@typescript-eslint/no-inferrable-types': 'off',
226229
'@typescript-eslint/no-empty-interface': 'off',
227230
'@typescript-eslint/prefer-for-of': 'off',
@@ -324,6 +327,7 @@ const restrictionRules: Record<string, 'off'> = {
324327
'promise/catch-or-return': 'off',
325328
'promise/spec-only': 'off',
326329
'react/button-has-type': 'off',
330+
'react/forbid-elements': 'off',
327331
'react/jsx-filename-extension': 'off',
328332
'react/no-danger': 'off',
329333
'react/no-unknown-property': 'off',

src/generated/rules-by-scope.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,12 @@ const eslintRules: Record<string, 'off'> = {
144144
};
145145

146146
const importRules: Record<string, 'off'> = {
147+
'import/consistent-type-specifier-style': 'off',
147148
'import/default': 'off',
148149
'import/exports-last': 'off',
149150
'import/first': 'off',
150151
'import/group-exports': 'off',
152+
'import/no-unassigned-import': 'off',
151153
'import/no-empty-named-blocks': 'off',
152154
'import/no-anonymous-default-export': 'off',
153155
'import/no-absolute-path': 'off',
@@ -321,6 +323,7 @@ const promiseRules: Record<string, 'off'> = {
321323
const reactRules: Record<string, 'off'> = {
322324
'react/button-has-type': 'off',
323325
'react/checked-requires-onchange-or-readonly': 'off',
326+
'react/forbid-elements': 'off',
324327
'react/forward-ref-uses-ref': 'off',
325328
'react/iframe-missing-sandbox': 'off',
326329
'react/jsx-filename-extension': 'off',
@@ -374,6 +377,7 @@ const typescriptRules: Record<string, 'off'> = {
374377
'@typescript-eslint/consistent-generic-constructors': 'off',
375378
'@typescript-eslint/consistent-indexed-object-style': 'off',
376379
'@typescript-eslint/consistent-type-definitions': 'off',
380+
'@typescript-eslint/consistent-type-imports': 'off',
377381
'@typescript-eslint/explicit-function-return-type': 'off',
378382
'@typescript-eslint/no-inferrable-types': 'off',
379383
'@typescript-eslint/no-confusing-non-null-assertion': 'off',

0 commit comments

Comments
 (0)