@vinicunca/eslint-config 5.3.0 → 5.4.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.
- package/dist/index.d.mts +511 -330
- package/dist/index.mjs +1 -1
- package/dist/{lib-CfwQEgoO.mjs → lib-KDSgi8J-.mjs} +44 -44
- package/package.json +24 -24
package/dist/index.mjs
CHANGED
|
@@ -2084,7 +2084,7 @@ async function typescript(options = {}) {
|
|
|
2084
2084
|
}] : [],
|
|
2085
2085
|
...erasableOnly ? [{
|
|
2086
2086
|
name: "antfu/typescript/erasable-syntax-only",
|
|
2087
|
-
plugins: { "erasable-syntax-only": await interopDefault(import("./lib-
|
|
2087
|
+
plugins: { "erasable-syntax-only": await interopDefault(import("./lib-KDSgi8J-.mjs")) },
|
|
2088
2088
|
rules: {
|
|
2089
2089
|
"erasable-syntax-only/enums": ERROR,
|
|
2090
2090
|
"erasable-syntax-only/import-aliases": ERROR,
|
|
@@ -205,7 +205,7 @@ var require_eslint_visitor_keys$1 = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
205
205
|
exports.unionWith = unionWith;
|
|
206
206
|
}));
|
|
207
207
|
//#endregion
|
|
208
|
-
//#region node_modules/.pnpm/@eslint-community+eslint-utils@4.9.1_eslint@10.
|
|
208
|
+
//#region node_modules/.pnpm/@eslint-community+eslint-utils@4.9.1_eslint@10.7.0_jiti@2.7.0_/node_modules/@eslint-community/eslint-utils/index.js
|
|
209
209
|
var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
210
210
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
211
211
|
var eslintVisitorKeys = require_eslint_visitor_keys$1();
|
|
@@ -1944,7 +1944,7 @@ var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1944
1944
|
exports.isSemicolonToken = isSemicolonToken;
|
|
1945
1945
|
}));
|
|
1946
1946
|
//#endregion
|
|
1947
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
1947
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js
|
|
1948
1948
|
var require_astUtilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1949
1949
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
1950
1950
|
if (k2 === void 0) k2 = k;
|
|
@@ -2056,7 +2056,7 @@ var require_astUtilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2056
2056
|
exports.isParenthesized = eslintUtils.isParenthesized;
|
|
2057
2057
|
}));
|
|
2058
2058
|
//#endregion
|
|
2059
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2059
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js
|
|
2060
2060
|
var require_PatternMatcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2061
2061
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2062
2062
|
if (k2 === void 0) k2 = k;
|
|
@@ -2110,7 +2110,7 @@ var require_PatternMatcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2110
2110
|
exports.PatternMatcher = __importStar(require_eslint_utils$2()).PatternMatcher;
|
|
2111
2111
|
}));
|
|
2112
2112
|
//#endregion
|
|
2113
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2113
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js
|
|
2114
2114
|
var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2115
2115
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2116
2116
|
if (k2 === void 0) k2 = k;
|
|
@@ -2180,7 +2180,7 @@ var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2180
2180
|
exports.isNotSemicolonToken = eslintUtils.isNotSemicolonToken;
|
|
2181
2181
|
}));
|
|
2182
2182
|
//#endregion
|
|
2183
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2183
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js
|
|
2184
2184
|
var require_ReferenceTracker = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2185
2185
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2186
2186
|
if (k2 === void 0) k2 = k;
|
|
@@ -2238,7 +2238,7 @@ var require_ReferenceTracker = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2238
2238
|
exports.ReferenceTracker = eslintUtils.ReferenceTracker;
|
|
2239
2239
|
}));
|
|
2240
2240
|
//#endregion
|
|
2241
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2241
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js
|
|
2242
2242
|
var require_scopeAnalysis = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2243
2243
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2244
2244
|
if (k2 === void 0) k2 = k;
|
|
@@ -2300,7 +2300,7 @@ var require_scopeAnalysis = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2300
2300
|
exports.getInnermostScope = eslintUtils.getInnermostScope;
|
|
2301
2301
|
}));
|
|
2302
2302
|
//#endregion
|
|
2303
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2303
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js
|
|
2304
2304
|
var require_eslint_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2305
2305
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2306
2306
|
if (k2 === void 0) k2 = k;
|
|
@@ -2327,7 +2327,7 @@ var require_eslint_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2327
2327
|
__exportStar(require_scopeAnalysis(), exports);
|
|
2328
2328
|
}));
|
|
2329
2329
|
//#endregion
|
|
2330
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2330
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js
|
|
2331
2331
|
var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2332
2332
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2333
2333
|
exports.isNotTokenOfTypeWithConditions = exports.isTokenOfTypeWithConditions = exports.isNodeOfTypeWithConditions = exports.isNodeOfTypes = exports.isNodeOfType = void 0;
|
|
@@ -2349,7 +2349,7 @@ var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2349
2349
|
exports.isNotTokenOfTypeWithConditions = isNotTokenOfTypeWithConditions;
|
|
2350
2350
|
}));
|
|
2351
2351
|
//#endregion
|
|
2352
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2352
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js
|
|
2353
2353
|
var require_misc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2354
2354
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2355
2355
|
exports.LINEBREAK_MATCHER = void 0;
|
|
@@ -2663,7 +2663,7 @@ var require_dist$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2663
2663
|
__exportStar(require_ts_estree$1(), exports);
|
|
2664
2664
|
}));
|
|
2665
2665
|
//#endregion
|
|
2666
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2666
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-estree.js
|
|
2667
2667
|
var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2668
2668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2669
2669
|
exports.TSESTree = exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;
|
|
@@ -2688,7 +2688,7 @@ var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2688
2688
|
});
|
|
2689
2689
|
}));
|
|
2690
2690
|
//#endregion
|
|
2691
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2691
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js
|
|
2692
2692
|
var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2693
2693
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2694
2694
|
exports.isLoop = exports.isImportKeyword = exports.isTypeKeyword = exports.isAwaitKeyword = exports.isAwaitExpression = exports.isIdentifier = exports.isConstructor = exports.isClassOrTypeElement = exports.isTSConstructorType = exports.isTSFunctionType = exports.isFunctionOrFunctionType = exports.isFunctionType = exports.isFunction = exports.isVariableDeclarator = exports.isTypeAssertion = exports.isLogicalOrOperator = exports.isOptionalCallExpression = exports.isNotNonNullAssertionPunctuator = exports.isNonNullAssertionPunctuator = exports.isNotOptionalChainPunctuator = exports.isOptionalChainPunctuator = void 0;
|
|
@@ -2784,7 +2784,7 @@ var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2784
2784
|
]);
|
|
2785
2785
|
}));
|
|
2786
2786
|
//#endregion
|
|
2787
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2787
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js
|
|
2788
2788
|
var require_ast_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2789
2789
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2790
2790
|
if (k2 === void 0) k2 = k;
|
|
@@ -2810,7 +2810,7 @@ var require_ast_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2810
2810
|
__exportStar(require_predicates(), exports);
|
|
2811
2811
|
}));
|
|
2812
2812
|
//#endregion
|
|
2813
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2813
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
|
|
2814
2814
|
var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2815
2815
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2816
2816
|
exports.isObjectNotArray = isObjectNotArray;
|
|
@@ -2846,7 +2846,7 @@ var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2846
2846
|
}
|
|
2847
2847
|
}));
|
|
2848
2848
|
//#endregion
|
|
2849
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2849
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
|
|
2850
2850
|
var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2851
2851
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2852
2852
|
exports.applyDefault = applyDefault;
|
|
@@ -2872,7 +2872,7 @@ var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2872
2872
|
}
|
|
2873
2873
|
}));
|
|
2874
2874
|
//#endregion
|
|
2875
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2875
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
|
|
2876
2876
|
var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2877
2877
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2878
2878
|
exports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
|
|
@@ -2881,7 +2881,7 @@ var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
2881
2881
|
}
|
|
2882
2882
|
}));
|
|
2883
2883
|
//#endregion
|
|
2884
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2884
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
|
|
2885
2885
|
var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2886
2886
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2887
2887
|
exports.getParserServices = getParserServices;
|
|
@@ -2904,12 +2904,12 @@ var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2904
2904
|
}
|
|
2905
2905
|
}));
|
|
2906
2906
|
//#endregion
|
|
2907
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2907
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
|
|
2908
2908
|
var require_InferTypesFromRule = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2909
2909
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2910
2910
|
}));
|
|
2911
2911
|
//#endregion
|
|
2912
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2912
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
|
|
2913
2913
|
var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2914
2914
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2915
2915
|
exports.NullThrowsReasons = void 0;
|
|
@@ -2931,7 +2931,7 @@ var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2931
2931
|
}
|
|
2932
2932
|
}));
|
|
2933
2933
|
//#endregion
|
|
2934
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2934
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
|
|
2935
2935
|
var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2936
2936
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2937
2937
|
exports.RuleCreator = RuleCreator;
|
|
@@ -2979,7 +2979,7 @@ var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2979
2979
|
};
|
|
2980
2980
|
}));
|
|
2981
2981
|
//#endregion
|
|
2982
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
2982
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
|
|
2983
2983
|
var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2984
2984
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2985
2985
|
if (k2 === void 0) k2 = k;
|
|
@@ -3007,7 +3007,7 @@ var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3007
3007
|
__exportStar(require_RuleCreator(), exports);
|
|
3008
3008
|
}));
|
|
3009
3009
|
//#endregion
|
|
3010
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3010
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/json-schema.js
|
|
3011
3011
|
var require_json_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3012
3012
|
/**
|
|
3013
3013
|
* This is a fork of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13f63c2eb8d7479caf01ab8d72f9e3683368a8f5/types/json-schema/index.d.ts
|
|
@@ -3018,17 +3018,17 @@ var require_json_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3018
3018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3019
3019
|
}));
|
|
3020
3020
|
//#endregion
|
|
3021
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3021
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js
|
|
3022
3022
|
var require_AST = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3023
3023
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3024
3024
|
}));
|
|
3025
3025
|
//#endregion
|
|
3026
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3026
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js
|
|
3027
3027
|
var require_Config = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3028
3028
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3029
3029
|
}));
|
|
3030
3030
|
//#endregion
|
|
3031
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3031
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js
|
|
3032
3032
|
var require_FlatESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3033
3033
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
3034
3034
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -3047,7 +3047,7 @@ var require_FlatESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3047
3047
|
exports.FlatESLint = FlatESLint;
|
|
3048
3048
|
}));
|
|
3049
3049
|
//#endregion
|
|
3050
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3050
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js
|
|
3051
3051
|
var require_LegacyESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3052
3052
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
3053
3053
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -3082,7 +3082,7 @@ var require_LegacyESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3082
3082
|
exports.LegacyESLint = LegacyESLint;
|
|
3083
3083
|
}));
|
|
3084
3084
|
//#endregion
|
|
3085
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3085
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js
|
|
3086
3086
|
var require_ESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3087
3087
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3088
3088
|
exports.LegacyESLint = exports.ESLint = exports.FlatESLint = void 0;
|
|
@@ -3112,7 +3112,7 @@ var require_ESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3112
3112
|
});
|
|
3113
3113
|
}));
|
|
3114
3114
|
//#endregion
|
|
3115
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3115
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js
|
|
3116
3116
|
var require_Linter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3117
3117
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3118
3118
|
exports.Linter = void 0;
|
|
@@ -3126,27 +3126,27 @@ var require_Linter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3126
3126
|
exports.Linter = Linter;
|
|
3127
3127
|
}));
|
|
3128
3128
|
//#endregion
|
|
3129
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3129
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js
|
|
3130
3130
|
var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3131
3131
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3132
3132
|
}));
|
|
3133
3133
|
//#endregion
|
|
3134
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3134
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js
|
|
3135
3135
|
var require_ParserOptions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3136
3136
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3137
3137
|
}));
|
|
3138
3138
|
//#endregion
|
|
3139
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3139
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js
|
|
3140
3140
|
var require_Processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3141
3141
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3142
3142
|
}));
|
|
3143
3143
|
//#endregion
|
|
3144
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3144
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js
|
|
3145
3145
|
var require_Rule = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3146
3146
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3147
3147
|
}));
|
|
3148
3148
|
//#endregion
|
|
3149
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
3149
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js
|
|
3150
3150
|
var require_RuleTester = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3151
3151
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3152
3152
|
exports.RuleTester = void 0;
|
|
@@ -11048,7 +11048,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11048
11048
|
__exportStar(require_variable(), exports);
|
|
11049
11049
|
}));
|
|
11050
11050
|
//#endregion
|
|
11051
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
11051
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js
|
|
11052
11052
|
var require_Scope = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11053
11053
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
11054
11054
|
if (k2 === void 0) k2 = k;
|
|
@@ -11101,7 +11101,7 @@ var require_Scope = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11101
11101
|
})(Scope || (exports.Scope = Scope = {}));
|
|
11102
11102
|
}));
|
|
11103
11103
|
//#endregion
|
|
11104
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
11104
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js
|
|
11105
11105
|
var require_SourceCode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11106
11106
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11107
11107
|
exports.SourceCode = void 0;
|
|
@@ -11110,7 +11110,7 @@ var require_SourceCode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11110
11110
|
exports.SourceCode = SourceCode;
|
|
11111
11111
|
}));
|
|
11112
11112
|
//#endregion
|
|
11113
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
11113
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js
|
|
11114
11114
|
var require_ts_eslint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11115
11115
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
11116
11116
|
if (k2 === void 0) k2 = k;
|
|
@@ -11143,7 +11143,7 @@ var require_ts_eslint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11143
11143
|
__exportStar(require_SourceCode(), exports);
|
|
11144
11144
|
}));
|
|
11145
11145
|
//#endregion
|
|
11146
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
11146
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js
|
|
11147
11147
|
var require_isArray = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11148
11148
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11149
11149
|
exports.isArray = isArray;
|
|
@@ -11152,12 +11152,12 @@ var require_isArray = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11152
11152
|
}
|
|
11153
11153
|
}));
|
|
11154
11154
|
//#endregion
|
|
11155
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
11155
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js
|
|
11156
11156
|
var require_NoInfer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11157
11157
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11158
11158
|
}));
|
|
11159
11159
|
//#endregion
|
|
11160
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.
|
|
11160
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.60.0_eslint@10.7.0_jiti@2.7.0__typescript@6.0.3/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js
|
|
11161
11161
|
var require_ts_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11162
11162
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
11163
11163
|
if (k2 === void 0) k2 = k;
|
|
@@ -11181,7 +11181,7 @@ var require_ts_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11181
11181
|
__exportStar(require_NoInfer(), exports);
|
|
11182
11182
|
}));
|
|
11183
11183
|
//#endregion
|
|
11184
|
-
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.
|
|
11184
|
+
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.63.0_eslint@10.7.0_a5c581cbb8efcef63693c7bd23bdea11/node_modules/eslint-plugin-erasable-syntax-only/lib/utils.js
|
|
11185
11185
|
var import_dist = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11186
11186
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
11187
11187
|
if (k2 === void 0) k2 = k;
|
|
@@ -11238,7 +11238,7 @@ var import_dist = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11238
11238
|
})))();
|
|
11239
11239
|
const createRule = import_dist.ESLintUtils.RuleCreator((name) => `https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/${name}.md`);
|
|
11240
11240
|
//#endregion
|
|
11241
|
-
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.
|
|
11241
|
+
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.63.0_eslint@10.7.0_a5c581cbb8efcef63693c7bd23bdea11/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/enums.js
|
|
11242
11242
|
const rule$3 = createRule({
|
|
11243
11243
|
create(context) {
|
|
11244
11244
|
return { TSEnumDeclaration(node) {
|
|
@@ -11296,7 +11296,7 @@ const rule$3 = createRule({
|
|
|
11296
11296
|
name: "enums"
|
|
11297
11297
|
});
|
|
11298
11298
|
//#endregion
|
|
11299
|
-
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.
|
|
11299
|
+
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.63.0_eslint@10.7.0_a5c581cbb8efcef63693c7bd23bdea11/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/import-aliases.js
|
|
11300
11300
|
const rule$2 = createRule({
|
|
11301
11301
|
create(context) {
|
|
11302
11302
|
return { TSImportEqualsDeclaration(node) {
|
|
@@ -11358,7 +11358,7 @@ var CachedFactory = class {
|
|
|
11358
11358
|
}
|
|
11359
11359
|
};
|
|
11360
11360
|
//#endregion
|
|
11361
|
-
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.
|
|
11361
|
+
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.63.0_eslint@10.7.0_a5c581cbb8efcef63693c7bd23bdea11/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/namespaces.js
|
|
11362
11362
|
function skipExportParent(node) {
|
|
11363
11363
|
return node.parent.type == import_dist.AST_NODE_TYPES.ExportNamedDeclaration ? node.parent : node;
|
|
11364
11364
|
}
|
|
@@ -11366,7 +11366,7 @@ function skipModuleParent(node) {
|
|
|
11366
11366
|
return node.parent.type === import_dist.AST_NODE_TYPES.TSModuleDeclaration ? node.parent : node;
|
|
11367
11367
|
}
|
|
11368
11368
|
//#endregion
|
|
11369
|
-
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.
|
|
11369
|
+
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.63.0_eslint@10.7.0_a5c581cbb8efcef63693c7bd23bdea11/node_modules/eslint-plugin-erasable-syntax-only/lib/rules/index.js
|
|
11370
11370
|
const rules = {
|
|
11371
11371
|
enums: rule$3,
|
|
11372
11372
|
"import-aliases": rule$2,
|
|
@@ -11418,7 +11418,7 @@ const rules = {
|
|
|
11418
11418
|
})
|
|
11419
11419
|
};
|
|
11420
11420
|
//#endregion
|
|
11421
|
-
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.
|
|
11421
|
+
//#region node_modules/.pnpm/eslint-plugin-erasable-syntax-only@0.4.2_@typescript-eslint+parser@8.63.0_eslint@10.7.0_a5c581cbb8efcef63693c7bd23bdea11/node_modules/eslint-plugin-erasable-syntax-only/lib/index.js
|
|
11422
11422
|
const { name, version } = Module.createRequire(import.meta.url)("../package.json");
|
|
11423
11423
|
const plugin = {
|
|
11424
11424
|
configs: { get recommended() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.4.0",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -107,15 +107,15 @@
|
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
109
|
"@antfu/install-pkg": "^1.1.0",
|
|
110
|
-
"@clack/prompts": "^1.
|
|
110
|
+
"@clack/prompts": "^1.7.0",
|
|
111
111
|
"@e18e/eslint-plugin": "^0.5.1",
|
|
112
112
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
113
|
-
"@eslint/markdown": "^8.0.
|
|
113
|
+
"@eslint/markdown": "^8.0.3",
|
|
114
114
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
116
|
-
"@typescript-eslint/parser": "^8.
|
|
117
|
-
"@unocss/eslint-plugin": "^66.7.
|
|
118
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "^8.63.0",
|
|
116
|
+
"@typescript-eslint/parser": "^8.63.0",
|
|
117
|
+
"@unocss/eslint-plugin": "^66.7.5",
|
|
118
|
+
"@vitest/eslint-plugin": "^1.6.23",
|
|
119
119
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
120
120
|
"eslint-flat-config-utils": "^3.2.0",
|
|
121
121
|
"eslint-merge-processors": "^2.0.0",
|
|
@@ -123,45 +123,45 @@
|
|
|
123
123
|
"eslint-plugin-command": "^3.5.2",
|
|
124
124
|
"eslint-plugin-format": "^2.0.1",
|
|
125
125
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
126
|
-
"eslint-plugin-jsdoc": "^63.0.
|
|
127
|
-
"eslint-plugin-jsonc": "^3.
|
|
128
|
-
"eslint-plugin-n": "^18.
|
|
126
|
+
"eslint-plugin-jsdoc": "^63.0.13",
|
|
127
|
+
"eslint-plugin-jsonc": "^3.3.0",
|
|
128
|
+
"eslint-plugin-n": "^18.2.2",
|
|
129
129
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
130
|
-
"eslint-plugin-perfectionist": "^5.
|
|
130
|
+
"eslint-plugin-perfectionist": "^5.10.0",
|
|
131
131
|
"eslint-plugin-pnpm": "^1.6.1",
|
|
132
|
-
"eslint-plugin-regexp": "^3.1.
|
|
132
|
+
"eslint-plugin-regexp": "^3.1.1",
|
|
133
133
|
"eslint-plugin-sonarjs": "^4.1.0",
|
|
134
134
|
"eslint-plugin-toml": "^1.4.0",
|
|
135
|
-
"eslint-plugin-unicorn": "^
|
|
135
|
+
"eslint-plugin-unicorn": "^71.1.0",
|
|
136
136
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
137
137
|
"eslint-plugin-vue": "^10.9.2",
|
|
138
|
-
"eslint-plugin-yml": "^3.
|
|
138
|
+
"eslint-plugin-yml": "^3.6.0",
|
|
139
139
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
140
140
|
"globals": "^17.7.0",
|
|
141
141
|
"local-pkg": "^1.2.1",
|
|
142
142
|
"toml-eslint-parser": "^1.0.3",
|
|
143
143
|
"vue-eslint-parser": "^10.4.1",
|
|
144
|
-
"yaml-eslint-parser": "^2.
|
|
144
|
+
"yaml-eslint-parser": "^2.1.0"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
|
-
"@antfu/ni": "^30.
|
|
148
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
147
|
+
"@antfu/ni": "^30.2.0",
|
|
148
|
+
"@eslint-react/eslint-plugin": "^5.14.6",
|
|
149
149
|
"@eslint/config-inspector": "^3.0.4",
|
|
150
|
-
"@next/eslint-plugin-next": "^16.2.
|
|
150
|
+
"@next/eslint-plugin-next": "^16.2.10",
|
|
151
151
|
"@prettier/plugin-xml": "^3.4.2",
|
|
152
152
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
153
153
|
"@types/node": "^26.0.1",
|
|
154
154
|
"@vinicunca/perkakas": "^1.16.0",
|
|
155
|
-
"astro-eslint-parser": "^
|
|
155
|
+
"astro-eslint-parser": "^3.0.0",
|
|
156
156
|
"baseline-browser-mapping": "^2.10.38",
|
|
157
157
|
"bumpp": "^11.1.0",
|
|
158
|
-
"eslint": "^10.
|
|
159
|
-
"eslint-plugin-astro": "^
|
|
158
|
+
"eslint": "^10.7.0",
|
|
159
|
+
"eslint-plugin-astro": "^3.0.0",
|
|
160
160
|
"eslint-plugin-erasable-syntax-only": "^0.4.2",
|
|
161
161
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
162
162
|
"eslint-plugin-react-refresh": "^0.5.3",
|
|
163
163
|
"eslint-plugin-solid": "^0.14.5",
|
|
164
|
-
"eslint-plugin-svelte": "^3.
|
|
164
|
+
"eslint-plugin-svelte": "^3.20.0",
|
|
165
165
|
"eslint-plugin-vuejs-accessibility": "^2.5.0",
|
|
166
166
|
"eslint-typegen": "^2.3.1",
|
|
167
167
|
"execa": "^9.6.1",
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
"tsnapi": "^0.3.3",
|
|
182
182
|
"tsx": "^4.22.4",
|
|
183
183
|
"typescript": "^6.0.3",
|
|
184
|
-
"vitest": "^4.1.
|
|
185
|
-
"vue": "^3.5.
|
|
184
|
+
"vitest": "^4.1.10",
|
|
185
|
+
"vue": "^3.5.39"
|
|
186
186
|
},
|
|
187
187
|
"resolutions": {
|
|
188
188
|
"@eslint-community/eslint-utils": "catalog:peer",
|