Skip to content

Commit 0c6fb62

Browse files
oxc-botBoshen
andauthored
release: v0.16.12 (#422)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <[email protected]>
1 parent 4b84b51 commit 0c6fb62

File tree

5 files changed

+79
-39
lines changed

5 files changed

+79
-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.11",
3+
"version": "0.16.12",
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.11",
70+
"oxlint": "^0.16.12",
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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,9 @@ exports[`contains all the oxlint rules 1`] = `
13681368
"unicorn/no-array-for-each": [
13691369
0,
13701370
],
1371+
"unicorn/no-array-method-this-argument": [
1372+
0,
1373+
],
13711374
"unicorn/no-array-reduce": [
13721375
0,
13731376
],
@@ -1386,12 +1389,18 @@ exports[`contains all the oxlint rules 1`] = `
13861389
"unicorn/no-empty-file": [
13871390
0,
13881391
],
1392+
"unicorn/no-for-loop": [
1393+
0,
1394+
],
13891395
"unicorn/no-hex-escape": [
13901396
0,
13911397
],
13921398
"unicorn/no-instanceof-array": [
13931399
0,
13941400
],
1401+
"unicorn/no-instanceof-builtins": [
1402+
0,
1403+
],
13951404
"unicorn/no-invalid-fetch-options": [
13961405
0,
13971406
],
@@ -1446,6 +1455,9 @@ exports[`contains all the oxlint rules 1`] = `
14461455
"unicorn/no-typeof-undefined": [
14471456
0,
14481457
],
1458+
"unicorn/no-unnecessary-array-flat-depth": [
1459+
0,
1460+
],
14491461
"unicorn/no-unnecessary-await": [
14501462
0,
14511463
],
@@ -1488,12 +1500,18 @@ exports[`contains all the oxlint rules 1`] = `
14881500
"unicorn/prefer-add-event-listener": [
14891501
0,
14901502
],
1503+
"unicorn/prefer-array-find": [
1504+
0,
1505+
],
14911506
"unicorn/prefer-array-flat": [
14921507
0,
14931508
],
14941509
"unicorn/prefer-array-flat-map": [
14951510
0,
14961511
],
1512+
"unicorn/prefer-array-index-of": [
1513+
0,
1514+
],
14971515
"unicorn/prefer-array-some": [
14981516
0,
14991517
],
@@ -1521,6 +1539,9 @@ exports[`contains all the oxlint rules 1`] = `
15211539
"unicorn/prefer-event-target": [
15221540
0,
15231541
],
1542+
"unicorn/prefer-global-this": [
1543+
0,
1544+
],
15241545
"unicorn/prefer-includes": [
15251546
0,
15261547
],
@@ -1551,6 +1572,9 @@ exports[`contains all the oxlint rules 1`] = `
15511572
"unicorn/prefer-number-properties": [
15521573
0,
15531574
],
1575+
"unicorn/prefer-object-from-entries": [
1576+
0,
1577+
],
15541578
"unicorn/prefer-optional-catch-binding": [
15551579
0,
15561580
],

src/generated/rules-by-category.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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-array-flat-depth': 'off',
5253
'unicorn/no-unnecessary-slice-end': 'off',
5354
'unicorn/no-hex-escape': 'off',
5455
'unicorn/no-instanceof-array': 'off',
@@ -115,6 +116,7 @@ const suspiciousRules: Record<string, 'off'> = {
115116
'@typescript-eslint/no-extraneous-class': 'off',
116117
'@typescript-eslint/no-unnecessary-type-constraint': 'off',
117118
'unicorn/consistent-function-scoping': 'off',
119+
'unicorn/no-instanceof-builtins': 'off',
118120
'unicorn/no-accessor-recursion': 'off',
119121
'unicorn/prefer-add-event-listener': 'off',
120122
'unicorn/require-post-message-target-origin': 'off',
@@ -236,13 +238,18 @@ const styleRules: Record<string, 'off'> = {
236238
'unicorn/empty-brace-spaces': 'off',
237239
'unicorn/error-message': 'off',
238240
'unicorn/filename-case': 'off',
241+
'unicorn/no-array-method-this-argument': 'off',
242+
'unicorn/no-for-loop': 'off',
239243
'unicorn/no-await-expression-member': 'off',
240244
'unicorn/no-console-spaces': 'off',
241245
'unicorn/no-null': 'off',
242246
'unicorn/no-unreadable-array-destructuring': 'off',
243247
'unicorn/no-zero-fractions': 'off',
244248
'unicorn/number-literal-case': 'off',
245249
'unicorn/numeric-separators-style': 'off',
250+
'unicorn/prefer-global-this': 'off',
251+
'unicorn/prefer-object-from-entries': 'off',
252+
'unicorn/prefer-array-index-of': 'off',
246253
'unicorn/prefer-spread': 'off',
247254
'unicorn/prefer-array-flat-map': 'off',
248255
'unicorn/prefer-dom-node-text-content': 'off',
@@ -543,6 +550,7 @@ const perfRules: Record<string, 'off'> = {
543550
'react-perf/jsx-no-new-array-as-prop': 'off',
544551
'react-perf/jsx-no-new-function-as-prop': 'off',
545552
'react-perf/jsx-no-new-object-as-prop': 'off',
553+
'unicorn/prefer-array-find': 'off',
546554
'unicorn/prefer-set-has': 'off',
547555
};
548556

src/generated/rules-by-scope.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,10 @@ const unicornRules: Record<string, 'off'> = {
439439
'unicorn/explicit-length-check': 'off',
440440
'unicorn/filename-case': 'off',
441441
'unicorn/new-for-builtins': 'off',
442+
'unicorn/no-instanceof-builtins': 'off',
443+
'unicorn/no-array-method-this-argument': 'off',
444+
'unicorn/no-unnecessary-array-flat-depth': 'off',
445+
'unicorn/no-for-loop': 'off',
442446
'unicorn/no-unnecessary-slice-end': 'off',
443447
'unicorn/no-accessor-recursion': 'off',
444448
'unicorn/no-invalid-fetch-options': 'off',
@@ -481,6 +485,10 @@ const unicornRules: Record<string, 'off'> = {
481485
'unicorn/no-zero-fractions': 'off',
482486
'unicorn/number-literal-case': 'off',
483487
'unicorn/numeric-separators-style': 'off',
488+
'unicorn/prefer-global-this': 'off',
489+
'unicorn/prefer-object-from-entries': 'off',
490+
'unicorn/prefer-array-find': 'off',
491+
'unicorn/prefer-array-index-of': 'off',
484492
'unicorn/prefer-spread': 'off',
485493
'unicorn/prefer-add-event-listener': 'off',
486494
'unicorn/prefer-array-flat': 'off',

0 commit comments

Comments
 (0)