eslint-plugin-awscdk 4.2.0 → 4.2.1
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/README.md +9 -7
- package/dist/index.cjs +43 -43
- package/dist/index.d.cts +23 -24
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +23 -24
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +43 -43
- package/dist/index.mjs.map +1 -1
- package/package.json +38 -41
- package/src/configs/classic-config.ts +4 -13
- package/src/configs/flat-config.ts +11 -20
- package/src/core/ast-node/finder/constructor.ts +2 -3
- package/src/core/ast-node/finder/property-name.ts +3 -4
- package/src/core/ast-node/finder/public-property.ts +7 -15
- package/src/core/cdk-construct/type-checker/is-construct-or-stack.ts +2 -6
- package/src/core/cdk-construct/type-checker/is-construct.ts +1 -6
- package/src/core/cdk-construct/type-checker/is-resource-with-readonly-interface.ts +6 -16
- package/src/core/cdk-construct/type-checker/is-resource.ts +1 -1
- package/src/core/cdk-construct/type-finder/index.ts +4 -12
- package/src/core/ts-type/checker/is-extends-target-super-class.ts +1 -1
- package/src/core/ts-type/finder/array-element.ts +0 -1
- package/src/core/ts-type/finder/constructor-property-name.ts +1 -4
- package/src/core/ts-type/finder/generics-type-argument.ts +1 -5
- package/src/index.ts +4 -3
- package/src/rules/construct-constructor-property.ts +10 -30
- package/src/rules/index.ts +1 -2
- package/src/rules/migrate-disable-comments.ts +4 -12
- package/src/rules/no-construct-in-public-property-of-construct.ts +1 -1
- package/src/rules/no-construct-stack-suffix.ts +5 -18
- package/src/rules/no-import-private.ts +2 -5
- package/src/rules/no-mutable-public-property-of-construct.ts +3 -8
- package/src/rules/no-parent-name-construct-id-match.ts +2 -6
- package/src/rules/no-unused-props/index.ts +4 -5
- package/src/rules/no-unused-props/props-usage-analyzer.ts +15 -34
- package/src/rules/no-unused-props/props-usage-tracker.ts +10 -17
- package/src/rules/no-unused-props/visitor/direct-props-usage-visitor.ts +1 -1
- package/src/rules/no-unused-props/visitor/instance-variable-usage-visitor.ts +3 -9
- package/src/rules/no-unused-props/visitor/method-call-collector-visitor.ts +2 -3
- package/src/rules/no-unused-props/visitor/props-alias-visitor.ts +1 -1
- package/src/rules/no-unused-props/visitor/traverse-nodes.ts +1 -4
- package/src/rules/no-variable-construct-id.ts +5 -22
- package/src/rules/pascal-case-construct-id.ts +4 -17
- package/src/rules/prefer-grants-property.ts +4 -14
- package/src/rules/props-name-convention.ts +1 -2
- package/src/rules/require-jsdoc.ts +4 -11
- package/src/rules/require-passing-this.ts +2 -9
- package/src/rules/require-props-default-doc.ts +1 -1
- package/src/shared/converter/to-pascal-case.ts +1 -3
- package/src/shared/create-rule.ts +1 -1
package/README.md
CHANGED
|
@@ -68,16 +68,18 @@ import tseslint from "typescript-eslint";
|
|
|
68
68
|
import cdkPlugin from "eslint-plugin-awscdk";
|
|
69
69
|
|
|
70
70
|
export default defineConfig([
|
|
71
|
-
eslint.configs.recommended,
|
|
72
|
-
...tseslint.configs.recommended,
|
|
73
71
|
{
|
|
74
72
|
files: ["lib/**/*.ts", "bin/*.ts"],
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
extends: [
|
|
74
|
+
eslint.configs.recommended,
|
|
75
|
+
...tseslint.configs.recommended,
|
|
76
|
+
// ✅ Add plugins
|
|
77
|
+
cdkPlugin.configs.recommended, // or cdkPlugin.configs.strict
|
|
78
|
+
],
|
|
77
79
|
rules: {
|
|
78
80
|
// ✅ Add rules (use custom rules)
|
|
79
|
-
"awscdk/require-jsdoc": "warn"
|
|
80
|
-
}
|
|
81
|
+
"awscdk/require-jsdoc": "warn",
|
|
82
|
+
},
|
|
81
83
|
},
|
|
82
84
|
]);
|
|
83
85
|
```
|
|
@@ -104,7 +106,7 @@ module.exports = {
|
|
|
104
106
|
rules: {
|
|
105
107
|
// ✅ Add rules (use custom rules)
|
|
106
108
|
"awscdk/require-jsdoc": "warn",
|
|
107
|
-
}
|
|
109
|
+
},
|
|
108
110
|
};
|
|
109
111
|
```
|
|
110
112
|
|
package/dist/index.cjs
CHANGED
|
@@ -21686,7 +21686,7 @@ var require_dist$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21686
21686
|
}));
|
|
21687
21687
|
|
|
21688
21688
|
//#endregion
|
|
21689
|
-
//#region node_modules/.pnpm/@typescript-eslint+parser@8.54.0_eslint@
|
|
21689
|
+
//#region node_modules/.pnpm/@typescript-eslint+parser@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/parser/dist/parser.js
|
|
21690
21690
|
var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21691
21691
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
21692
21692
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -21783,7 +21783,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21783
21783
|
}));
|
|
21784
21784
|
|
|
21785
21785
|
//#endregion
|
|
21786
|
-
//#region node_modules/.pnpm/@typescript-eslint+parser@8.54.0_eslint@
|
|
21786
|
+
//#region node_modules/.pnpm/@typescript-eslint+parser@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/parser/package.json
|
|
21787
21787
|
var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
21788
21788
|
module.exports = {
|
|
21789
21789
|
"name": "@typescript-eslint/parser",
|
|
@@ -21861,7 +21861,7 @@ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21861
21861
|
}));
|
|
21862
21862
|
|
|
21863
21863
|
//#endregion
|
|
21864
|
-
//#region node_modules/.pnpm/@typescript-eslint+parser@8.54.0_eslint@
|
|
21864
|
+
//#region node_modules/.pnpm/@typescript-eslint+parser@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/parser/dist/index.js
|
|
21865
21865
|
var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
21866
21866
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21867
21867
|
exports.meta = exports.version = exports.withoutProjectParserOptions = exports.createProgram = exports.clearCaches = exports.parseForESLint = exports.parse = void 0;
|
|
@@ -21908,7 +21908,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
21908
21908
|
//#region package.json
|
|
21909
21909
|
var import_dist = /* @__PURE__ */ __toESM(require_dist$1(), 1);
|
|
21910
21910
|
var name = "eslint-plugin-awscdk";
|
|
21911
|
-
var version = "4.2.
|
|
21911
|
+
var version = "4.2.1";
|
|
21912
21912
|
|
|
21913
21913
|
//#endregion
|
|
21914
21914
|
//#region node_modules/.pnpm/eslint-visitor-keys@3.4.3/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs
|
|
@@ -22114,7 +22114,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
22114
22114
|
}));
|
|
22115
22115
|
|
|
22116
22116
|
//#endregion
|
|
22117
|
-
//#region node_modules/.pnpm/@eslint-community+eslint-utils@4.9.1_eslint@
|
|
22117
|
+
//#region node_modules/.pnpm/@eslint-community+eslint-utils@4.9.1_eslint@10.0.0_jiti@2.6.1_/node_modules/@eslint-community/eslint-utils/index.js
|
|
22118
22118
|
var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
22119
22119
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22120
22120
|
var eslintVisitorKeys = require_eslint_visitor_keys();
|
|
@@ -23814,7 +23814,7 @@ var require_eslint_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23814
23814
|
}));
|
|
23815
23815
|
|
|
23816
23816
|
//#endregion
|
|
23817
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
23817
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js
|
|
23818
23818
|
var require_astUtilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
23819
23819
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
23820
23820
|
if (k2 === void 0) k2 = k;
|
|
@@ -23927,7 +23927,7 @@ var require_astUtilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23927
23927
|
}));
|
|
23928
23928
|
|
|
23929
23929
|
//#endregion
|
|
23930
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
23930
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js
|
|
23931
23931
|
var require_PatternMatcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
23932
23932
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
23933
23933
|
if (k2 === void 0) k2 = k;
|
|
@@ -23983,7 +23983,7 @@ var require_PatternMatcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23983
23983
|
}));
|
|
23984
23984
|
|
|
23985
23985
|
//#endregion
|
|
23986
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
23986
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js
|
|
23987
23987
|
var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
23988
23988
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
23989
23989
|
if (k2 === void 0) k2 = k;
|
|
@@ -24054,7 +24054,7 @@ var require_predicates$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24054
24054
|
}));
|
|
24055
24055
|
|
|
24056
24056
|
//#endregion
|
|
24057
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24057
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js
|
|
24058
24058
|
var require_ReferenceTracker = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24059
24059
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24060
24060
|
if (k2 === void 0) k2 = k;
|
|
@@ -24113,7 +24113,7 @@ var require_ReferenceTracker = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24113
24113
|
}));
|
|
24114
24114
|
|
|
24115
24115
|
//#endregion
|
|
24116
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24116
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js
|
|
24117
24117
|
var require_scopeAnalysis = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24118
24118
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24119
24119
|
if (k2 === void 0) k2 = k;
|
|
@@ -24176,7 +24176,7 @@ var require_scopeAnalysis = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24176
24176
|
}));
|
|
24177
24177
|
|
|
24178
24178
|
//#endregion
|
|
24179
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24179
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js
|
|
24180
24180
|
var require_eslint_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24181
24181
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24182
24182
|
if (k2 === void 0) k2 = k;
|
|
@@ -24204,7 +24204,7 @@ var require_eslint_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24204
24204
|
}));
|
|
24205
24205
|
|
|
24206
24206
|
//#endregion
|
|
24207
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24207
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js
|
|
24208
24208
|
var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24209
24209
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24210
24210
|
exports.isNotTokenOfTypeWithConditions = exports.isTokenOfTypeWithConditions = exports.isNodeOfTypeWithConditions = exports.isNodeOfTypes = exports.isNodeOfType = void 0;
|
|
@@ -24227,7 +24227,7 @@ var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24227
24227
|
}));
|
|
24228
24228
|
|
|
24229
24229
|
//#endregion
|
|
24230
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24230
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js
|
|
24231
24231
|
var require_misc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24232
24232
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24233
24233
|
exports.LINEBREAK_MATCHER = void 0;
|
|
@@ -24242,7 +24242,7 @@ var require_misc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24242
24242
|
}));
|
|
24243
24243
|
|
|
24244
24244
|
//#endregion
|
|
24245
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24245
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-estree.js
|
|
24246
24246
|
var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24247
24247
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24248
24248
|
exports.TSESTree = exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;
|
|
@@ -24268,7 +24268,7 @@ var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24268
24268
|
}));
|
|
24269
24269
|
|
|
24270
24270
|
//#endregion
|
|
24271
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24271
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js
|
|
24272
24272
|
var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24273
24273
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24274
24274
|
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;
|
|
@@ -24365,7 +24365,7 @@ var require_predicates = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24365
24365
|
}));
|
|
24366
24366
|
|
|
24367
24367
|
//#endregion
|
|
24368
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24368
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js
|
|
24369
24369
|
var require_ast_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24370
24370
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24371
24371
|
if (k2 === void 0) k2 = k;
|
|
@@ -24392,7 +24392,7 @@ var require_ast_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24392
24392
|
}));
|
|
24393
24393
|
|
|
24394
24394
|
//#endregion
|
|
24395
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24395
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
|
|
24396
24396
|
var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24397
24397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24398
24398
|
exports.isObjectNotArray = isObjectNotArray;
|
|
@@ -24429,7 +24429,7 @@ var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24429
24429
|
}));
|
|
24430
24430
|
|
|
24431
24431
|
//#endregion
|
|
24432
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24432
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
|
|
24433
24433
|
var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24434
24434
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24435
24435
|
exports.applyDefault = applyDefault;
|
|
@@ -24456,7 +24456,7 @@ var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24456
24456
|
}));
|
|
24457
24457
|
|
|
24458
24458
|
//#endregion
|
|
24459
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24459
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
|
|
24460
24460
|
var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24461
24461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24462
24462
|
exports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
|
|
@@ -24466,7 +24466,7 @@ var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
24466
24466
|
}));
|
|
24467
24467
|
|
|
24468
24468
|
//#endregion
|
|
24469
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24469
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
|
|
24470
24470
|
var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24471
24471
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24472
24472
|
exports.getParserServices = getParserServices;
|
|
@@ -24490,13 +24490,13 @@ var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24490
24490
|
}));
|
|
24491
24491
|
|
|
24492
24492
|
//#endregion
|
|
24493
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24493
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
|
|
24494
24494
|
var require_InferTypesFromRule = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24495
24495
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24496
24496
|
}));
|
|
24497
24497
|
|
|
24498
24498
|
//#endregion
|
|
24499
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24499
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
|
|
24500
24500
|
var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24501
24501
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24502
24502
|
exports.NullThrowsReasons = void 0;
|
|
@@ -24519,7 +24519,7 @@ var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24519
24519
|
}));
|
|
24520
24520
|
|
|
24521
24521
|
//#endregion
|
|
24522
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24522
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
|
|
24523
24523
|
var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24524
24524
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24525
24525
|
exports.RuleCreator = RuleCreator;
|
|
@@ -24568,7 +24568,7 @@ var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24568
24568
|
}));
|
|
24569
24569
|
|
|
24570
24570
|
//#endregion
|
|
24571
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24571
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
|
|
24572
24572
|
var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24573
24573
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24574
24574
|
if (k2 === void 0) k2 = k;
|
|
@@ -24597,7 +24597,7 @@ var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24597
24597
|
}));
|
|
24598
24598
|
|
|
24599
24599
|
//#endregion
|
|
24600
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24600
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/json-schema.js
|
|
24601
24601
|
var require_json_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24602
24602
|
/**
|
|
24603
24603
|
* This is a fork of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13f63c2eb8d7479caf01ab8d72f9e3683368a8f5/types/json-schema/index.d.ts
|
|
@@ -24609,19 +24609,19 @@ var require_json_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24609
24609
|
}));
|
|
24610
24610
|
|
|
24611
24611
|
//#endregion
|
|
24612
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24612
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js
|
|
24613
24613
|
var require_AST = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24614
24614
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24615
24615
|
}));
|
|
24616
24616
|
|
|
24617
24617
|
//#endregion
|
|
24618
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24618
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js
|
|
24619
24619
|
var require_Config = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24620
24620
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24621
24621
|
}));
|
|
24622
24622
|
|
|
24623
24623
|
//#endregion
|
|
24624
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24624
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js
|
|
24625
24625
|
var require_FlatESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24626
24626
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
24627
24627
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -24641,7 +24641,7 @@ var require_FlatESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24641
24641
|
}));
|
|
24642
24642
|
|
|
24643
24643
|
//#endregion
|
|
24644
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24644
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js
|
|
24645
24645
|
var require_LegacyESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24646
24646
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
24647
24647
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -24677,7 +24677,7 @@ var require_LegacyESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24677
24677
|
}));
|
|
24678
24678
|
|
|
24679
24679
|
//#endregion
|
|
24680
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24680
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js
|
|
24681
24681
|
var require_ESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24682
24682
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24683
24683
|
exports.LegacyESLint = exports.ESLint = exports.FlatESLint = void 0;
|
|
@@ -24708,7 +24708,7 @@ var require_ESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24708
24708
|
}));
|
|
24709
24709
|
|
|
24710
24710
|
//#endregion
|
|
24711
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24711
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js
|
|
24712
24712
|
var require_Linter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24713
24713
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24714
24714
|
exports.Linter = void 0;
|
|
@@ -24723,31 +24723,31 @@ var require_Linter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24723
24723
|
}));
|
|
24724
24724
|
|
|
24725
24725
|
//#endregion
|
|
24726
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24726
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js
|
|
24727
24727
|
var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24728
24728
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24729
24729
|
}));
|
|
24730
24730
|
|
|
24731
24731
|
//#endregion
|
|
24732
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24732
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js
|
|
24733
24733
|
var require_ParserOptions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24734
24734
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24735
24735
|
}));
|
|
24736
24736
|
|
|
24737
24737
|
//#endregion
|
|
24738
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24738
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js
|
|
24739
24739
|
var require_Processor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24740
24740
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24741
24741
|
}));
|
|
24742
24742
|
|
|
24743
24743
|
//#endregion
|
|
24744
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24744
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js
|
|
24745
24745
|
var require_Rule = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24746
24746
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24747
24747
|
}));
|
|
24748
24748
|
|
|
24749
24749
|
//#endregion
|
|
24750
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24750
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js
|
|
24751
24751
|
var require_RuleTester = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24752
24752
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24753
24753
|
exports.RuleTester = void 0;
|
|
@@ -24760,7 +24760,7 @@ var require_RuleTester = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24760
24760
|
}));
|
|
24761
24761
|
|
|
24762
24762
|
//#endregion
|
|
24763
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24763
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js
|
|
24764
24764
|
var require_Scope = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24765
24765
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24766
24766
|
if (k2 === void 0) k2 = k;
|
|
@@ -24814,7 +24814,7 @@ var require_Scope = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24814
24814
|
}));
|
|
24815
24815
|
|
|
24816
24816
|
//#endregion
|
|
24817
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24817
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js
|
|
24818
24818
|
var require_SourceCode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24819
24819
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24820
24820
|
exports.SourceCode = void 0;
|
|
@@ -24824,7 +24824,7 @@ var require_SourceCode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24824
24824
|
}));
|
|
24825
24825
|
|
|
24826
24826
|
//#endregion
|
|
24827
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24827
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js
|
|
24828
24828
|
var require_ts_eslint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24829
24829
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24830
24830
|
if (k2 === void 0) k2 = k;
|
|
@@ -24858,7 +24858,7 @@ var require_ts_eslint = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24858
24858
|
}));
|
|
24859
24859
|
|
|
24860
24860
|
//#endregion
|
|
24861
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24861
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js
|
|
24862
24862
|
var require_isArray = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24863
24863
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24864
24864
|
exports.isArray = isArray;
|
|
@@ -24868,13 +24868,13 @@ var require_isArray = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24868
24868
|
}));
|
|
24869
24869
|
|
|
24870
24870
|
//#endregion
|
|
24871
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24871
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js
|
|
24872
24872
|
var require_NoInfer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24873
24873
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24874
24874
|
}));
|
|
24875
24875
|
|
|
24876
24876
|
//#endregion
|
|
24877
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24877
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js
|
|
24878
24878
|
var require_ts_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24879
24879
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24880
24880
|
if (k2 === void 0) k2 = k;
|
|
@@ -24899,7 +24899,7 @@ var require_ts_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
24899
24899
|
}));
|
|
24900
24900
|
|
|
24901
24901
|
//#endregion
|
|
24902
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
24902
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/index.js
|
|
24903
24903
|
var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
24904
24904
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24905
24905
|
if (k2 === void 0) k2 = k;
|
package/dist/index.d.cts
CHANGED
|
@@ -2632,7 +2632,7 @@ interface ParserServicesWithoutTypeInformation extends ParserServicesNodeMaps, P
|
|
|
2632
2632
|
}
|
|
2633
2633
|
type ParserServices = ParserServicesWithoutTypeInformation | ParserServicesWithTypeInformation;
|
|
2634
2634
|
//#endregion
|
|
2635
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
2635
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts
|
|
2636
2636
|
declare namespace AST {
|
|
2637
2637
|
type TokenType = AST_TOKEN_TYPES;
|
|
2638
2638
|
type Token = Token;
|
|
@@ -3242,7 +3242,7 @@ declare class BlockScope extends ScopeBase<ScopeType.block, BlockStatement, Scop
|
|
|
3242
3242
|
constructor(scopeManager: ScopeManager, upperScope: BlockScope['upper'], block: BlockScope['block']);
|
|
3243
3243
|
}
|
|
3244
3244
|
//#endregion
|
|
3245
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
3245
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts
|
|
3246
3246
|
declare namespace Scope {
|
|
3247
3247
|
type ScopeManager = ScopeManager;
|
|
3248
3248
|
type Reference = Reference;
|
|
@@ -3285,7 +3285,7 @@ declare namespace Scope {
|
|
|
3285
3285
|
}
|
|
3286
3286
|
}
|
|
3287
3287
|
//#endregion
|
|
3288
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
3288
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.d.ts
|
|
3289
3289
|
declare namespace Parser$1 {
|
|
3290
3290
|
interface ParserMeta {
|
|
3291
3291
|
/**
|
|
@@ -3372,7 +3372,7 @@ declare namespace Parser$1 {
|
|
|
3372
3372
|
}
|
|
3373
3373
|
}
|
|
3374
3374
|
//#endregion
|
|
3375
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
3375
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts
|
|
3376
3376
|
/**
|
|
3377
3377
|
* This is a fork of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13f63c2eb8d7479caf01ab8d72f9e3683368a8f5/types/json-schema/index.d.ts
|
|
3378
3378
|
* We intentionally fork this because:
|
|
@@ -3759,7 +3759,7 @@ interface JSONSchema4AnySchema extends JSONSchema4Base {
|
|
|
3759
3759
|
type: 'any';
|
|
3760
3760
|
}
|
|
3761
3761
|
//#endregion
|
|
3762
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
3762
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts
|
|
3763
3763
|
declare class TokenStore {
|
|
3764
3764
|
/**
|
|
3765
3765
|
* Checks whether any comments exist or not between the given 2 nodes.
|
|
@@ -4110,7 +4110,7 @@ declare namespace SourceCode {
|
|
|
4110
4110
|
declare const SourceCode_base: typeof SourceCodeBase;
|
|
4111
4111
|
declare class SourceCode extends SourceCode_base {}
|
|
4112
4112
|
//#endregion
|
|
4113
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
4113
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts
|
|
4114
4114
|
interface RuleMetaDataDocs {
|
|
4115
4115
|
/**
|
|
4116
4116
|
* Concise description of the rule.
|
|
@@ -4301,7 +4301,7 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
|
|
|
4301
4301
|
/**
|
|
4302
4302
|
* The language options configured for this run
|
|
4303
4303
|
*/
|
|
4304
|
-
languageOptions: FlatConfig.LanguageOptions;
|
|
4304
|
+
languageOptions: FlatConfig$1.LanguageOptions;
|
|
4305
4305
|
/**
|
|
4306
4306
|
* An array of the configured options for this rule.
|
|
4307
4307
|
* This array does not include the rule severity.
|
|
@@ -4616,7 +4616,7 @@ type LooseRuleCreateFunction = (context: any) => Record<string, Function | undef
|
|
|
4616
4616
|
type RuleCreateFunction<MessageIds extends string = never, Options extends readonly unknown[] = unknown[]> = (context: Readonly<RuleContext<MessageIds, Options>>) => RuleListener;
|
|
4617
4617
|
type AnyRuleCreateFunction = RuleCreateFunction<string, readonly unknown[]>;
|
|
4618
4618
|
//#endregion
|
|
4619
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
4619
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts
|
|
4620
4620
|
type MinimalRuleModule<MessageIds extends string = string, Options extends readonly unknown[] = []> = Partial<Omit<RuleModule<MessageIds, Options>, 'create'>> & Pick<RuleModule<MessageIds, Options>, 'create'>;
|
|
4621
4621
|
declare class LinterBase {
|
|
4622
4622
|
/**
|
|
@@ -4705,7 +4705,7 @@ declare namespace Linter {
|
|
|
4705
4705
|
type SeverityString = SharedConfig.SeverityString;
|
|
4706
4706
|
/** @deprecated use {@link Linter.ConfigType} instead */
|
|
4707
4707
|
type Config = ClassicConfig.Config;
|
|
4708
|
-
type ConfigType = ClassicConfig.Config | FlatConfig.Config | FlatConfig.ConfigArray;
|
|
4708
|
+
type ConfigType = ClassicConfig.Config | FlatConfig$1.Config | FlatConfig$1.ConfigArray;
|
|
4709
4709
|
/** @deprecated use {@link ClassicConfig.ConfigOverride} instead */
|
|
4710
4710
|
type ConfigOverride = ClassicConfig.ConfigOverride;
|
|
4711
4711
|
interface VerifyOptions {
|
|
@@ -4866,7 +4866,7 @@ declare const Linter_base: typeof LinterBase;
|
|
|
4866
4866
|
*/
|
|
4867
4867
|
declare class Linter extends Linter_base {}
|
|
4868
4868
|
//#endregion
|
|
4869
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
4869
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts
|
|
4870
4870
|
declare namespace Processor$1 {
|
|
4871
4871
|
interface ProcessorMeta {
|
|
4872
4872
|
/**
|
|
@@ -4928,7 +4928,7 @@ declare namespace Processor$1 {
|
|
|
4928
4928
|
}
|
|
4929
4929
|
}
|
|
4930
4930
|
//#endregion
|
|
4931
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@
|
|
4931
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.54.0_eslint@10.0.0_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts
|
|
4932
4932
|
/** @internal */
|
|
4933
4933
|
declare namespace SharedConfig {
|
|
4934
4934
|
type Severity = 0 | 1 | 2;
|
|
@@ -5044,7 +5044,7 @@ declare namespace ClassicConfig {
|
|
|
5044
5044
|
}
|
|
5045
5045
|
export {};
|
|
5046
5046
|
}
|
|
5047
|
-
declare namespace FlatConfig {
|
|
5047
|
+
declare namespace FlatConfig$1 {
|
|
5048
5048
|
type EcmaVersion = EcmaVersion$1;
|
|
5049
5049
|
type GlobalsConfig = SharedConfig.GlobalsConfig;
|
|
5050
5050
|
type Parser = Parser$1.LooseParserModule;
|
|
@@ -5215,18 +5215,17 @@ declare namespace FlatConfig {
|
|
|
5215
5215
|
type ConfigFile = ConfigArray | ConfigPromise;
|
|
5216
5216
|
}
|
|
5217
5217
|
//#endregion
|
|
5218
|
+
//#region src/configs/flat-config.d.ts
|
|
5219
|
+
type FlatConfig = Record<string, unknown> & {
|
|
5220
|
+
plugins?: Record<string, Record<string, unknown>>;
|
|
5221
|
+
languageOptions?: Record<string, unknown>;
|
|
5222
|
+
rules?: FlatConfig$1.Rules;
|
|
5223
|
+
};
|
|
5224
|
+
//#endregion
|
|
5218
5225
|
//#region src/configs/index.d.ts
|
|
5219
5226
|
declare const configs: {
|
|
5220
|
-
recommended:
|
|
5221
|
-
|
|
5222
|
-
plugins: FlatConfig.Plugins;
|
|
5223
|
-
rules: FlatConfig.Rules;
|
|
5224
|
-
};
|
|
5225
|
-
strict: {
|
|
5226
|
-
languageOptions: FlatConfig.LanguageOptions;
|
|
5227
|
-
plugins: FlatConfig.Plugins;
|
|
5228
|
-
rules: FlatConfig.Rules;
|
|
5229
|
-
};
|
|
5227
|
+
recommended: FlatConfig;
|
|
5228
|
+
strict: FlatConfig;
|
|
5230
5229
|
classicRecommended: {
|
|
5231
5230
|
plugins: ["awscdk"];
|
|
5232
5231
|
rules: ClassicConfig.RulesRecord;
|
|
@@ -5308,8 +5307,8 @@ interface EslintCdkPlugin {
|
|
|
5308
5307
|
plugins: ["awscdk"];
|
|
5309
5308
|
rules: ClassicConfig.RulesRecord;
|
|
5310
5309
|
};
|
|
5311
|
-
recommended: FlatConfig
|
|
5312
|
-
strict: FlatConfig
|
|
5310
|
+
recommended: FlatConfig;
|
|
5311
|
+
strict: FlatConfig;
|
|
5313
5312
|
}>;
|
|
5314
5313
|
}
|
|
5315
5314
|
declare const eslintCdkPlugin: EslintCdkPlugin;
|