@oxlint/migrate 1.69.0 → 1.70.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/src/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as main } from "../src-
|
|
1
|
+
import { t as main } from "../src-Cuy3Jdkv.mjs";
|
|
2
2
|
export { main as default };
|
|
@@ -519,6 +519,7 @@ const pedanticRules = [
|
|
|
519
519
|
"unicorn/prefer-prototype-methods",
|
|
520
520
|
"unicorn/prefer-query-selector",
|
|
521
521
|
"unicorn/prefer-regexp-test",
|
|
522
|
+
"unicorn/prefer-single-call",
|
|
522
523
|
"unicorn/prefer-string-replace-all",
|
|
523
524
|
"unicorn/prefer-string-slice",
|
|
524
525
|
"unicorn/prefer-top-level-await",
|
|
@@ -716,6 +717,7 @@ const styleRules = [
|
|
|
716
717
|
"unicorn/prefer-classlist-toggle",
|
|
717
718
|
"unicorn/prefer-default-parameters",
|
|
718
719
|
"unicorn/prefer-dom-node-text-content",
|
|
720
|
+
"unicorn/prefer-export-from",
|
|
719
721
|
"unicorn/prefer-global-this",
|
|
720
722
|
"unicorn/prefer-includes",
|
|
721
723
|
"unicorn/prefer-keyboard-event-key",
|
|
@@ -738,6 +740,7 @@ const styleRules = [
|
|
|
738
740
|
"unicorn/switch-case-break-position",
|
|
739
741
|
"unicorn/text-encoding-identifier-case",
|
|
740
742
|
"unicorn/throw-new-error",
|
|
743
|
+
"vitest/consistent-each-for",
|
|
741
744
|
"vitest/consistent-test-filename",
|
|
742
745
|
"vitest/consistent-test-it",
|
|
743
746
|
"vitest/consistent-vitest-vi",
|
|
@@ -795,6 +798,7 @@ const styleRules = [
|
|
|
795
798
|
"vue/define-props-destructuring",
|
|
796
799
|
"vue/next-tick-style",
|
|
797
800
|
"vue/prop-name-casing",
|
|
801
|
+
"vue/require-default-prop",
|
|
798
802
|
"vue/require-direct-export",
|
|
799
803
|
"vue/require-prop-types",
|
|
800
804
|
"vue/require-typed-ref",
|
|
@@ -848,6 +852,7 @@ const suspiciousRules = [
|
|
|
848
852
|
"typescript/no-unsafe-type-assertion",
|
|
849
853
|
"unicorn/consistent-function-scoping",
|
|
850
854
|
"unicorn/no-accessor-recursion",
|
|
855
|
+
"unicorn/no-array-fill-with-reference-type",
|
|
851
856
|
"unicorn/no-array-reverse",
|
|
852
857
|
"unicorn/no-array-sort",
|
|
853
858
|
"unicorn/no-instanceof-builtins",
|
|
@@ -908,6 +913,7 @@ const restrictionRules = [
|
|
|
908
913
|
"react/forbid-dom-props",
|
|
909
914
|
"react/forbid-elements",
|
|
910
915
|
"react/jsx-filename-extension",
|
|
916
|
+
"react/jsx-no-literals",
|
|
911
917
|
"react/no-clone-element",
|
|
912
918
|
"react/no-danger",
|
|
913
919
|
"react/no-multi-comp",
|
|
@@ -1155,7 +1161,6 @@ const correctnessRules = [
|
|
|
1155
1161
|
"unicorn/no-useless-spread",
|
|
1156
1162
|
"unicorn/prefer-set-size",
|
|
1157
1163
|
"unicorn/prefer-string-starts-ends-with",
|
|
1158
|
-
"vitest/consistent-each-for",
|
|
1159
1164
|
"vitest/expect-expect",
|
|
1160
1165
|
"vitest/hoisted-apis-on-top",
|
|
1161
1166
|
"vitest/no-conditional-expect",
|
|
@@ -1182,6 +1187,7 @@ const correctnessRules = [
|
|
|
1182
1187
|
"vue/no-deprecated-model-definition",
|
|
1183
1188
|
"vue/no-deprecated-props-default-this",
|
|
1184
1189
|
"vue/no-deprecated-vue-config-keycodes",
|
|
1190
|
+
"vue/no-dupe-keys",
|
|
1185
1191
|
"vue/no-export-in-script-setup",
|
|
1186
1192
|
"vue/no-expose-after-await",
|
|
1187
1193
|
"vue/no-lifecycle-after-await",
|
|
@@ -1189,6 +1195,7 @@ const correctnessRules = [
|
|
|
1189
1195
|
"vue/no-reserved-keys",
|
|
1190
1196
|
"vue/no-reserved-props",
|
|
1191
1197
|
"vue/no-shared-component-data",
|
|
1198
|
+
"vue/no-side-effects-in-computed-properties",
|
|
1192
1199
|
"vue/no-this-in-before-route-enter",
|
|
1193
1200
|
"vue/no-watch-after-await",
|
|
1194
1201
|
"vue/prefer-import-from-vue",
|
|
@@ -1227,6 +1234,7 @@ const nurseryRules = [
|
|
|
1227
1234
|
"import/export",
|
|
1228
1235
|
"import/named",
|
|
1229
1236
|
"promise/no-return-in-finally",
|
|
1237
|
+
"react/react-compiler",
|
|
1230
1238
|
"react/require-render-return",
|
|
1231
1239
|
"typescript/no-unnecessary-condition",
|
|
1232
1240
|
"typescript/prefer-optional-chain",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxlint/migrate",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.70.0",
|
|
4
4
|
"description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"commander": "^14.0.0",
|
|
42
42
|
"globals": "^17.0.0",
|
|
43
|
-
"oxc-parser": "^0.
|
|
43
|
+
"oxc-parser": "^0.135.0",
|
|
44
44
|
"tinyglobby": "^0.2.14"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"husky": "^9.1.7",
|
|
84
84
|
"lint-staged": "^16.1.2",
|
|
85
85
|
"next": "^16.0.0",
|
|
86
|
-
"oxfmt": "^0.
|
|
87
|
-
"oxlint": "^1.
|
|
86
|
+
"oxfmt": "^0.54.0",
|
|
87
|
+
"oxlint": "^1.70.0",
|
|
88
88
|
"oxlint-tsgolint": "^0.23.0",
|
|
89
89
|
"tsdown": "^0.22.0",
|
|
90
90
|
"typescript": "^6.0.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"lint-staged": {
|
|
95
95
|
"*": "oxfmt --no-error-on-unmatched-pattern"
|
|
96
96
|
},
|
|
97
|
-
"packageManager": "pnpm@11.5.
|
|
97
|
+
"packageManager": "pnpm@11.5.3"
|
|
98
98
|
}
|