@oxlint/migrate 1.39.0 → 1.40.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,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as rules_exports, n as preFixForJsPlugins, r as nurseryRules, t as src_default } from "../src-Ckg1XOR4.mjs";
2
+ import { i as rules_exports, n as preFixForJsPlugins, r as nurseryRules, t as src_default } from "../src-pmJg5CKN.mjs";
3
3
  import { program } from "commander";
4
4
  import { existsSync, readFileSync, renameSync, writeFileSync } from "node:fs";
5
5
  import path from "node:path";
@@ -40,7 +40,7 @@ const loadESLintConfig = async (filePath) => {
40
40
 
41
41
  //#endregion
42
42
  //#region package.json
43
- var version = "1.39.0";
43
+ var version = "1.40.0";
44
44
 
45
45
  //#endregion
46
46
  //#region src/walker/comments/replaceRuleDirectiveComment.ts
@@ -1,3 +1,3 @@
1
- import { t as src_default } from "../src-Ckg1XOR4.mjs";
1
+ import { t as src_default } from "../src-pmJg5CKN.mjs";
2
2
 
3
3
  export { src_default as default };
@@ -42,6 +42,7 @@ const OTHER_SUPPORTED_ENVS = [
42
42
  "applescript",
43
43
  "astro",
44
44
  "atomtest",
45
+ "audioworklet",
45
46
  "commonjs",
46
47
  "embertest",
47
48
  "greasemonkey",
@@ -428,7 +429,6 @@ const styleRules = [
428
429
  "@typescript-eslint/prefer-for-of",
429
430
  "@typescript-eslint/prefer-function-type",
430
431
  "@typescript-eslint/prefer-namespace-keyword",
431
- "@typescript-eslint/prefer-optional-chain",
432
432
  "@typescript-eslint/prefer-reduce-type-parameter",
433
433
  "@typescript-eslint/prefer-return-this-type",
434
434
  "unicorn/catch-error-name",
@@ -897,6 +897,7 @@ const nurseryRules = [
897
897
  "jsx-a11y/no-static-element-interactions",
898
898
  "promise/no-return-in-finally",
899
899
  "react/require-render-return",
900
+ "@typescript-eslint/prefer-optional-chain",
900
901
  "import-x/export",
901
902
  "import-x/named"
902
903
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxlint/migrate",
3
- "version": "1.39.0",
3
+ "version": "1.40.0",
4
4
  "description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "commander": "^14.0.0",
40
- "globals": "^16.3.0",
41
- "oxc-parser": "^0.107.0",
40
+ "globals": "^17.0.0",
41
+ "oxc-parser": "^0.108.0",
42
42
  "tinyglobby": "^0.2.14"
43
43
  },
44
44
  "devDependencies": {
@@ -59,7 +59,7 @@
59
59
  "eslint-plugin-header": "^3.1.1",
60
60
  "eslint-plugin-import": "^2.32.0",
61
61
  "eslint-plugin-import-x": "^4.16.0",
62
- "eslint-plugin-jsdoc": "^61.0.0",
62
+ "eslint-plugin-jsdoc": "^62.0.0",
63
63
  "eslint-plugin-local": "^6.0.0",
64
64
  "eslint-plugin-mocha": "^11.2.0",
65
65
  "eslint-plugin-oxlint": "^1.3.0",
@@ -74,8 +74,8 @@
74
74
  "jiti": "^2.4.2",
75
75
  "lint-staged": "^16.1.2",
76
76
  "next": "^16.0.0",
77
- "oxfmt": "^0.23.0",
78
- "oxlint": "^1.39.0",
77
+ "oxfmt": "^0.24.0",
78
+ "oxlint": "^1.40.0",
79
79
  "oxlint-tsgolint": "^0.8.3",
80
80
  "tsdown": "^0.19.0",
81
81
  "typescript-eslint": "^8.35.0",
@@ -87,5 +87,5 @@
87
87
  "lint-staged": {
88
88
  "*": "oxfmt --no-error-on-unmatched-pattern"
89
89
  },
90
- "packageManager": "pnpm@10.27.0"
90
+ "packageManager": "pnpm@10.28.0"
91
91
  }