@oxlint/migrate 1.30.0 → 1.32.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
|
@@ -20,6 +20,7 @@ const pedanticRules = [
|
|
|
20
20
|
"no-redeclare",
|
|
21
21
|
"no-self-compare",
|
|
22
22
|
"no-throw-literal",
|
|
23
|
+
"no-useless-return",
|
|
23
24
|
"no-warning-comments",
|
|
24
25
|
"radix",
|
|
25
26
|
"require-await",
|
|
@@ -316,6 +317,7 @@ const styleRules = [
|
|
|
316
317
|
"vitest/prefer-lowercase-title",
|
|
317
318
|
"vitest/prefer-mock-promise-shorthand",
|
|
318
319
|
"vitest/prefer-strict-equal",
|
|
320
|
+
"vitest/prefer-to-be",
|
|
319
321
|
"vitest/prefer-to-have-length",
|
|
320
322
|
"vitest/prefer-todo",
|
|
321
323
|
"vitest/require-top-level-describe"
|
|
@@ -427,6 +429,7 @@ const restrictionRules = [
|
|
|
427
429
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing",
|
|
428
430
|
"@typescript-eslint/no-non-null-assertion",
|
|
429
431
|
"@typescript-eslint/no-require-imports",
|
|
432
|
+
"@typescript-eslint/no-restricted-types",
|
|
430
433
|
"@typescript-eslint/no-var-requires",
|
|
431
434
|
"@typescript-eslint/non-nullable-type-assertion-style",
|
|
432
435
|
"@typescript-eslint/prefer-literal-enum-member",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxlint/migrate",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"scripts": {
|
|
18
18
|
"prepare": "husky",
|
|
19
19
|
"generate": "node --import @oxc-node/core/register ./scripts/generate.ts",
|
|
20
|
-
"format": "
|
|
20
|
+
"format": "oxfmt",
|
|
21
21
|
"type-check": "tsc --noEmit",
|
|
22
22
|
"lint": "oxlint --type-aware",
|
|
23
23
|
"test": "vitest",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"jiti": "^2.4.2",
|
|
70
70
|
"lint-staged": "^16.1.2",
|
|
71
71
|
"next": "^16.0.0",
|
|
72
|
-
"
|
|
73
|
-
"oxlint
|
|
74
|
-
"
|
|
72
|
+
"oxfmt": "^0.16.0",
|
|
73
|
+
"oxlint": "^1.32.0",
|
|
74
|
+
"oxlint-tsgolint": "^0.8.3",
|
|
75
75
|
"typescript": "^5.8.3",
|
|
76
76
|
"typescript-eslint": "^8.35.0",
|
|
77
77
|
"vite": "^7.0.0",
|
|
@@ -79,16 +79,16 @@
|
|
|
79
79
|
"vitest": "^4.0.0"
|
|
80
80
|
},
|
|
81
81
|
"lint-staged": {
|
|
82
|
-
"*": "
|
|
82
|
+
"*": "oxfmt --no-error-on-unmatched-pattern"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"commander": "^14.0.0",
|
|
86
86
|
"globals": "^16.3.0",
|
|
87
|
-
"oxc-parser": "^0.
|
|
87
|
+
"oxc-parser": "^0.101.0",
|
|
88
88
|
"tinyglobby": "^0.2.14"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"jiti": "*"
|
|
92
92
|
},
|
|
93
|
-
"packageManager": "pnpm@10.
|
|
93
|
+
"packageManager": "pnpm@10.24.0"
|
|
94
94
|
}
|