@oxlint/migrate 1.83.0 → 1.84.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-
|
|
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-C1T_R1Yi.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.
|
|
33
|
+
var version = "1.84.0";
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/walker/comments/replaceRuleDirectiveComment.ts
|
|
36
36
|
const allRulesSet = new Set(Object.values(rules_exports).flat());
|
package/dist/src/index.d.mts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
/**
|
|
11
11
|
* What to enforce for `/// <reference types="..." />` references.
|
|
12
12
|
*/
|
|
13
|
-
//#region node_modules/.pnpm/oxlint@1.
|
|
13
|
+
//#region node_modules/.pnpm/oxlint@1.84.0_oxlint-tsgolint@0.25.0/node_modules/oxlint/dist/index.d.ts
|
|
14
14
|
//#region src-js/package/config.generated.d.ts
|
|
15
15
|
type AllowWarnDeny = ("allow" | "off" | "warn" | "error" | "deny") | number;
|
|
16
16
|
type GlobalValue = "readonly" | "writable" | "off";
|
package/dist/src/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as main } from "../src-
|
|
1
|
+
import { t as main } from "../src-C1T_R1Yi.mjs";
|
|
2
2
|
export { main as default };
|
|
@@ -1365,6 +1365,16 @@ var unsupportedRules = {
|
|
|
1365
1365
|
"unicorn/no-missing-local-resource": "Not currently possible, as it requires parsing standalone Markdown, HTML, and CSS files and resolving their local resources.",
|
|
1366
1366
|
"unicorn/no-transition-all": "Not currently possible, as full support requires parsing standalone CSS files.",
|
|
1367
1367
|
"unicorn/no-shorthand-property-overrides": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1368
|
+
"unicorn/no-deprecated-css-features": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1369
|
+
"unicorn/no-unscoped-css-nesting-selector": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1370
|
+
"unicorn/no-duplicate-css-selectors": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1371
|
+
"unicorn/no-unknown-pseudo-selectors": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1372
|
+
"unicorn/no-invalid-media-features": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1373
|
+
"unicorn/no-unknown-css-annotations": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1374
|
+
"unicorn/no-nesting-with-mixed-specificity": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1375
|
+
"unicorn/prefer-media-feature-range-syntax": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1376
|
+
"unicorn/no-duplicate-font-family-names": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1377
|
+
"unicorn/no-redundant-nested-style-rules": "Not currently possible, as it requires parsing standalone CSS files.",
|
|
1368
1378
|
"unicorn/require-proxy-trap-boolean-return": "No need to implement, TypeScript type checking enforces boolean return types for the relevant `ProxyHandler` traps.",
|
|
1369
1379
|
"unicorn/consistent-class-member-order": "Use `typescript/member-ordering` instead, which can be configured with the same class member group order and will be supported in Oxlint.",
|
|
1370
1380
|
"unicorn/no-collection-bracket-access": "No need to implement, TypeScript type checking reports invalid bracket access on `Map`, `Set`, `WeakMap`, and `WeakSet` values.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxlint/migrate",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.84.0",
|
|
4
4
|
"description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"lint-staged": "^17.0.0",
|
|
74
74
|
"next": "^16.0.0",
|
|
75
75
|
"oxfmt": "^0.66.0",
|
|
76
|
-
"oxlint": "^1.
|
|
76
|
+
"oxlint": "^1.84.0",
|
|
77
77
|
"oxlint-tsgolint": "^0.25.0",
|
|
78
78
|
"tsdown": "^0.23.0",
|
|
79
79
|
"typescript": "^6.0.0",
|