eslint-plugin-awscdk 4.3.0 → 4.3.2
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.cjs +3031 -2478
- package/dist/index.d.cts +83 -137
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +83 -137
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3031 -2478
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -23
- package/src/configs/classic-config.ts +6 -6
- package/src/configs/flat-config.ts +2 -2
- package/src/configs/index.ts +6 -1
- package/src/core/cdk-construct/type-checker/is-resource-with-readonly-interface.ts +0 -1
- package/src/rules/index.ts +6 -1
- package/src/rules/no-import-private.ts +1 -2
- package/src/rules/no-unused-props/index.ts +0 -1
- package/src/rules/no-unused-props/props-usage-analyzer.ts +5 -1
- package/src/rules/no-unused-props/visitor/direct-props-usage-visitor.ts +0 -1
- package/src/rules/no-unused-props/visitor/instance-variable-usage-visitor.ts +0 -1
- package/src/rules/no-unused-props/visitor/method-call-collector-visitor.ts +4 -1
- package/src/rules/no-unused-props/visitor/props-alias-visitor.ts +0 -1
- package/src/rules/no-unused-props/visitor/traverse-nodes.ts +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as ts from "typescript";
|
|
2
2
|
import { Program as Program$1, SyntaxKind } from "typescript";
|
|
3
|
-
import
|
|
3
|
+
import { Rule } from "eslint";
|
|
4
4
|
|
|
5
|
-
//#region node_modules/.pnpm/@typescript-eslint+types@8.
|
|
5
|
+
//#region node_modules/.pnpm/@typescript-eslint+types@8.58.0/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts
|
|
6
6
|
declare type Accessibility = 'private' | 'protected' | 'public';
|
|
7
7
|
declare type AccessorProperty = AccessorPropertyComputedName | AccessorPropertyNonComputedName;
|
|
8
8
|
declare interface AccessorPropertyComputedName extends PropertyDefinitionComputedNameBase {
|
|
@@ -1329,7 +1329,7 @@ declare interface TemplateElement extends BaseNode {
|
|
|
1329
1329
|
type: AST_NODE_TYPES.TemplateElement;
|
|
1330
1330
|
tail: boolean;
|
|
1331
1331
|
value: {
|
|
1332
|
-
cooked: string;
|
|
1332
|
+
cooked: string | null;
|
|
1333
1333
|
raw: string;
|
|
1334
1334
|
};
|
|
1335
1335
|
}
|
|
@@ -2141,10 +2141,10 @@ declare interface YieldExpression extends BaseNode {
|
|
|
2141
2141
|
delegate: boolean;
|
|
2142
2142
|
}
|
|
2143
2143
|
//#endregion
|
|
2144
|
-
//#region node_modules/.pnpm/@typescript-eslint+types@8.
|
|
2145
|
-
type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.error' | 'esnext.float16' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.sharedmemory' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable';
|
|
2144
|
+
//#region node_modules/.pnpm/@typescript-eslint+types@8.58.0/node_modules/@typescript-eslint/types/dist/lib.d.ts
|
|
2145
|
+
type Lib = 'decorators' | 'decorators.legacy' | 'dom' | 'dom.asynciterable' | 'dom.iterable' | 'es5' | 'es6' | 'es7' | 'es2015' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol' | 'es2015.symbol.wellknown' | 'es2016' | 'es2016.array.include' | 'es2016.full' | 'es2016.intl' | 'es2017' | 'es2017.arraybuffer' | 'es2017.date' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2018' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2019' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2020' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2021' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2022' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.string' | 'es2023' | 'es2023.array' | 'es2023.collection' | 'es2023.full' | 'es2023.intl' | 'es2024' | 'es2024.arraybuffer' | 'es2024.collection' | 'es2024.full' | 'es2024.object' | 'es2024.promise' | 'es2024.regexp' | 'es2024.sharedmemory' | 'es2024.string' | 'es2025' | 'es2025.collection' | 'es2025.float16' | 'es2025.full' | 'es2025.intl' | 'es2025.iterator' | 'es2025.promise' | 'es2025.regexp' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.collection' | 'esnext.date' | 'esnext.decorators' | 'esnext.disposable' | 'esnext.error' | 'esnext.float16' | 'esnext.full' | 'esnext.intl' | 'esnext.iterator' | 'esnext.object' | 'esnext.promise' | 'esnext.regexp' | 'esnext.sharedmemory' | 'esnext.string' | 'esnext.symbol' | 'esnext.temporal' | 'esnext.typedarrays' | 'esnext.weakref' | 'lib' | 'scripthost' | 'webworker' | 'webworker.asynciterable' | 'webworker.importscripts' | 'webworker.iterable';
|
|
2146
2146
|
//#endregion
|
|
2147
|
-
//#region node_modules/.pnpm/@typescript-eslint+types@8.
|
|
2147
|
+
//#region node_modules/.pnpm/@typescript-eslint+types@8.58.0/node_modules/@typescript-eslint/types/dist/parser-options.d.ts
|
|
2148
2148
|
type DebugLevel = boolean | ('eslint' | 'typescript' | 'typescript-eslint')[];
|
|
2149
2149
|
type CacheDurationSeconds = number | 'Infinity';
|
|
2150
2150
|
type EcmaVersion$1 = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | 2026 | 'latest' | undefined;
|
|
@@ -2212,7 +2212,7 @@ interface ParserOptions$1 {
|
|
|
2212
2212
|
warnOnUnsupportedTypeScriptVersion?: boolean;
|
|
2213
2213
|
}
|
|
2214
2214
|
//#endregion
|
|
2215
|
-
//#region node_modules/.pnpm/@typescript-eslint+types@8.
|
|
2215
|
+
//#region node_modules/.pnpm/@typescript-eslint+types@8.58.0/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts
|
|
2216
2216
|
declare module './generated/ast-spec' {
|
|
2217
2217
|
interface BaseNode {
|
|
2218
2218
|
parent: Node;
|
|
@@ -2400,7 +2400,7 @@ declare module './generated/ast-spec' {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
type NodeWithParent = Exclude<Node, Program$2>;
|
|
2402
2402
|
//#endregion
|
|
2403
|
-
//#region node_modules/.pnpm/@typescript-eslint+typescript-estree@8.
|
|
2403
|
+
//#region node_modules/.pnpm/@typescript-eslint+typescript-estree@8.58.0_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts
|
|
2404
2404
|
declare module 'typescript' {
|
|
2405
2405
|
interface AssertClause extends ts.ImportAttributes {}
|
|
2406
2406
|
interface AssertEntry extends ts.ImportAttribute {}
|
|
@@ -2412,7 +2412,7 @@ declare module 'typescript' {
|
|
|
2412
2412
|
type TSToken = ts.Token<ts.SyntaxKind>;
|
|
2413
2413
|
type TSNode = ts.ArrayBindingPattern | ts.ArrayLiteralExpression | ts.ArrayTypeNode | ts.ArrowFunction | ts.AsExpression | ts.AssertClause | ts.AssertEntry | ts.AwaitExpression | ts.BigIntLiteral | ts.BinaryExpression | ts.BindingElement | ts.Block | ts.BooleanLiteral | ts.BreakStatement | ts.Bundle | ts.CallExpression | ts.CallSignatureDeclaration | ts.CaseBlock | ts.CaseClause | ts.CatchClause | ts.ClassDeclaration | ts.ClassExpression | ts.ClassStaticBlockDeclaration | ts.CommaListExpression | ts.ComputedPropertyName | ts.ConditionalExpression | ts.ConditionalTypeNode | ts.ConstructorDeclaration | ts.ConstructorTypeNode | ts.ConstructSignatureDeclaration | ts.ContinueStatement | ts.DebuggerStatement | ts.Decorator | ts.DefaultClause | ts.DeleteExpression | ts.DoStatement | ts.ElementAccessExpression | ts.EmptyStatement | ts.EnumDeclaration | ts.EnumMember | ts.ExportAssignment | ts.ExportDeclaration | ts.ExportSpecifier | ts.ExpressionStatement | ts.ExpressionWithTypeArguments | ts.ExternalModuleReference | ts.ForInStatement | ts.ForOfStatement | ts.ForStatement | ts.FunctionDeclaration | ts.FunctionExpression | ts.FunctionTypeNode | ts.GetAccessorDeclaration | ts.HeritageClause | ts.Identifier | ts.IfStatement | ts.ImportAttribute | ts.ImportAttributes | ts.ImportClause | ts.ImportDeclaration | ts.ImportEqualsDeclaration | ts.ImportExpression | ts.ImportSpecifier | ts.ImportTypeNode | ts.IndexedAccessTypeNode | ts.IndexSignatureDeclaration | ts.InferTypeNode | ts.InterfaceDeclaration | ts.IntersectionTypeNode | ts.JSDoc | ts.JSDocAllType | ts.JSDocAugmentsTag | ts.JSDocAuthorTag | ts.JSDocCallbackTag | ts.JSDocClassTag | ts.JSDocEnumTag | ts.JSDocFunctionType | ts.JSDocNonNullableType | ts.JSDocNullableType | ts.JSDocOptionalType | ts.JSDocParameterTag | ts.JSDocPropertyTag | ts.JSDocReturnTag | ts.JSDocSignature | ts.JSDocTemplateTag | ts.JSDocThisTag | ts.JSDocTypedefTag | ts.JSDocTypeExpression | ts.JSDocTypeLiteral | ts.JSDocTypeTag | ts.JSDocUnknownTag | ts.JSDocUnknownType | ts.JSDocVariadicType | ts.JsonMinusNumericLiteral | ts.JsxAttribute | ts.JsxClosingElement | ts.JsxClosingFragment | ts.JsxElement | ts.JsxExpression | ts.JsxFragment | ts.JsxNamespacedName | ts.JsxOpeningElement | ts.JsxOpeningFragment | ts.JsxSelfClosingElement | ts.JsxSpreadAttribute | ts.JsxText | ts.KeywordTypeNode | ts.LabeledStatement | ts.LiteralTypeNode | ts.MappedTypeNode | ts.MetaProperty | ts.MethodDeclaration | ts.MethodSignature | ts.MissingDeclaration | ts.Modifier | ts.ModuleBlock | ts.ModuleDeclaration | ts.NamedExports | ts.NamedImports | ts.NamedTupleMember | ts.NamespaceExportDeclaration | ts.NamespaceImport | ts.NewExpression | ts.NonNullExpression | ts.NoSubstitutionTemplateLiteral | ts.NotEmittedStatement | ts.NullLiteral | ts.NumericLiteral | ts.ObjectBindingPattern | ts.ObjectLiteralExpression | ts.OmittedExpression | ts.OptionalTypeNode | ts.ParameterDeclaration | ts.ParenthesizedExpression | ts.ParenthesizedTypeNode | ts.PartiallyEmittedExpression | ts.PostfixUnaryExpression | ts.PrefixUnaryExpression | ts.PrivateIdentifier | ts.PropertyAccessExpression | ts.PropertyAssignment | ts.PropertyDeclaration | ts.PropertySignature | ts.QualifiedName | ts.RegularExpressionLiteral | ts.RestTypeNode | ts.ReturnStatement | ts.SatisfiesExpression | ts.SemicolonClassElement | ts.SetAccessorDeclaration | ts.ShorthandPropertyAssignment | ts.SourceFile | ts.SpreadAssignment | ts.SpreadElement | ts.StringLiteral | ts.SuperExpression | ts.SwitchStatement | ts.SyntheticExpression | ts.TaggedTemplateExpression | ts.TemplateExpression | ts.TemplateHead | ts.TemplateLiteralTypeNode | ts.TemplateMiddle | ts.TemplateSpan | ts.TemplateTail | ts.ThisExpression | ts.ThisTypeNode | ts.ThrowStatement | ts.TryStatement | ts.TupleTypeNode | ts.TypeAliasDeclaration | ts.TypeAssertion | ts.TypeLiteralNode | ts.TypeOfExpression | ts.TypeOperatorNode | ts.TypeParameterDeclaration | ts.TypePredicateNode | ts.TypeQueryNode | ts.TypeReferenceNode | ts.UnionTypeNode | ts.VariableDeclaration | ts.VariableDeclarationList | ts.VariableStatement | ts.VoidExpression | ts.WhileStatement | ts.WithStatement | ts.YieldExpression;
|
|
2414
2414
|
//#endregion
|
|
2415
|
-
//#region node_modules/.pnpm/@typescript-eslint+typescript-estree@8.
|
|
2415
|
+
//#region node_modules/.pnpm/@typescript-eslint+typescript-estree@8.58.0_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts
|
|
2416
2416
|
interface EstreeToTsNodeTypes {
|
|
2417
2417
|
[AST_NODE_TYPES.AccessorProperty]: ts.PropertyDeclaration;
|
|
2418
2418
|
[AST_NODE_TYPES.ArrayExpression]: ts.ArrayLiteralExpression;
|
|
@@ -2589,7 +2589,7 @@ interface EstreeToTsNodeTypes {
|
|
|
2589
2589
|
*/
|
|
2590
2590
|
type TSESTreeToTSNode<T extends Node = Node> = Extract<ts.Token<ts.SyntaxKind.ImportKeyword | ts.SyntaxKind.NewKeyword> | TSNode, EstreeToTsNodeTypes[T['type']]>;
|
|
2591
2591
|
//#endregion
|
|
2592
|
-
//#region node_modules/.pnpm/@typescript-eslint+typescript-estree@8.
|
|
2592
|
+
//#region node_modules/.pnpm/@typescript-eslint+typescript-estree@8.58.0_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts
|
|
2593
2593
|
declare module 'typescript' {
|
|
2594
2594
|
enum JSDocParsingMode {}
|
|
2595
2595
|
}
|
|
@@ -2600,7 +2600,7 @@ declare module 'typescript/lib/tsserverlibrary' {
|
|
|
2600
2600
|
* Internal settings used by the parser to run on a file.
|
|
2601
2601
|
*/
|
|
2602
2602
|
//#endregion
|
|
2603
|
-
//#region node_modules/.pnpm/@typescript-eslint+typescript-estree@8.
|
|
2603
|
+
//#region node_modules/.pnpm/@typescript-eslint+typescript-estree@8.58.0_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts
|
|
2604
2604
|
interface ParserWeakMap<Key, ValueBase> {
|
|
2605
2605
|
get<Value extends ValueBase>(key: Key): Value;
|
|
2606
2606
|
has(key: unknown): boolean;
|
|
@@ -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.
|
|
2635
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_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;
|
|
@@ -2640,7 +2640,7 @@ declare namespace AST {
|
|
|
2640
2640
|
type Range = Range;
|
|
2641
2641
|
}
|
|
2642
2642
|
//#endregion
|
|
2643
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2643
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts
|
|
2644
2644
|
declare enum DefinitionType {
|
|
2645
2645
|
CatchClause = "CatchClause",
|
|
2646
2646
|
ClassName = "ClassName",
|
|
@@ -2655,7 +2655,7 @@ declare enum DefinitionType {
|
|
|
2655
2655
|
Variable = "Variable"
|
|
2656
2656
|
}
|
|
2657
2657
|
//#endregion
|
|
2658
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2658
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts
|
|
2659
2659
|
declare abstract class DefinitionBase<Type extends DefinitionType, Node$1 extends NodeWithParent, Parent extends Node | null, Name extends Node> {
|
|
2660
2660
|
/**
|
|
2661
2661
|
* A unique ID for this instance - primarily used to help debugging and testing
|
|
@@ -2688,35 +2688,35 @@ declare abstract class DefinitionBase<Type extends DefinitionType, Node$1 extend
|
|
|
2688
2688
|
abstract readonly isVariableDefinition: boolean;
|
|
2689
2689
|
}
|
|
2690
2690
|
//#endregion
|
|
2691
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2691
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts
|
|
2692
2692
|
declare class CatchClauseDefinition extends DefinitionBase<DefinitionType.CatchClause, CatchClause, null, Identifier> {
|
|
2693
2693
|
readonly isTypeDefinition = false;
|
|
2694
2694
|
readonly isVariableDefinition = true;
|
|
2695
2695
|
constructor(name: Identifier, node: CatchClauseDefinition['node']);
|
|
2696
2696
|
}
|
|
2697
2697
|
//#endregion
|
|
2698
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2698
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts
|
|
2699
2699
|
declare class ClassNameDefinition extends DefinitionBase<DefinitionType.ClassName, ClassDeclaration | ClassExpression, null, Identifier> {
|
|
2700
2700
|
readonly isTypeDefinition = true;
|
|
2701
2701
|
readonly isVariableDefinition = true;
|
|
2702
2702
|
constructor(name: Identifier, node: ClassNameDefinition['node']);
|
|
2703
2703
|
}
|
|
2704
2704
|
//#endregion
|
|
2705
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2705
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts
|
|
2706
2706
|
declare class FunctionNameDefinition extends DefinitionBase<DefinitionType.FunctionName, FunctionDeclaration | FunctionExpression | TSDeclareFunction | TSEmptyBodyFunctionExpression, null, Identifier> {
|
|
2707
2707
|
readonly isTypeDefinition = false;
|
|
2708
2708
|
readonly isVariableDefinition = true;
|
|
2709
2709
|
constructor(name: Identifier, node: FunctionNameDefinition['node']);
|
|
2710
2710
|
}
|
|
2711
2711
|
//#endregion
|
|
2712
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2712
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts
|
|
2713
2713
|
declare class ImplicitGlobalVariableDefinition extends DefinitionBase<DefinitionType.ImplicitGlobalVariable, NodeWithParent, null, BindingName> {
|
|
2714
2714
|
readonly isTypeDefinition = false;
|
|
2715
2715
|
readonly isVariableDefinition = true;
|
|
2716
2716
|
constructor(name: BindingName, node: ImplicitGlobalVariableDefinition['node']);
|
|
2717
2717
|
}
|
|
2718
2718
|
//#endregion
|
|
2719
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2719
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts
|
|
2720
2720
|
declare class ImportBindingDefinition extends DefinitionBase<DefinitionType.ImportBinding, ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | TSImportEqualsDeclaration, ImportDeclaration | TSImportEqualsDeclaration, Identifier> {
|
|
2721
2721
|
readonly isTypeDefinition = true;
|
|
2722
2722
|
readonly isVariableDefinition = true;
|
|
@@ -2724,7 +2724,7 @@ declare class ImportBindingDefinition extends DefinitionBase<DefinitionType.Impo
|
|
|
2724
2724
|
constructor(name: Identifier, node: Exclude<ImportBindingDefinition['node'], TSImportEqualsDeclaration>, decl: ImportDeclaration);
|
|
2725
2725
|
}
|
|
2726
2726
|
//#endregion
|
|
2727
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2727
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts
|
|
2728
2728
|
declare class ParameterDefinition extends DefinitionBase<DefinitionType.Parameter, ArrowFunctionExpression | FunctionDeclaration | FunctionExpression | TSCallSignatureDeclaration | TSConstructorType | TSConstructSignatureDeclaration | TSDeclareFunction | TSEmptyBodyFunctionExpression | TSFunctionType | TSMethodSignature, null, BindingName> {
|
|
2729
2729
|
/**
|
|
2730
2730
|
* Whether the parameter definition is a part of a rest parameter.
|
|
@@ -2735,45 +2735,45 @@ declare class ParameterDefinition extends DefinitionBase<DefinitionType.Paramete
|
|
|
2735
2735
|
constructor(name: BindingName, node: ParameterDefinition['node'], rest: boolean);
|
|
2736
2736
|
}
|
|
2737
2737
|
//#endregion
|
|
2738
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2738
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts
|
|
2739
2739
|
declare class TSEnumMemberDefinition extends DefinitionBase<DefinitionType.TSEnumMember, TSEnumMember, null, Identifier | StringLiteral> {
|
|
2740
2740
|
readonly isTypeDefinition = true;
|
|
2741
2741
|
readonly isVariableDefinition = true;
|
|
2742
2742
|
constructor(name: Identifier | StringLiteral, node: TSEnumMemberDefinition['node']);
|
|
2743
2743
|
}
|
|
2744
2744
|
//#endregion
|
|
2745
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2745
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts
|
|
2746
2746
|
declare class TSEnumNameDefinition extends DefinitionBase<DefinitionType.TSEnumName, TSEnumDeclaration, null, Identifier> {
|
|
2747
2747
|
readonly isTypeDefinition = true;
|
|
2748
2748
|
readonly isVariableDefinition = true;
|
|
2749
2749
|
constructor(name: Identifier, node: TSEnumNameDefinition['node']);
|
|
2750
2750
|
}
|
|
2751
2751
|
//#endregion
|
|
2752
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2752
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts
|
|
2753
2753
|
declare class TSModuleNameDefinition extends DefinitionBase<DefinitionType.TSModuleName, TSModuleDeclaration, null, Identifier> {
|
|
2754
2754
|
readonly isTypeDefinition = true;
|
|
2755
2755
|
readonly isVariableDefinition = true;
|
|
2756
2756
|
constructor(name: Identifier, node: TSModuleNameDefinition['node']);
|
|
2757
2757
|
}
|
|
2758
2758
|
//#endregion
|
|
2759
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2759
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts
|
|
2760
2760
|
declare class TypeDefinition extends DefinitionBase<DefinitionType.Type, TSInterfaceDeclaration | TSMappedType | TSTypeAliasDeclaration | TSTypeParameter, null, Identifier> {
|
|
2761
2761
|
readonly isTypeDefinition = true;
|
|
2762
2762
|
readonly isVariableDefinition = false;
|
|
2763
2763
|
constructor(name: Identifier, node: TypeDefinition['node']);
|
|
2764
2764
|
}
|
|
2765
2765
|
//#endregion
|
|
2766
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2766
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts
|
|
2767
2767
|
declare class VariableDefinition extends DefinitionBase<DefinitionType.Variable, VariableDeclarator, VariableDeclaration, Identifier> {
|
|
2768
2768
|
readonly isTypeDefinition = false;
|
|
2769
2769
|
readonly isVariableDefinition = true;
|
|
2770
2770
|
constructor(name: Identifier, node: VariableDefinition['node'], decl: VariableDeclaration);
|
|
2771
2771
|
}
|
|
2772
2772
|
//#endregion
|
|
2773
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2773
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts
|
|
2774
2774
|
type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition;
|
|
2775
2775
|
//#endregion
|
|
2776
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2776
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts
|
|
2777
2777
|
declare enum ReferenceFlag {
|
|
2778
2778
|
Read = 1,
|
|
2779
2779
|
Write = 2,
|
|
@@ -2859,7 +2859,7 @@ declare class Reference {
|
|
|
2859
2859
|
isReadWrite(): boolean;
|
|
2860
2860
|
}
|
|
2861
2861
|
//#endregion
|
|
2862
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2862
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts
|
|
2863
2863
|
declare class VariableBase {
|
|
2864
2864
|
/**
|
|
2865
2865
|
* A unique ID for this instance - primarily used to help debugging and testing
|
|
@@ -2899,7 +2899,7 @@ declare class VariableBase {
|
|
|
2899
2899
|
constructor(name: string, scope: Scope$1);
|
|
2900
2900
|
}
|
|
2901
2901
|
//#endregion
|
|
2902
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2902
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts
|
|
2903
2903
|
/**
|
|
2904
2904
|
* ESLint defines global variables using the eslint-scope Variable class
|
|
2905
2905
|
* This is declared here for consumers to use
|
|
@@ -2931,7 +2931,7 @@ declare class ESLintScopeVariable extends VariableBase {
|
|
|
2931
2931
|
eslintExplicitGlobalComments?: Comment[];
|
|
2932
2932
|
}
|
|
2933
2933
|
//#endregion
|
|
2934
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2934
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts
|
|
2935
2935
|
/**
|
|
2936
2936
|
* A Variable represents a locally scoped identifier. These include arguments to functions.
|
|
2937
2937
|
*/
|
|
@@ -2948,7 +2948,7 @@ declare class Variable extends VariableBase {
|
|
|
2948
2948
|
get isValueVariable(): boolean;
|
|
2949
2949
|
}
|
|
2950
2950
|
//#endregion
|
|
2951
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2951
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts
|
|
2952
2952
|
interface ImplicitLibVariableOptions {
|
|
2953
2953
|
readonly eslintImplicitGlobalSetting?: ESLintScopeVariable['eslintImplicitGlobalSetting'];
|
|
2954
2954
|
readonly isTypeVariable?: boolean;
|
|
@@ -2956,10 +2956,10 @@ interface ImplicitLibVariableOptions {
|
|
|
2956
2956
|
readonly writeable?: boolean;
|
|
2957
2957
|
}
|
|
2958
2958
|
//#endregion
|
|
2959
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2959
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts
|
|
2960
2960
|
type ScopeVariable = ESLintScopeVariable | Variable;
|
|
2961
2961
|
//#endregion
|
|
2962
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2962
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts
|
|
2963
2963
|
declare enum ScopeType {
|
|
2964
2964
|
block = "block",
|
|
2965
2965
|
catch = "catch",
|
|
@@ -2981,13 +2981,13 @@ declare enum ScopeType {
|
|
|
2981
2981
|
with = "with"
|
|
2982
2982
|
}
|
|
2983
2983
|
//#endregion
|
|
2984
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2984
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts
|
|
2985
2985
|
declare class FunctionScope extends ScopeBase<ScopeType.function, ArrowFunctionExpression | FunctionDeclaration | FunctionExpression | Program$2 | TSDeclareFunction | TSEmptyBodyFunctionExpression, Scope$1> {
|
|
2986
2986
|
constructor(scopeManager: ScopeManager, upperScope: FunctionScope['upper'], block: FunctionScope['block'], isMethodDefinition: boolean);
|
|
2987
2987
|
protected isValidResolution(ref: Reference, variable: Variable): boolean;
|
|
2988
2988
|
}
|
|
2989
2989
|
//#endregion
|
|
2990
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
2990
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts
|
|
2991
2991
|
declare class GlobalScope extends ScopeBase<ScopeType.global, Program$2,
|
|
2992
2992
|
/**
|
|
2993
2993
|
* The global scope has no parent.
|
|
@@ -3000,17 +3000,17 @@ null> {
|
|
|
3000
3000
|
defineImplicitVariable(name: string, options: ImplicitLibVariableOptions): void;
|
|
3001
3001
|
}
|
|
3002
3002
|
//#endregion
|
|
3003
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3003
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts
|
|
3004
3004
|
declare class ModuleScope extends ScopeBase<ScopeType.module, Program$2, Scope$1> {
|
|
3005
3005
|
constructor(scopeManager: ScopeManager, upperScope: ModuleScope['upper'], block: ModuleScope['block']);
|
|
3006
3006
|
}
|
|
3007
3007
|
//#endregion
|
|
3008
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3008
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts
|
|
3009
3009
|
declare class TSModuleScope extends ScopeBase<ScopeType.tsModule, TSModuleDeclaration, Scope$1> {
|
|
3010
3010
|
constructor(scopeManager: ScopeManager, upperScope: TSModuleScope['upper'], block: TSModuleScope['block']);
|
|
3011
3011
|
}
|
|
3012
3012
|
//#endregion
|
|
3013
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3013
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts
|
|
3014
3014
|
type VariableScope = FunctionScope | GlobalScope | ModuleScope | TSModuleScope;
|
|
3015
3015
|
declare abstract class ScopeBase<Type extends ScopeType, Block extends Node, Upper extends Scope$1 | null> {
|
|
3016
3016
|
#private;
|
|
@@ -3095,77 +3095,77 @@ declare abstract class ScopeBase<Type extends ScopeType, Block extends Node, Upp
|
|
|
3095
3095
|
referenceValue(node: Identifier | JSXIdentifier, assign?: ReferenceFlag, writeExpr?: Expression | null, maybeImplicitGlobal?: ReferenceImplicitGlobal | null, init?: boolean): void;
|
|
3096
3096
|
}
|
|
3097
3097
|
//#endregion
|
|
3098
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3098
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts
|
|
3099
3099
|
declare class CatchScope extends ScopeBase<ScopeType.catch, CatchClause, Scope$1> {
|
|
3100
3100
|
constructor(scopeManager: ScopeManager, upperScope: CatchScope['upper'], block: CatchScope['block']);
|
|
3101
3101
|
}
|
|
3102
3102
|
//#endregion
|
|
3103
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3103
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts
|
|
3104
3104
|
declare class ClassScope extends ScopeBase<ScopeType.class, ClassDeclaration | ClassExpression, Scope$1> {
|
|
3105
3105
|
constructor(scopeManager: ScopeManager, upperScope: ClassScope['upper'], block: ClassScope['block']);
|
|
3106
3106
|
}
|
|
3107
3107
|
//#endregion
|
|
3108
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3108
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts
|
|
3109
3109
|
declare class ClassStaticBlockScope extends ScopeBase<ScopeType.classStaticBlock, StaticBlock, Scope$1> {
|
|
3110
3110
|
constructor(scopeManager: ScopeManager, upperScope: ClassStaticBlockScope['upper'], block: ClassStaticBlockScope['block']);
|
|
3111
3111
|
}
|
|
3112
3112
|
//#endregion
|
|
3113
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3113
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts
|
|
3114
3114
|
declare class ConditionalTypeScope extends ScopeBase<ScopeType.conditionalType, TSConditionalType, Scope$1> {
|
|
3115
3115
|
constructor(scopeManager: ScopeManager, upperScope: ConditionalTypeScope['upper'], block: ConditionalTypeScope['block']);
|
|
3116
3116
|
}
|
|
3117
3117
|
//#endregion
|
|
3118
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3118
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts
|
|
3119
3119
|
declare class ForScope extends ScopeBase<ScopeType.for, ForInStatement | ForOfStatement | ForStatement, Scope$1> {
|
|
3120
3120
|
constructor(scopeManager: ScopeManager, upperScope: ForScope['upper'], block: ForScope['block']);
|
|
3121
3121
|
}
|
|
3122
3122
|
//#endregion
|
|
3123
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3123
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts
|
|
3124
3124
|
declare class FunctionExpressionNameScope extends ScopeBase<ScopeType.functionExpressionName, FunctionExpression, Scope$1> {
|
|
3125
3125
|
readonly functionExpressionScope: true;
|
|
3126
3126
|
constructor(scopeManager: ScopeManager, upperScope: FunctionExpressionNameScope['upper'], block: FunctionExpressionNameScope['block']);
|
|
3127
3127
|
}
|
|
3128
3128
|
//#endregion
|
|
3129
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3129
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts
|
|
3130
3130
|
declare class FunctionTypeScope extends ScopeBase<ScopeType.functionType, TSCallSignatureDeclaration | TSConstructorType | TSConstructSignatureDeclaration | TSFunctionType | TSMethodSignature, Scope$1> {
|
|
3131
3131
|
constructor(scopeManager: ScopeManager, upperScope: FunctionTypeScope['upper'], block: FunctionTypeScope['block']);
|
|
3132
3132
|
}
|
|
3133
3133
|
//#endregion
|
|
3134
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3134
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts
|
|
3135
3135
|
declare class MappedTypeScope extends ScopeBase<ScopeType.mappedType, TSMappedType, Scope$1> {
|
|
3136
3136
|
constructor(scopeManager: ScopeManager, upperScope: MappedTypeScope['upper'], block: MappedTypeScope['block']);
|
|
3137
3137
|
}
|
|
3138
3138
|
//#endregion
|
|
3139
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3139
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts
|
|
3140
3140
|
declare class SwitchScope extends ScopeBase<ScopeType.switch, SwitchStatement, Scope$1> {
|
|
3141
3141
|
constructor(scopeManager: ScopeManager, upperScope: SwitchScope['upper'], block: SwitchScope['block']);
|
|
3142
3142
|
}
|
|
3143
3143
|
//#endregion
|
|
3144
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3144
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts
|
|
3145
3145
|
declare class TSEnumScope extends ScopeBase<ScopeType.tsEnum, TSEnumDeclaration, Scope$1> {
|
|
3146
3146
|
constructor(scopeManager: ScopeManager, upperScope: TSEnumScope['upper'], block: TSEnumScope['block']);
|
|
3147
3147
|
}
|
|
3148
3148
|
//#endregion
|
|
3149
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3149
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts
|
|
3150
3150
|
declare class TypeScope extends ScopeBase<ScopeType.type, TSInterfaceDeclaration | TSTypeAliasDeclaration, Scope$1> {
|
|
3151
3151
|
constructor(scopeManager: ScopeManager, upperScope: TypeScope['upper'], block: TypeScope['block']);
|
|
3152
3152
|
}
|
|
3153
3153
|
//#endregion
|
|
3154
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3154
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts
|
|
3155
3155
|
declare class WithScope extends ScopeBase<ScopeType.with, WithStatement, Scope$1> {
|
|
3156
3156
|
constructor(scopeManager: ScopeManager, upperScope: WithScope['upper'], block: WithScope['block']);
|
|
3157
3157
|
close(scopeManager: ScopeManager): Scope$1 | null;
|
|
3158
3158
|
}
|
|
3159
3159
|
//#endregion
|
|
3160
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3160
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts
|
|
3161
3161
|
type Scope$1 = BlockScope | CatchScope | ClassFieldInitializerScope | ClassScope | ClassStaticBlockScope | ConditionalTypeScope | ForScope | FunctionExpressionNameScope | FunctionScope | FunctionTypeScope | GlobalScope | MappedTypeScope | ModuleScope | SwitchScope | TSEnumScope | TSModuleScope | TypeScope | WithScope;
|
|
3162
3162
|
//#endregion
|
|
3163
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3163
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts
|
|
3164
3164
|
declare class ClassFieldInitializerScope extends ScopeBase<ScopeType.classFieldInitializer, Expression, Scope$1> {
|
|
3165
3165
|
constructor(scopeManager: ScopeManager, upperScope: ClassFieldInitializerScope['upper'], block: ClassFieldInitializerScope['block']);
|
|
3166
3166
|
}
|
|
3167
3167
|
//#endregion
|
|
3168
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3168
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts
|
|
3169
3169
|
interface ScopeManagerOptions {
|
|
3170
3170
|
globalReturn?: boolean;
|
|
3171
3171
|
impliedStrict?: boolean;
|
|
@@ -3237,12 +3237,12 @@ declare class ScopeManager {
|
|
|
3237
3237
|
protected nestScope<T extends Scope$1>(scope: T): T;
|
|
3238
3238
|
}
|
|
3239
3239
|
//#endregion
|
|
3240
|
-
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.
|
|
3240
|
+
//#region node_modules/.pnpm/@typescript-eslint+scope-manager@8.58.0/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts
|
|
3241
3241
|
declare class BlockScope extends ScopeBase<ScopeType.block, BlockStatement, Scope$1> {
|
|
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.
|
|
3245
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_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.
|
|
3288
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_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.
|
|
3375
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_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.
|
|
3762
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_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.
|
|
4113
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_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.
|
|
@@ -4580,7 +4580,7 @@ interface RuleListenerBaseSelectors {
|
|
|
4580
4580
|
type RuleListenerExitSelectors = { [K in keyof RuleListenerBaseSelectors as `${K}:exit`]: RuleListenerBaseSelectors[K] };
|
|
4581
4581
|
type RuleListenerCatchAllBaseCase = Record<string, RuleFunction | undefined>;
|
|
4582
4582
|
type RuleListener = RuleListenerBaseSelectors & RuleListenerCatchAllBaseCase & RuleListenerExitSelectors;
|
|
4583
|
-
interface RuleModule<MessageIds extends string, Options extends readonly unknown[] = [], Docs = unknown, ExtendedRuleListener extends RuleListener = RuleListener> {
|
|
4583
|
+
interface RuleModule$1<MessageIds extends string, Options extends readonly unknown[] = [], Docs = unknown, ExtendedRuleListener extends RuleListener = RuleListener> {
|
|
4584
4584
|
/**
|
|
4585
4585
|
* Function which returns an object with methods that ESLint calls to “visit”
|
|
4586
4586
|
* nodes while traversing the abstract syntax tree.
|
|
@@ -4600,7 +4600,7 @@ interface RuleModule<MessageIds extends string, Options extends readonly unknown
|
|
|
4600
4600
|
*/
|
|
4601
4601
|
name?: string;
|
|
4602
4602
|
}
|
|
4603
|
-
type AnyRuleModule = RuleModule<string, readonly unknown[]>;
|
|
4603
|
+
type AnyRuleModule = RuleModule$1<string, readonly unknown[]>;
|
|
4604
4604
|
/**
|
|
4605
4605
|
* A loose definition of the RuleModule type for use with configs. This type is
|
|
4606
4606
|
* intended to relax validation of types so that we can have basic validation
|
|
@@ -4621,8 +4621,8 @@ type LooseRuleCreateFunction = (context: any) => Record<string, Function | undef
|
|
|
4621
4621
|
type RuleCreateFunction<MessageIds extends string = never, Options extends readonly unknown[] = unknown[]> = (context: Readonly<RuleContext<MessageIds, Options>>) => RuleListener;
|
|
4622
4622
|
type AnyRuleCreateFunction = RuleCreateFunction<string, readonly unknown[]>;
|
|
4623
4623
|
//#endregion
|
|
4624
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.
|
|
4625
|
-
type MinimalRuleModule<MessageIds extends string = string, Options extends readonly unknown[] = []> = Partial<Omit<RuleModule<MessageIds, Options>, 'create'>> & Pick<RuleModule<MessageIds, Options>, 'create'>;
|
|
4624
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts
|
|
4625
|
+
type MinimalRuleModule<MessageIds extends string = string, Options extends readonly unknown[] = []> = Partial<Omit<RuleModule$1<MessageIds, Options>, 'create'>> & Pick<RuleModule$1<MessageIds, Options>, 'create'>;
|
|
4626
4626
|
declare class LinterBase {
|
|
4627
4627
|
/**
|
|
4628
4628
|
* The version from package.json.
|
|
@@ -4871,7 +4871,7 @@ declare const Linter_base: typeof LinterBase;
|
|
|
4871
4871
|
*/
|
|
4872
4872
|
declare class Linter extends Linter_base {}
|
|
4873
4873
|
//#endregion
|
|
4874
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.
|
|
4874
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts
|
|
4875
4875
|
declare namespace Processor$1 {
|
|
4876
4876
|
interface ProcessorMeta {
|
|
4877
4877
|
/**
|
|
@@ -4933,7 +4933,7 @@ declare namespace Processor$1 {
|
|
|
4933
4933
|
}
|
|
4934
4934
|
}
|
|
4935
4935
|
//#endregion
|
|
4936
|
-
//#region node_modules/.pnpm/@typescript-eslint+utils@8.
|
|
4936
|
+
//#region node_modules/.pnpm/@typescript-eslint+utils@8.58.0_eslint@10.0.3_jiti@2.6.1__typescript@5.9.3/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts
|
|
4937
4937
|
/** @internal */
|
|
4938
4938
|
declare namespace SharedConfig {
|
|
4939
4939
|
type Severity = 0 | 1 | 2;
|
|
@@ -5220,88 +5220,34 @@ declare namespace FlatConfig$1 {
|
|
|
5220
5220
|
type ConfigFile = ConfigArray | ConfigPromise;
|
|
5221
5221
|
}
|
|
5222
5222
|
//#endregion
|
|
5223
|
+
//#region src/configs/classic-config.d.ts
|
|
5224
|
+
type ClassicRulesConfig = {
|
|
5225
|
+
plugins: ["awscdk"];
|
|
5226
|
+
rules: ClassicConfig.RulesRecord;
|
|
5227
|
+
};
|
|
5228
|
+
declare const recommended$1: ClassicRulesConfig;
|
|
5229
|
+
declare const strict$1: ClassicRulesConfig;
|
|
5230
|
+
//#endregion
|
|
5223
5231
|
//#region src/configs/flat-config.d.ts
|
|
5224
5232
|
type FlatConfig = Record<string, unknown> & {
|
|
5225
5233
|
plugins?: Record<string, Record<string, unknown>>;
|
|
5226
5234
|
languageOptions?: Record<string, unknown>;
|
|
5227
5235
|
rules?: FlatConfig$1.Rules;
|
|
5228
5236
|
};
|
|
5237
|
+
declare const recommended: FlatConfig;
|
|
5238
|
+
declare const strict: FlatConfig;
|
|
5229
5239
|
//#endregion
|
|
5230
5240
|
//#region src/configs/index.d.ts
|
|
5231
|
-
declare const configs: {
|
|
5232
|
-
recommended:
|
|
5233
|
-
strict:
|
|
5234
|
-
classicRecommended:
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
};
|
|
5238
|
-
classicStrict: {
|
|
5239
|
-
plugins: ["awscdk"];
|
|
5240
|
-
rules: ClassicConfig.RulesRecord;
|
|
5241
|
-
};
|
|
5242
|
-
};
|
|
5241
|
+
declare const configs: Readonly<{
|
|
5242
|
+
recommended: typeof recommended;
|
|
5243
|
+
strict: typeof strict;
|
|
5244
|
+
classicRecommended: typeof recommended$1;
|
|
5245
|
+
classicStrict: typeof strict$1;
|
|
5246
|
+
}>;
|
|
5243
5247
|
//#endregion
|
|
5244
5248
|
//#region src/rules/index.d.ts
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
name: string;
|
|
5248
|
-
};
|
|
5249
|
-
"migrate-disable-comments": RuleModule<"migrateDisableComment", [], unknown, RuleListener> & {
|
|
5250
|
-
name: string;
|
|
5251
|
-
};
|
|
5252
|
-
"no-construct-in-interface": RuleModule<"invalidInterfaceProperty", [], unknown, RuleListener> & {
|
|
5253
|
-
name: string;
|
|
5254
|
-
};
|
|
5255
|
-
"no-construct-in-public-property-of-construct": RuleModule<"invalidPublicPropertyOfConstruct", [], unknown, RuleListener> & {
|
|
5256
|
-
name: string;
|
|
5257
|
-
};
|
|
5258
|
-
"no-construct-stack-suffix": RuleModule<"invalidConstructId", [{
|
|
5259
|
-
disallowedSuffixes?: ("Construct" | "Stack")[];
|
|
5260
|
-
}], unknown, RuleListener> & {
|
|
5261
|
-
name: string;
|
|
5262
|
-
};
|
|
5263
|
-
"no-import-private": eslint.Rule.RuleModule;
|
|
5264
|
-
"no-mutable-property-of-props-interface": RuleModule<"invalidPropertyOfPropsInterface", [], unknown, RuleListener> & {
|
|
5265
|
-
name: string;
|
|
5266
|
-
};
|
|
5267
|
-
"no-mutable-public-property-of-construct": RuleModule<"invalidPublicPropertyOfConstruct", [], unknown, RuleListener> & {
|
|
5268
|
-
name: string;
|
|
5269
|
-
};
|
|
5270
|
-
"no-parent-name-construct-id-match": RuleModule<"invalidConstructId", {
|
|
5271
|
-
disallowContainingParentName?: boolean;
|
|
5272
|
-
}[], unknown, RuleListener> & {
|
|
5273
|
-
name: string;
|
|
5274
|
-
};
|
|
5275
|
-
"no-unused-props": RuleModule<"unusedProp", [], unknown, RuleListener> & {
|
|
5276
|
-
name: string;
|
|
5277
|
-
};
|
|
5278
|
-
"no-variable-construct-id": RuleModule<"invalidConstructId", [], unknown, RuleListener> & {
|
|
5279
|
-
name: string;
|
|
5280
|
-
};
|
|
5281
|
-
"pascal-case-construct-id": RuleModule<"invalidConstructId", [], unknown, RuleListener> & {
|
|
5282
|
-
name: string;
|
|
5283
|
-
};
|
|
5284
|
-
"prefer-grants-property": RuleModule<"useGrantsProperty", [], unknown, RuleListener> & {
|
|
5285
|
-
name: string;
|
|
5286
|
-
};
|
|
5287
|
-
"prevent-construct-id-collision": RuleModule<"preventConstructIdCollision", [], unknown, RuleListener> & {
|
|
5288
|
-
name: string;
|
|
5289
|
-
};
|
|
5290
|
-
"props-name-convention": RuleModule<"invalidPropsName", [], unknown, RuleListener> & {
|
|
5291
|
-
name: string;
|
|
5292
|
-
};
|
|
5293
|
-
"require-jsdoc": RuleModule<"missingJSDoc", [], unknown, RuleListener> & {
|
|
5294
|
-
name: string;
|
|
5295
|
-
};
|
|
5296
|
-
"require-passing-this": RuleModule<"missingPassingThis", {
|
|
5297
|
-
allowNonThisAndDisallowScope?: boolean;
|
|
5298
|
-
}[], unknown, RuleListener> & {
|
|
5299
|
-
name: string;
|
|
5300
|
-
};
|
|
5301
|
-
"require-props-default-doc": RuleModule<"missingDefaultDoc", [], unknown, RuleListener> & {
|
|
5302
|
-
name: string;
|
|
5303
|
-
};
|
|
5304
|
-
};
|
|
5249
|
+
type RuleModule = RuleModule$1<string, readonly unknown[]> | Rule.RuleModule;
|
|
5250
|
+
declare const rules: Record<string, RuleModule>;
|
|
5305
5251
|
//#endregion
|
|
5306
5252
|
//#region src/index.d.ts
|
|
5307
5253
|
interface EslintCdkPlugin {
|