@oxlint/migrate 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json.mjs
CHANGED
|
@@ -62,6 +62,7 @@ const pedanticRules = [
|
|
|
62
62
|
"unicorn/escape-case",
|
|
63
63
|
"unicorn/explicit-length-check",
|
|
64
64
|
"unicorn/new-for-builtins",
|
|
65
|
+
"unicorn/no-array-callback-reference",
|
|
65
66
|
"unicorn/no-unnecessary-array-flat-depth",
|
|
66
67
|
"unicorn/no-unnecessary-slice-end",
|
|
67
68
|
"unicorn/no-hex-escape",
|
|
@@ -149,6 +150,7 @@ const styleRules = [
|
|
|
149
150
|
"import/exports-last",
|
|
150
151
|
"import/first",
|
|
151
152
|
"import/group-exports",
|
|
153
|
+
"import/no-named-export",
|
|
152
154
|
"import/no-anonymous-default-export",
|
|
153
155
|
"import/no-mutable-exports",
|
|
154
156
|
"import/no-named-default",
|
|
@@ -201,6 +203,7 @@ const styleRules = [
|
|
|
201
203
|
"promise/prefer-catch",
|
|
202
204
|
"promise/prefer-await-to-callbacks",
|
|
203
205
|
"promise/prefer-await-to-then",
|
|
206
|
+
"react/jsx-pascal-case",
|
|
204
207
|
"react/jsx-fragments",
|
|
205
208
|
"react/jsx-boolean-value",
|
|
206
209
|
"react/jsx-curly-brace-presence",
|
|
@@ -270,6 +273,7 @@ const styleRules = [
|
|
|
270
273
|
"import-x/exports-last",
|
|
271
274
|
"import-x/first",
|
|
272
275
|
"import-x/group-exports",
|
|
276
|
+
"import-x/no-named-export",
|
|
273
277
|
"import-x/no-anonymous-default-export",
|
|
274
278
|
"import-x/no-mutable-exports",
|
|
275
279
|
"import-x/no-named-default",
|
|
@@ -320,6 +324,7 @@ const suspiciousRules = [
|
|
|
320
324
|
"jest/no-commented-out-tests",
|
|
321
325
|
"promise/always-return",
|
|
322
326
|
"promise/no-promise-in-callback",
|
|
327
|
+
"promise/no-multiple-resolved",
|
|
323
328
|
"react/iframe-missing-sandbox",
|
|
324
329
|
"react/jsx-no-comment-textnodes",
|
|
325
330
|
"react/jsx-no-script-url",
|
|
@@ -336,6 +341,7 @@ const suspiciousRules = [
|
|
|
336
341
|
"@typescript-eslint/no-unsafe-enum-comparison",
|
|
337
342
|
"@typescript-eslint/no-unsafe-type-assertion",
|
|
338
343
|
"unicorn/consistent-function-scoping",
|
|
344
|
+
"unicorn/no-array-sort",
|
|
339
345
|
"unicorn/no-array-reverse",
|
|
340
346
|
"unicorn/no-instanceof-builtins",
|
|
341
347
|
"unicorn/no-accessor-recursion",
|
|
@@ -368,7 +374,6 @@ const restrictionRules = [
|
|
|
368
374
|
"no-regex-spaces",
|
|
369
375
|
"no-restricted-globals",
|
|
370
376
|
"no-undefined",
|
|
371
|
-
"no-unused-expressions",
|
|
372
377
|
"no-var",
|
|
373
378
|
"no-void",
|
|
374
379
|
"unicode-bom",
|
|
@@ -417,11 +422,11 @@ const restrictionRules = [
|
|
|
417
422
|
"unicorn/prefer-modern-math-apis",
|
|
418
423
|
"unicorn/prefer-node-protocol",
|
|
419
424
|
"unicorn/prefer-number-properties",
|
|
425
|
+
"vue/max-props",
|
|
420
426
|
"vue/no-multiple-slot-args",
|
|
421
427
|
"@typescript-eslint/class-methods-use-this",
|
|
422
428
|
"@typescript-eslint/no-restricted-imports",
|
|
423
429
|
"@typescript-eslint/no-empty-function",
|
|
424
|
-
"@typescript-eslint/no-unused-expressions",
|
|
425
430
|
"import-x/extensions",
|
|
426
431
|
"import-x/no-amd",
|
|
427
432
|
"import-x/no-commonjs",
|
|
@@ -473,6 +478,7 @@ const correctnessRules = [
|
|
|
473
478
|
"no-unsafe-finally",
|
|
474
479
|
"no-unsafe-negation",
|
|
475
480
|
"no-unsafe-optional-chaining",
|
|
481
|
+
"no-unused-expressions",
|
|
476
482
|
"no-unused-labels",
|
|
477
483
|
"no-unused-private-class-members",
|
|
478
484
|
"no-unused-vars",
|
|
@@ -615,6 +621,7 @@ const correctnessRules = [
|
|
|
615
621
|
"vue/valid-define-props",
|
|
616
622
|
"@typescript-eslint/no-dupe-class-members",
|
|
617
623
|
"@typescript-eslint/no-loss-of-precision",
|
|
624
|
+
"@typescript-eslint/no-unused-expressions",
|
|
618
625
|
"@typescript-eslint/no-unused-vars",
|
|
619
626
|
"import-x/default",
|
|
620
627
|
"import-x/namespace",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxlint/migrate",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"jiti": "^2.4.2",
|
|
68
68
|
"lint-staged": "^16.1.2",
|
|
69
69
|
"next": "^15.5.0",
|
|
70
|
-
"oxlint": "^1.
|
|
70
|
+
"oxlint": "^1.19.0",
|
|
71
71
|
"oxlint-tsgolint": "^0.2.0",
|
|
72
72
|
"prettier": "^3.6.1",
|
|
73
73
|
"typescript": "^5.8.3",
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
"dependencies": {
|
|
83
83
|
"commander": "^14.0.0",
|
|
84
84
|
"globals": "^16.3.0",
|
|
85
|
-
"oxc-parser": "^0.
|
|
85
|
+
"oxc-parser": "^0.93.0",
|
|
86
86
|
"tinyglobby": "^0.2.14"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
89
|
"jiti": "*"
|
|
90
90
|
},
|
|
91
|
-
"packageManager": "pnpm@10.17.
|
|
91
|
+
"packageManager": "pnpm@10.17.1"
|
|
92
92
|
}
|