@oxlint/migrate 1.9.0 → 1.11.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.
@@ -1,4 +1,4 @@
1
- const version = "1.9.0";
1
+ const version = "1.11.0";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -116,6 +116,7 @@ const styleRules = [
116
116
  "no-template-curly-in-string",
117
117
  "no-ternary",
118
118
  "operator-assignment",
119
+ "prefer-destructuring",
119
120
  "prefer-promise-reject-errors",
120
121
  "prefer-exponentiation-operator",
121
122
  "prefer-numeric-literals",
@@ -298,6 +299,8 @@ const suspiciousRules = [
298
299
  "react/no-namespace",
299
300
  "react/react-in-jsx-scope",
300
301
  "react/style-prop-object",
302
+ "@typescript-eslint/no-misused-promises",
303
+ "@typescript-eslint/no-floating-promises",
301
304
  "@typescript-eslint/no-confusing-non-null-assertion",
302
305
  "@typescript-eslint/no-extraneous-class",
303
306
  "@typescript-eslint/no-unnecessary-type-constraint",
@@ -391,6 +394,7 @@ const restrictionRules = [
391
394
  ];
392
395
  const correctnessRules = [
393
396
  "for-direction",
397
+ "no-unassigned-vars",
394
398
  "no-async-promise-executor",
395
399
  "no-caller",
396
400
  "no-class-assign",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxlint/migrate",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
5
5
  "type": "module",
6
6
  "bin": {
@@ -65,7 +65,7 @@
65
65
  "husky": "^9.1.7",
66
66
  "jiti": "^2.4.2",
67
67
  "lint-staged": "^16.1.2",
68
- "oxlint": "^1.9.0",
68
+ "oxlint": "^1.11.0",
69
69
  "prettier": "^3.6.1",
70
70
  "typescript": "^5.8.3",
71
71
  "typescript-eslint": "^8.35.0",
@@ -78,12 +78,12 @@
78
78
  },
79
79
  "dependencies": {
80
80
  "commander": "^14.0.0",
81
- "oxc-parser": "^0.78.0",
81
+ "oxc-parser": "^0.80.0",
82
82
  "tinyglobby": "^0.2.14"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "globals": "^14.0.0 || ^15.0.0 || ^16.0.0",
86
86
  "jiti": "*"
87
87
  },
88
- "packageManager": "pnpm@10.13.1"
88
+ "packageManager": "pnpm@10.14.0"
89
89
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};