@oxlint/migrate 0.16.10 → 0.16.11

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.
@@ -1,4 +1,4 @@
1
- const version = "0.16.10";
1
+ const version = "0.16.11";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -94,6 +94,7 @@ const suspiciousRules = [
94
94
  "no-unexpected-multiline",
95
95
  "no-useless-concat",
96
96
  "no-useless-constructor",
97
+ "import/no-unassigned-import",
97
98
  "import/no-empty-named-blocks",
98
99
  "import/no-absolute-path",
99
100
  "import/no-duplicates",
@@ -116,6 +117,7 @@ const suspiciousRules = [
116
117
  "unicorn/prefer-add-event-listener",
117
118
  "unicorn/require-post-message-target-origin",
118
119
  "@typescript-eslint/no-useless-constructor",
120
+ "import-x/no-unassigned-import",
119
121
  "import-x/no-empty-named-blocks",
120
122
  "import-x/no-absolute-path",
121
123
  "import-x/no-duplicates",
@@ -162,6 +164,7 @@ const styleRules = [
162
164
  "sort-keys",
163
165
  "vars-on-top",
164
166
  "yoda",
167
+ "import/consistent-type-specifier-style",
165
168
  "import/exports-last",
166
169
  "import/first",
167
170
  "import/group-exports",
@@ -225,6 +228,7 @@ const styleRules = [
225
228
  "@typescript-eslint/consistent-generic-constructors",
226
229
  "@typescript-eslint/consistent-indexed-object-style",
227
230
  "@typescript-eslint/consistent-type-definitions",
231
+ "@typescript-eslint/consistent-type-imports",
228
232
  "@typescript-eslint/no-inferrable-types",
229
233
  "@typescript-eslint/no-empty-interface",
230
234
  "@typescript-eslint/prefer-for-of",
@@ -267,6 +271,7 @@ const styleRules = [
267
271
  "@typescript-eslint/init-declarations",
268
272
  "@typescript-eslint/max-params",
269
273
  "@typescript-eslint/no-magic-numbers",
274
+ "import-x/consistent-type-specifier-style",
270
275
  "import-x/exports-last",
271
276
  "import-x/first",
272
277
  "import-x/group-exports",
@@ -333,6 +338,7 @@ const restrictionRules = [
333
338
  "promise/catch-or-return",
334
339
  "promise/spec-only",
335
340
  "react/button-has-type",
341
+ "react/forbid-elements",
336
342
  "react/jsx-filename-extension",
337
343
  "react/no-danger",
338
344
  "react/no-unknown-property",
@@ -556,7 +562,6 @@ const nurseryRules = [
556
562
  "promise/no-return-in-finally",
557
563
  "react-hooks/exhaustive-deps",
558
564
  "react/require-render-return",
559
- "@typescript-eslint/consistent-type-imports",
560
565
  "import-x/export",
561
566
  "import-x/named"
562
567
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxlint/migrate",
3
- "version": "0.16.10",
3
+ "version": "0.16.11",
4
4
  "description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
5
5
  "type": "module",
6
6
  "bin": {
@@ -41,7 +41,7 @@
41
41
  "@eslint/eslintrc": "^3.3.0",
42
42
  "@eslint/js": "^9.20.0",
43
43
  "@logux/eslint-config": "^55.0.0",
44
- "@oxc-node/core": "^0.0.22",
44
+ "@oxc-node/core": "^0.0.27",
45
45
  "@stylistic/eslint-plugin": "^4.0.1",
46
46
  "@stylistic/eslint-plugin-ts": "^4.0.0",
47
47
  "@types/eslint-config-prettier": "^6.11.3",
@@ -60,8 +60,8 @@
60
60
  "eslint-plugin-regexp": "^2.7.0",
61
61
  "eslint-plugin-unicorn": "^59.0.0",
62
62
  "husky": "^9.1.7",
63
- "lint-staged": "^15.4.3",
64
- "oxlint": "^0.16.10",
63
+ "lint-staged": "^16.0.0",
64
+ "oxlint": "^0.16.11",
65
65
  "prettier": "^3.5.1",
66
66
  "typescript": "^5.7.3",
67
67
  "typescript-eslint": "^8.24.0",
@@ -78,5 +78,5 @@
78
78
  "peerDependencies": {
79
79
  "globals": "^14.0.0 || ^15.0.0 || ^16.0.0"
80
80
  },
81
- "packageManager": "pnpm@10.7.1"
81
+ "packageManager": "pnpm@10.10.0"
82
82
  }