@oxlint/migrate 1.60.0 → 1.61.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 { a as nurseryRules, i as buildUnsupportedRuleExplanations, n as preFixForJsPlugins, o as rules_exports, r as isOffValue, s as normalizeRuleToCanonical, t as main } from "../src-CZcyZXzR.mjs";
2
+ import { a as nurseryRules, i as buildUnsupportedRuleExplanations, n as preFixForJsPlugins, o as rules_exports, r as isOffValue, s as normalizeRuleToCanonical, t as main } from "../src-C6PykABn.mjs";
3
3
  import { program } from "commander";
4
4
  import { existsSync, readFileSync, renameSync, writeFileSync } from "node:fs";
5
5
  import path from "node:path";
@@ -30,7 +30,7 @@ const loadESLintConfig = async (filePath) => {
30
30
  };
31
31
  //#endregion
32
32
  //#region package.json
33
- var version = "1.60.0";
33
+ var version = "1.61.0";
34
34
  //#endregion
35
35
  //#region src/walker/comments/replaceRuleDirectiveComment.ts
36
36
  const allRulesSet = new Set(Object.values(rules_exports).flat());
@@ -1,4 +1,4 @@
1
- //#region node_modules/.pnpm/oxlint@1.60.0_oxlint-tsgolint@0.19.0/node_modules/oxlint/dist/index.d.ts
1
+ //#region node_modules/.pnpm/oxlint@1.61.0_oxlint-tsgolint@0.19.0/node_modules/oxlint/dist/index.d.ts
2
2
  //#region src-js/package/config.generated.d.ts
3
3
  type AllowWarnDeny = ("allow" | "off" | "warn" | "error" | "deny") | number;
4
4
  type GlobalValue = "readonly" | "writable" | "off";
@@ -1,2 +1,2 @@
1
- import { t as main } from "../src-CZcyZXzR.mjs";
1
+ import { t as main } from "../src-C6PykABn.mjs";
2
2
  export { main as default };
@@ -887,6 +887,7 @@ const restrictionRules = [
887
887
  "react/only-export-components",
888
888
  "react/prefer-function-component",
889
889
  "typescript/explicit-function-return-type",
890
+ "typescript/explicit-member-accessibility",
890
891
  "typescript/explicit-module-boundary-types",
891
892
  "typescript/no-dynamic-delete",
892
893
  "typescript/no-empty-object-type",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxlint/migrate",
3
- "version": "1.60.0",
3
+ "version": "1.61.0",
4
4
  "description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -85,7 +85,7 @@
85
85
  "lint-staged": "^16.1.2",
86
86
  "next": "^16.0.0",
87
87
  "oxfmt": "^0.43.0",
88
- "oxlint": "^1.60.0",
88
+ "oxlint": "^1.61.0",
89
89
  "oxlint-tsgolint": "^0.19.0",
90
90
  "tsdown": "^0.21.0",
91
91
  "typescript": "^6.0.0",