Skip to content

Commit 7627689

Browse files
oxc-botBoshen
andauthored
release: v0.16.10 (#408)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <[email protected]>
1 parent 902d21f commit 7627689

File tree

6 files changed

+74
-62
lines changed

6 files changed

+74
-62
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.9",
3+
"version": "0.16.10",
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": "^15.2.10",
6969
"memfs": "^4.14.0",
70-
"oxlint": "^0.16.9",
70+
"oxlint": "^0.16.10",
7171
"prettier": "^3.3.3",
7272
"scule": "^1.3.0",
7373
"shelljs": "^0.9.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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,9 @@ exports[`contains all the oxlint rules 1`] = `
10311031
"no-unused-vars": [
10321032
0,
10331033
],
1034+
"no-useless-backreference": [
1035+
0,
1036+
],
10341037
"no-useless-call": [
10351038
0,
10361039
],
@@ -1431,6 +1434,9 @@ exports[`contains all the oxlint rules 1`] = `
14311434
"unicorn/no-unnecessary-await": [
14321435
0,
14331436
],
1437+
"unicorn/no-unnecessary-slice-end": [
1438+
0,
1439+
],
14341440
"unicorn/no-unreadable-array-destructuring": [
14351441
0,
14361442
],

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ exports[`handleCategoriesScope > custom plugins, default categories > customPlug
6262
"no-unused-labels": "off",
6363
"no-unused-private-class-members": "off",
6464
"no-unused-vars": "off",
65+
"no-useless-backreference": "off",
6566
"no-useless-catch": "off",
6667
"no-useless-escape": "off",
6768
"no-useless-rename": "off",
@@ -143,6 +144,7 @@ exports[`handleCategoriesScope > default plugins (react, unicorn, typescript), d
143144
"no-unused-labels": "off",
144145
"no-unused-private-class-members": "off",
145146
"no-unused-vars": "off",
147+
"no-useless-backreference": "off",
146148
"no-useless-catch": "off",
147149
"no-useless-escape": "off",
148150
"no-useless-rename": "off",

src/generated/rules-by-category.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
const pedanticRules: Record<string, 'off'> = {
44
'array-callback-return': 'off',
55
eqeqeq: 'off',
6-
'max-nested-callbacks': 'off',
7-
'max-lines-per-function': 'off',
86
'max-classes-per-file': 'off',
97
'max-depth': 'off',
8+
'max-lines-per-function': 'off',
109
'max-lines': 'off',
11-
'no-lonely-if': 'off',
12-
'no-object-constructor': 'off',
10+
'max-nested-callbacks': 'off',
1311
'no-array-constructor': 'off',
1412
'no-case-declarations': 'off',
13+
'no-lonely-if': 'off',
14+
'no-object-constructor': 'off',
1515
'no-constructor-return': 'off',
1616
'no-else-return': 'off',
1717
'no-fallthrough': 'off',
@@ -49,6 +49,7 @@ const pedanticRules: Record<string, 'off'> = {
4949
'unicorn/escape-case': 'off',
5050
'unicorn/explicit-length-check': 'off',
5151
'unicorn/new-for-builtins': 'off',
52+
'unicorn/no-unnecessary-slice-end': 'off',
5253
'unicorn/no-hex-escape': 'off',
5354
'unicorn/no-instanceof-array': 'off',
5455
'unicorn/no-lonely-if': 'off',
@@ -131,12 +132,12 @@ const styleRules: Record<string, 'off'> = {
131132
'init-declarations': 'off',
132133
'max-params': 'off',
133134
'new-cap': 'off',
135+
'no-duplicate-imports': 'off',
134136
'no-extra-label': 'off',
135-
'no-multi-assign': 'off',
136-
'no-nested-ternary': 'off',
137137
'no-labels': 'off',
138138
'no-lone-blocks': 'off',
139-
'no-duplicate-imports': 'off',
139+
'no-multi-assign': 'off',
140+
'no-nested-ternary': 'off',
140141
'no-continue': 'off',
141142
'no-label-var': 'off',
142143
'no-magic-numbers': 'off',
@@ -291,9 +292,9 @@ const styleRules: Record<string, 'off'> = {
291292

292293
const restrictionRules: Record<string, 'off'> = {
293294
'default-case': 'off',
294-
'no-restricted-imports': 'off',
295295
'no-alert': 'off',
296296
'no-bitwise': 'off',
297+
'no-restricted-imports': 'off',
297298
'no-console': 'off',
298299
'no-div-regex': 'off',
299300
'no-empty-function': 'off',
@@ -359,6 +360,7 @@ const correctnessRules: Record<string, 'off'> = {
359360
'no-async-promise-executor': 'off',
360361
'no-caller': 'off',
361362
'no-class-assign': 'off',
363+
'no-useless-backreference': 'off',
362364
'no-compare-neg-zero': 'off',
363365
'no-cond-assign': 'off',
364366
'no-const-assign': 'off',
@@ -530,8 +532,8 @@ const correctnessRules: Record<string, 'off'> = {
530532
};
531533

532534
const perfRules: Record<string, 'off'> = {
533-
'no-useless-call': 'off',
534535
'no-await-in-loop': 'off',
536+
'no-useless-call': 'off',
535537
'react/no-array-index-key': 'off',
536538
'react-perf/jsx-no-jsx-as-prop': 'off',
537539
'react-perf/jsx-no-new-array-as-prop': 'off',

src/generated/rules-by-scope.ts

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,13 @@ const eslintRules: Record<string, 'off'> = {
1414
'grouped-accessor-pairs': 'off',
1515
'guard-for-in': 'off',
1616
'init-declarations': 'off',
17-
'max-nested-callbacks': 'off',
18-
'max-lines-per-function': 'off',
1917
'max-classes-per-file': 'off',
2018
'max-depth': 'off',
19+
'max-lines-per-function': 'off',
2120
'max-lines': 'off',
21+
'max-nested-callbacks': 'off',
2222
'max-params': 'off',
2323
'new-cap': 'off',
24-
'no-lonely-if': 'off',
25-
'no-useless-call': 'off',
26-
'no-unneeded-ternary': 'off',
27-
'no-extra-label': 'off',
28-
'no-multi-assign': 'off',
29-
'no-nested-ternary': 'off',
30-
'no-labels': 'off',
31-
'no-lone-blocks': 'off',
32-
'no-restricted-imports': 'off',
33-
'no-object-constructor': 'off',
34-
'no-duplicate-imports': 'off',
3524
'no-alert': 'off',
3625
'no-array-constructor': 'off',
3726
'no-async-promise-executor': 'off',
@@ -40,6 +29,18 @@ const eslintRules: Record<string, 'off'> = {
4029
'no-caller': 'off',
4130
'no-case-declarations': 'off',
4231
'no-class-assign': 'off',
32+
'no-duplicate-imports': 'off',
33+
'no-extra-label': 'off',
34+
'no-labels': 'off',
35+
'no-lone-blocks': 'off',
36+
'no-lonely-if': 'off',
37+
'no-multi-assign': 'off',
38+
'no-nested-ternary': 'off',
39+
'no-object-constructor': 'off',
40+
'no-restricted-imports': 'off',
41+
'no-unneeded-ternary': 'off',
42+
'no-useless-backreference': 'off',
43+
'no-useless-call': 'off',
4344
'no-compare-neg-zero': 'off',
4445
'no-cond-assign': 'off',
4546
'no-console': 'off',
@@ -409,8 +410,8 @@ const typescriptRules: Record<string, 'off'> = {
409410
'@typescript-eslint/default-param-last': 'off',
410411
'@typescript-eslint/init-declarations': 'off',
411412
'@typescript-eslint/max-params': 'off',
412-
'@typescript-eslint/no-restricted-imports': 'off',
413413
'@typescript-eslint/no-array-constructor': 'off',
414+
'@typescript-eslint/no-restricted-imports': 'off',
414415
'@typescript-eslint/no-dupe-class-members': 'off',
415416
'@typescript-eslint/no-empty-function': 'off',
416417
'@typescript-eslint/no-loss-of-precision': 'off',
@@ -434,6 +435,7 @@ const unicornRules: Record<string, 'off'> = {
434435
'unicorn/explicit-length-check': 'off',
435436
'unicorn/filename-case': 'off',
436437
'unicorn/new-for-builtins': 'off',
438+
'unicorn/no-unnecessary-slice-end': 'off',
437439
'unicorn/no-accessor-recursion': 'off',
438440
'unicorn/no-invalid-fetch-options': 'off',
439441
'unicorn/no-abusive-eslint-disable': 'off',

0 commit comments

Comments
 (0)