@biscuittin/eslint-config 0.4.14 → 0.4.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +692 -1355
- package/dist/index.mjs +44 -44
- package/package.json +11 -10
- package/typegen.d.ts +18 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import globals from "globals";
|
|
2
2
|
import { FlatConfigComposer } from "eslint-flat-config-utils";
|
|
3
3
|
import { Linter } from "eslint";
|
|
4
|
+
import { RulesConfig } from "@eslint/core";
|
|
4
5
|
import { PackageJson } from "@package-json/types";
|
|
5
6
|
|
|
6
7
|
//#region typegen.d.ts
|
|
@@ -6264,50 +6265,39 @@ interface RuleOptions {
|
|
|
6264
6265
|
// ----- @eslint-community/eslint-comments/disable-enable-pair -----
|
|
6265
6266
|
type EslintCommunityEslintCommentsDisableEnablePair = [] | [{
|
|
6266
6267
|
allowWholeFile?: boolean;
|
|
6267
|
-
}];
|
|
6268
|
-
// ----- @eslint-community/eslint-comments/no-
|
|
6269
|
-
type EslintCommunityEslintCommentsNoRestrictedDisable = string[];
|
|
6270
|
-
// ----- @eslint-community/eslint-comments/no-use -----
|
|
6268
|
+
}]; // ----- @eslint-community/eslint-comments/no-restricted-disable -----
|
|
6269
|
+
type EslintCommunityEslintCommentsNoRestrictedDisable = string[]; // ----- @eslint-community/eslint-comments/no-use -----
|
|
6271
6270
|
type EslintCommunityEslintCommentsNoUse = [] | [{
|
|
6272
6271
|
allow?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
|
|
6273
|
-
}];
|
|
6274
|
-
// ----- @eslint-community/eslint-comments/require-description -----
|
|
6272
|
+
}]; // ----- @eslint-community/eslint-comments/require-description -----
|
|
6275
6273
|
type EslintCommunityEslintCommentsRequireDescription = [] | [{
|
|
6276
6274
|
ignore?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
|
|
6277
|
-
}];
|
|
6278
|
-
// ----- @eslint-react/dom/no-unknown-property -----
|
|
6275
|
+
}]; // ----- @eslint-react/dom/no-unknown-property -----
|
|
6279
6276
|
type EslintReactDomNoUnknownProperty = [] | [{
|
|
6280
6277
|
ignore?: string[];
|
|
6281
6278
|
requireDataLowercase?: boolean;
|
|
6282
|
-
}];
|
|
6283
|
-
// ----- @eslint-react/jsx-shorthand-
|
|
6284
|
-
type
|
|
6285
|
-
// ----- @eslint-react/jsx-shorthand-fragment -----
|
|
6286
|
-
type EslintReactJsxShorthandFragment = [] | [(-1 | 1)];
|
|
6287
|
-
// ----- @eslint-react/naming-convention/component-name -----
|
|
6279
|
+
}]; // ----- @eslint-react/jsx-shorthand-boolean -----
|
|
6280
|
+
type EslintReactJsxShorthandBoolean = [] | [(-1 | 1)]; // ----- @eslint-react/jsx-shorthand-fragment -----
|
|
6281
|
+
type EslintReactJsxShorthandFragment = [] | [(-1 | 1)]; // ----- @eslint-react/naming-convention/component-name -----
|
|
6288
6282
|
type EslintReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
|
|
6289
6283
|
allowAllCaps?: boolean;
|
|
6290
6284
|
excepts?: string[];
|
|
6291
6285
|
rule?: ("PascalCase" | "CONSTANT_CASE");
|
|
6292
|
-
})];
|
|
6293
|
-
// ----- @eslint-react/naming-convention/filename -----
|
|
6286
|
+
})]; // ----- @eslint-react/naming-convention/filename -----
|
|
6294
6287
|
type EslintReactNamingConventionFilename = [] | [(("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
6295
6288
|
excepts?: string[];
|
|
6296
6289
|
extensions?: string[];
|
|
6297
6290
|
rule?: ("PascalCase" | "camelCase" | "kebab-case" | "snake_case");
|
|
6298
|
-
})];
|
|
6299
|
-
// ----- @eslint-react/naming-convention/filename-extension -----
|
|
6291
|
+
})]; // ----- @eslint-react/naming-convention/filename-extension -----
|
|
6300
6292
|
type EslintReactNamingConventionFilenameExtension = [] | [(("always" | "as-needed") | {
|
|
6301
6293
|
allow?: ("always" | "as-needed");
|
|
6302
6294
|
extensions?: string[];
|
|
6303
6295
|
ignoreFilesWithoutCode?: boolean;
|
|
6304
|
-
})];
|
|
6305
|
-
// ----- @eslint-react/naming-convention/use-state -----
|
|
6296
|
+
})]; // ----- @eslint-react/naming-convention/use-state -----
|
|
6306
6297
|
type EslintReactNamingConventionUseState = [] | [{
|
|
6307
6298
|
enforceAssignment?: boolean;
|
|
6308
6299
|
enforceSetterName?: boolean;
|
|
6309
|
-
}];
|
|
6310
|
-
// ----- @eslint-react/no-forbidden-props -----
|
|
6300
|
+
}]; // ----- @eslint-react/no-forbidden-props -----
|
|
6311
6301
|
type EslintReactNoForbiddenProps = [] | [{
|
|
6312
6302
|
forbid?: (string | {
|
|
6313
6303
|
excludedNodes?: string[];
|
|
@@ -6316,30 +6306,24 @@ type EslintReactNoForbiddenProps = [] | [{
|
|
|
6316
6306
|
includedNodes?: string[];
|
|
6317
6307
|
prop: string;
|
|
6318
6308
|
})[];
|
|
6319
|
-
}];
|
|
6320
|
-
// ----- @eslint-react/no-unstable-default-props -----
|
|
6309
|
+
}]; // ----- @eslint-react/no-unstable-default-props -----
|
|
6321
6310
|
type EslintReactNoUnstableDefaultProps = [] | [{
|
|
6322
6311
|
safeDefaultProps?: string[];
|
|
6323
|
-
}];
|
|
6324
|
-
// ----- @eslint-react/no-useless-fragment -----
|
|
6312
|
+
}]; // ----- @eslint-react/no-useless-fragment -----
|
|
6325
6313
|
type EslintReactNoUselessFragment = [] | [{
|
|
6326
6314
|
allowEmptyFragment?: boolean;
|
|
6327
6315
|
allowExpressions?: boolean;
|
|
6328
|
-
}];
|
|
6329
|
-
// ----- @
|
|
6330
|
-
type NextNextNoHtmlLinkForPages = [] | [(string | string[])];
|
|
6331
|
-
// ----- @stylistic/array-bracket-newline -----
|
|
6316
|
+
}]; // ----- @next/next/no-html-link-for-pages -----
|
|
6317
|
+
type NextNextNoHtmlLinkForPages = [] | [(string | string[])]; // ----- @stylistic/array-bracket-newline -----
|
|
6332
6318
|
type StylisticArrayBracketNewline = [] | [(("always" | "never" | "consistent") | {
|
|
6333
6319
|
multiline?: boolean;
|
|
6334
6320
|
minItems?: (number | null);
|
|
6335
|
-
})];
|
|
6336
|
-
// ----- @stylistic/array-bracket-spacing -----
|
|
6321
|
+
})]; // ----- @stylistic/array-bracket-spacing -----
|
|
6337
6322
|
type StylisticArrayBracketSpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
6338
6323
|
singleValue?: boolean;
|
|
6339
6324
|
objectsInArrays?: boolean;
|
|
6340
6325
|
arraysInArrays?: boolean;
|
|
6341
|
-
}];
|
|
6342
|
-
// ----- @stylistic/array-element-newline -----
|
|
6326
|
+
}]; // ----- @stylistic/array-element-newline -----
|
|
6343
6327
|
type StylisticArrayElementNewline = [] | [(_StylisticArrayElementNewlineBasicConfig | {
|
|
6344
6328
|
ArrayExpression?: _StylisticArrayElementNewlineBasicConfig;
|
|
6345
6329
|
ArrayPattern?: _StylisticArrayElementNewlineBasicConfig;
|
|
@@ -6348,23 +6332,18 @@ type _StylisticArrayElementNewlineBasicConfig = (("always" | "never" | "consiste
|
|
|
6348
6332
|
consistent?: boolean;
|
|
6349
6333
|
multiline?: boolean;
|
|
6350
6334
|
minItems?: (number | null);
|
|
6351
|
-
});
|
|
6352
|
-
// ----- @stylistic/arrow-parens -----
|
|
6335
|
+
}); // ----- @stylistic/arrow-parens -----
|
|
6353
6336
|
type StylisticArrowParens = [] | [("always" | "as-needed")] | [("always" | "as-needed"), {
|
|
6354
6337
|
requireForBlockBody?: boolean;
|
|
6355
|
-
}];
|
|
6356
|
-
// ----- @stylistic/arrow-spacing -----
|
|
6338
|
+
}]; // ----- @stylistic/arrow-spacing -----
|
|
6357
6339
|
type StylisticArrowSpacing = [] | [{
|
|
6358
6340
|
before?: boolean;
|
|
6359
6341
|
after?: boolean;
|
|
6360
|
-
}];
|
|
6361
|
-
// ----- @stylistic/
|
|
6362
|
-
type StylisticBlockSpacing = [] | [("always" | "never")];
|
|
6363
|
-
// ----- @stylistic/brace-style -----
|
|
6342
|
+
}]; // ----- @stylistic/block-spacing -----
|
|
6343
|
+
type StylisticBlockSpacing = [] | [("always" | "never")]; // ----- @stylistic/brace-style -----
|
|
6364
6344
|
type StylisticBraceStyle = [] | [("1tbs" | "stroustrup" | "allman")] | [("1tbs" | "stroustrup" | "allman"), {
|
|
6365
6345
|
allowSingleLine?: boolean;
|
|
6366
|
-
}];
|
|
6367
|
-
// ----- @stylistic/comma-dangle -----
|
|
6346
|
+
}]; // ----- @stylistic/comma-dangle -----
|
|
6368
6347
|
type StylisticCommaDangle = [] | [(_StylisticCommaDangleValue | {
|
|
6369
6348
|
arrays?: _StylisticCommaDangleValueWithIgnore;
|
|
6370
6349
|
objects?: _StylisticCommaDangleValueWithIgnore;
|
|
@@ -6378,23 +6357,19 @@ type StylisticCommaDangle = [] | [(_StylisticCommaDangleValue | {
|
|
|
6378
6357
|
tuples?: _StylisticCommaDangleValueWithIgnore;
|
|
6379
6358
|
})];
|
|
6380
6359
|
type _StylisticCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
|
|
6381
|
-
type _StylisticCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore");
|
|
6382
|
-
// ----- @stylistic/comma-spacing -----
|
|
6360
|
+
type _StylisticCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore"); // ----- @stylistic/comma-spacing -----
|
|
6383
6361
|
type StylisticCommaSpacing = [] | [{
|
|
6384
6362
|
before?: boolean;
|
|
6385
6363
|
after?: boolean;
|
|
6386
|
-
}];
|
|
6387
|
-
// ----- @stylistic/comma-style -----
|
|
6364
|
+
}]; // ----- @stylistic/comma-style -----
|
|
6388
6365
|
type StylisticCommaStyle = [] | [("first" | "last")] | [("first" | "last"), {
|
|
6389
6366
|
exceptions?: {
|
|
6390
6367
|
[k: string]: boolean | undefined;
|
|
6391
6368
|
};
|
|
6392
|
-
}];
|
|
6393
|
-
// ----- @stylistic/computed-property-spacing -----
|
|
6369
|
+
}]; // ----- @stylistic/computed-property-spacing -----
|
|
6394
6370
|
type StylisticComputedPropertySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
6395
6371
|
enforceForClassMembers?: boolean;
|
|
6396
|
-
}];
|
|
6397
|
-
// ----- @stylistic/curly-newline -----
|
|
6372
|
+
}]; // ----- @stylistic/curly-newline -----
|
|
6398
6373
|
type StylisticCurlyNewline = [] | [(("always" | "never") | {
|
|
6399
6374
|
IfStatementConsequent?: (("always" | "never") | {
|
|
6400
6375
|
multiline?: boolean;
|
|
@@ -6504,12 +6479,9 @@ type StylisticCurlyNewline = [] | [(("always" | "never") | {
|
|
|
6504
6479
|
multiline?: boolean;
|
|
6505
6480
|
minElements?: number;
|
|
6506
6481
|
consistent?: boolean;
|
|
6507
|
-
})];
|
|
6508
|
-
// ----- @stylistic/
|
|
6509
|
-
type
|
|
6510
|
-
// ----- @stylistic/eol-last -----
|
|
6511
|
-
type StylisticEolLast = [] | [("always" | "never" | "unix" | "windows")];
|
|
6512
|
-
// ----- @stylistic/exp-list-style -----
|
|
6482
|
+
})]; // ----- @stylistic/dot-location -----
|
|
6483
|
+
type StylisticDotLocation = [] | [("object" | "property")]; // ----- @stylistic/eol-last -----
|
|
6484
|
+
type StylisticEolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- @stylistic/exp-list-style -----
|
|
6513
6485
|
type StylisticExpListStyle = [] | [{
|
|
6514
6486
|
singleLine?: _StylisticExpListStyle_SingleLineConfig;
|
|
6515
6487
|
multiLine?: _StylisticExpListStyle_MultiLineConfig;
|
|
@@ -6552,22 +6524,18 @@ interface _StylisticExpListStyle_MultiLineConfig {
|
|
|
6552
6524
|
interface _StylisticExpListStyle_BaseConfig {
|
|
6553
6525
|
singleLine?: _StylisticExpListStyle_SingleLineConfig;
|
|
6554
6526
|
multiline?: _StylisticExpListStyle_MultiLineConfig;
|
|
6555
|
-
}
|
|
6556
|
-
// ----- @stylistic/function-call-
|
|
6557
|
-
type StylisticFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
|
|
6558
|
-
// ----- @stylistic/function-call-spacing -----
|
|
6527
|
+
} // ----- @stylistic/function-call-argument-newline -----
|
|
6528
|
+
type StylisticFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")]; // ----- @stylistic/function-call-spacing -----
|
|
6559
6529
|
type StylisticFunctionCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
|
|
6560
6530
|
allowNewlines?: boolean;
|
|
6561
6531
|
optionalChain?: {
|
|
6562
6532
|
before?: boolean;
|
|
6563
6533
|
after?: boolean;
|
|
6564
6534
|
};
|
|
6565
|
-
}]);
|
|
6566
|
-
// ----- @stylistic/function-paren-newline -----
|
|
6535
|
+
}]); // ----- @stylistic/function-paren-newline -----
|
|
6567
6536
|
type StylisticFunctionParenNewline = [] | [(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
6568
6537
|
minItems?: number;
|
|
6569
|
-
})];
|
|
6570
|
-
// ----- @stylistic/generator-star-spacing -----
|
|
6538
|
+
})]; // ----- @stylistic/generator-star-spacing -----
|
|
6571
6539
|
type StylisticGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
|
|
6572
6540
|
before?: boolean;
|
|
6573
6541
|
after?: boolean;
|
|
@@ -6587,10 +6555,8 @@ type StylisticGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neit
|
|
|
6587
6555
|
before?: boolean;
|
|
6588
6556
|
after?: boolean;
|
|
6589
6557
|
});
|
|
6590
|
-
})];
|
|
6591
|
-
// ----- @stylistic/
|
|
6592
|
-
type StylisticImplicitArrowLinebreak = [] | [("beside" | "below")];
|
|
6593
|
-
// ----- @stylistic/indent -----
|
|
6558
|
+
})]; // ----- @stylistic/implicit-arrow-linebreak -----
|
|
6559
|
+
type StylisticImplicitArrowLinebreak = [] | [("beside" | "below")]; // ----- @stylistic/indent -----
|
|
6594
6560
|
type StylisticIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
6595
6561
|
SwitchCase?: number;
|
|
6596
6562
|
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
@@ -6631,30 +6597,24 @@ type StylisticIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
6631
6597
|
ignoredNodes?: string[];
|
|
6632
6598
|
ignoreComments?: boolean;
|
|
6633
6599
|
tabLength?: number;
|
|
6634
|
-
}];
|
|
6635
|
-
// ----- @stylistic/
|
|
6636
|
-
type StylisticIndentBinaryOps = [] | [(number | "tab")];
|
|
6637
|
-
// ----- @stylistic/jsx-closing-bracket-location -----
|
|
6600
|
+
}]; // ----- @stylistic/indent-binary-ops -----
|
|
6601
|
+
type StylisticIndentBinaryOps = [] | [(number | "tab")]; // ----- @stylistic/jsx-closing-bracket-location -----
|
|
6638
6602
|
type StylisticJsxClosingBracketLocation = [] | [(("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | {
|
|
6639
6603
|
location?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned");
|
|
6640
6604
|
} | {
|
|
6641
6605
|
nonEmpty?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false);
|
|
6642
6606
|
selfClosing?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false);
|
|
6643
|
-
})];
|
|
6644
|
-
// ----- @stylistic/jsx-
|
|
6645
|
-
type StylisticJsxClosingTagLocation = [] | [("tag-aligned" | "line-aligned")];
|
|
6646
|
-
// ----- @stylistic/jsx-curly-brace-presence -----
|
|
6607
|
+
})]; // ----- @stylistic/jsx-closing-tag-location -----
|
|
6608
|
+
type StylisticJsxClosingTagLocation = [] | [("tag-aligned" | "line-aligned")]; // ----- @stylistic/jsx-curly-brace-presence -----
|
|
6647
6609
|
type StylisticJsxCurlyBracePresence = [] | [({
|
|
6648
6610
|
props?: ("always" | "never" | "ignore");
|
|
6649
6611
|
children?: ("always" | "never" | "ignore");
|
|
6650
6612
|
propElementValues?: ("always" | "never" | "ignore");
|
|
6651
|
-
} | ("always" | "never" | "ignore"))];
|
|
6652
|
-
// ----- @stylistic/jsx-curly-newline -----
|
|
6613
|
+
} | ("always" | "never" | "ignore"))]; // ----- @stylistic/jsx-curly-newline -----
|
|
6653
6614
|
type StylisticJsxCurlyNewline = [] | [(("consistent" | "never") | {
|
|
6654
6615
|
singleline?: ("consistent" | "require" | "forbid");
|
|
6655
6616
|
multiline?: ("consistent" | "require" | "forbid");
|
|
6656
|
-
})];
|
|
6657
|
-
// ----- @stylistic/jsx-curly-spacing -----
|
|
6617
|
+
})]; // ----- @stylistic/jsx-curly-spacing -----
|
|
6658
6618
|
type StylisticJsxCurlySpacing = [] | [({
|
|
6659
6619
|
when?: ("always" | "never");
|
|
6660
6620
|
allowMultiline?: boolean;
|
|
@@ -6700,24 +6660,18 @@ type StylisticJsxCurlySpacing = [] | [({
|
|
|
6700
6660
|
spacing?: {
|
|
6701
6661
|
objectLiterals?: ("always" | "never");
|
|
6702
6662
|
};
|
|
6703
|
-
}];
|
|
6704
|
-
// ----- @stylistic/jsx-
|
|
6705
|
-
type
|
|
6706
|
-
// ----- @stylistic/jsx-
|
|
6707
|
-
type StylisticJsxFirstPropNewLine = [] | [("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")];
|
|
6708
|
-
// ----- @stylistic/jsx-function-call-newline -----
|
|
6709
|
-
type StylisticJsxFunctionCallNewline = [] | [("always" | "multiline")];
|
|
6710
|
-
// ----- @stylistic/jsx-indent -----
|
|
6663
|
+
}]; // ----- @stylistic/jsx-equals-spacing -----
|
|
6664
|
+
type StylisticJsxEqualsSpacing = [] | [("always" | "never")]; // ----- @stylistic/jsx-first-prop-new-line -----
|
|
6665
|
+
type StylisticJsxFirstPropNewLine = [] | [("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]; // ----- @stylistic/jsx-function-call-newline -----
|
|
6666
|
+
type StylisticJsxFunctionCallNewline = [] | [("always" | "multiline")]; // ----- @stylistic/jsx-indent -----
|
|
6711
6667
|
type StylisticJsxIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
6712
6668
|
checkAttributes?: boolean;
|
|
6713
6669
|
indentLogicalExpressions?: boolean;
|
|
6714
|
-
}];
|
|
6715
|
-
// ----- @stylistic/jsx-indent-props -----
|
|
6670
|
+
}]; // ----- @stylistic/jsx-indent-props -----
|
|
6716
6671
|
type StylisticJsxIndentProps = [] | [(("tab" | "first") | number | {
|
|
6717
6672
|
indentMode?: (("tab" | "first") | number);
|
|
6718
6673
|
ignoreTernaryOperator?: boolean;
|
|
6719
|
-
})];
|
|
6720
|
-
// ----- @stylistic/jsx-max-props-per-line -----
|
|
6674
|
+
})]; // ----- @stylistic/jsx-max-props-per-line -----
|
|
6721
6675
|
type StylisticJsxMaxPropsPerLine = [] | [({
|
|
6722
6676
|
maximum?: {
|
|
6723
6677
|
single?: number;
|
|
@@ -6726,31 +6680,25 @@ type StylisticJsxMaxPropsPerLine = [] | [({
|
|
|
6726
6680
|
} | {
|
|
6727
6681
|
maximum?: number;
|
|
6728
6682
|
when?: ("always" | "multiline");
|
|
6729
|
-
})];
|
|
6730
|
-
// ----- @stylistic/jsx-newline -----
|
|
6683
|
+
})]; // ----- @stylistic/jsx-newline -----
|
|
6731
6684
|
type StylisticJsxNewline = [] | [{
|
|
6732
6685
|
prevent?: boolean;
|
|
6733
6686
|
allowMultilines?: boolean;
|
|
6734
|
-
}];
|
|
6735
|
-
// ----- @stylistic/jsx-one-expression-per-line -----
|
|
6687
|
+
}]; // ----- @stylistic/jsx-one-expression-per-line -----
|
|
6736
6688
|
type StylisticJsxOneExpressionPerLine = [] | [{
|
|
6737
6689
|
allow?: ("none" | "literal" | "single-child" | "single-line" | "non-jsx");
|
|
6738
|
-
}];
|
|
6739
|
-
// ----- @stylistic/jsx-pascal-case -----
|
|
6690
|
+
}]; // ----- @stylistic/jsx-pascal-case -----
|
|
6740
6691
|
type StylisticJsxPascalCase = [] | [{
|
|
6741
6692
|
allowAllCaps?: boolean;
|
|
6742
6693
|
allowLeadingUnderscore?: boolean;
|
|
6743
6694
|
allowNamespace?: boolean;
|
|
6744
6695
|
ignore?: string[];
|
|
6745
|
-
}];
|
|
6746
|
-
// ----- @stylistic/jsx-
|
|
6747
|
-
type StylisticJsxQuotes = [] | [("prefer-single" | "prefer-double")];
|
|
6748
|
-
// ----- @stylistic/jsx-self-closing-comp -----
|
|
6696
|
+
}]; // ----- @stylistic/jsx-quotes -----
|
|
6697
|
+
type StylisticJsxQuotes = [] | [("prefer-single" | "prefer-double")]; // ----- @stylistic/jsx-self-closing-comp -----
|
|
6749
6698
|
type StylisticJsxSelfClosingComp = [] | [{
|
|
6750
6699
|
component?: boolean;
|
|
6751
6700
|
html?: boolean;
|
|
6752
|
-
}];
|
|
6753
|
-
// ----- @stylistic/jsx-sort-props -----
|
|
6701
|
+
}]; // ----- @stylistic/jsx-sort-props -----
|
|
6754
6702
|
type StylisticJsxSortProps = [] | [{
|
|
6755
6703
|
callbacksLast?: boolean;
|
|
6756
6704
|
shorthandFirst?: boolean;
|
|
@@ -6761,15 +6709,13 @@ type StylisticJsxSortProps = [] | [{
|
|
|
6761
6709
|
reservedFirst?: (string[] | boolean);
|
|
6762
6710
|
reservedLast?: string[];
|
|
6763
6711
|
locale?: string;
|
|
6764
|
-
}];
|
|
6765
|
-
// ----- @stylistic/jsx-tag-spacing -----
|
|
6712
|
+
}]; // ----- @stylistic/jsx-tag-spacing -----
|
|
6766
6713
|
type StylisticJsxTagSpacing = [] | [{
|
|
6767
6714
|
closingSlash?: ("always" | "never" | "allow");
|
|
6768
6715
|
beforeSelfClosing?: ("always" | "proportional-always" | "never" | "allow");
|
|
6769
6716
|
afterOpening?: ("always" | "allow-multiline" | "never" | "allow");
|
|
6770
6717
|
beforeClosing?: ("always" | "proportional-always" | "never" | "allow");
|
|
6771
|
-
}];
|
|
6772
|
-
// ----- @stylistic/jsx-wrap-multilines -----
|
|
6718
|
+
}]; // ----- @stylistic/jsx-wrap-multilines -----
|
|
6773
6719
|
type StylisticJsxWrapMultilines = [] | [{
|
|
6774
6720
|
declaration?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"));
|
|
6775
6721
|
assignment?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"));
|
|
@@ -6779,8 +6725,7 @@ type StylisticJsxWrapMultilines = [] | [{
|
|
|
6779
6725
|
logical?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"));
|
|
6780
6726
|
prop?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"));
|
|
6781
6727
|
propertyValue?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"));
|
|
6782
|
-
}];
|
|
6783
|
-
// ----- @stylistic/key-spacing -----
|
|
6728
|
+
}]; // ----- @stylistic/key-spacing -----
|
|
6784
6729
|
type StylisticKeySpacing = [] | [({
|
|
6785
6730
|
align?: (("colon" | "value") | {
|
|
6786
6731
|
mode?: ("strict" | "minimum");
|
|
@@ -6826,8 +6771,7 @@ type StylisticKeySpacing = [] | [({
|
|
|
6826
6771
|
beforeColon?: boolean;
|
|
6827
6772
|
afterColon?: boolean;
|
|
6828
6773
|
};
|
|
6829
|
-
})];
|
|
6830
|
-
// ----- @stylistic/keyword-spacing -----
|
|
6774
|
+
})]; // ----- @stylistic/keyword-spacing -----
|
|
6831
6775
|
type StylisticKeywordSpacing = [] | [{
|
|
6832
6776
|
before?: boolean;
|
|
6833
6777
|
after?: boolean;
|
|
@@ -7129,17 +7073,14 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7129
7073
|
after?: boolean;
|
|
7130
7074
|
};
|
|
7131
7075
|
};
|
|
7132
|
-
}];
|
|
7133
|
-
// ----- @stylistic/line-comment-position -----
|
|
7076
|
+
}]; // ----- @stylistic/line-comment-position -----
|
|
7134
7077
|
type StylisticLineCommentPosition = [] | [(("above" | "beside") | {
|
|
7135
7078
|
position?: ("above" | "beside");
|
|
7136
7079
|
ignorePattern?: string;
|
|
7137
7080
|
applyDefaultPatterns?: boolean;
|
|
7138
7081
|
applyDefaultIgnorePatterns?: boolean;
|
|
7139
|
-
})];
|
|
7140
|
-
// ----- @stylistic/
|
|
7141
|
-
type StylisticLinebreakStyle = [] | [("unix" | "windows")];
|
|
7142
|
-
// ----- @stylistic/lines-around-comment -----
|
|
7082
|
+
})]; // ----- @stylistic/linebreak-style -----
|
|
7083
|
+
type StylisticLinebreakStyle = [] | [("unix" | "windows")]; // ----- @stylistic/lines-around-comment -----
|
|
7143
7084
|
type StylisticLinesAroundComment = [] | [{
|
|
7144
7085
|
beforeBlockComment?: boolean;
|
|
7145
7086
|
afterBlockComment?: boolean;
|
|
@@ -7164,8 +7105,7 @@ type StylisticLinesAroundComment = [] | [{
|
|
|
7164
7105
|
ignorePattern?: string;
|
|
7165
7106
|
applyDefaultIgnorePatterns?: boolean;
|
|
7166
7107
|
afterHashbangComment?: boolean;
|
|
7167
|
-
}];
|
|
7168
|
-
// ----- @stylistic/lines-between-class-members -----
|
|
7108
|
+
}]; // ----- @stylistic/lines-between-class-members -----
|
|
7169
7109
|
type StylisticLinesBetweenClassMembers = [] | [({
|
|
7170
7110
|
enforce: [{
|
|
7171
7111
|
blankLine: ("always" | "never");
|
|
@@ -7189,8 +7129,7 @@ type StylisticLinesBetweenClassMembers = [] | [({
|
|
|
7189
7129
|
} | ("always" | "never")), {
|
|
7190
7130
|
exceptAfterSingleLine?: boolean;
|
|
7191
7131
|
exceptAfterOverload?: boolean;
|
|
7192
|
-
}];
|
|
7193
|
-
// ----- @stylistic/max-len -----
|
|
7132
|
+
}]; // ----- @stylistic/max-len -----
|
|
7194
7133
|
type StylisticMaxLen = [] | [({
|
|
7195
7134
|
code?: number;
|
|
7196
7135
|
comments?: number;
|
|
@@ -7257,13 +7196,11 @@ type StylisticMaxLen = [] | [({
|
|
|
7257
7196
|
ignoreTemplateLiterals?: boolean;
|
|
7258
7197
|
ignoreRegExpLiterals?: boolean;
|
|
7259
7198
|
ignoreTrailingComments?: boolean;
|
|
7260
|
-
}];
|
|
7261
|
-
// ----- @stylistic/max-statements-per-line -----
|
|
7199
|
+
}]; // ----- @stylistic/max-statements-per-line -----
|
|
7262
7200
|
type StylisticMaxStatementsPerLine = [] | [{
|
|
7263
7201
|
max?: number;
|
|
7264
7202
|
ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[];
|
|
7265
|
-
}];
|
|
7266
|
-
// ----- @stylistic/member-delimiter-style -----
|
|
7203
|
+
}]; // ----- @stylistic/member-delimiter-style -----
|
|
7267
7204
|
type StylisticMemberDelimiterStyle = [] | [{
|
|
7268
7205
|
multiline?: {
|
|
7269
7206
|
delimiter?: ("none" | "semi" | "comma");
|
|
@@ -7288,28 +7225,22 @@ interface _StylisticMemberDelimiterStyle_DelimiterConfig {
|
|
|
7288
7225
|
delimiter?: ("semi" | "comma");
|
|
7289
7226
|
requireLast?: boolean;
|
|
7290
7227
|
};
|
|
7291
|
-
}
|
|
7292
|
-
// ----- @stylistic/multiline-comment-style -----
|
|
7228
|
+
} // ----- @stylistic/multiline-comment-style -----
|
|
7293
7229
|
type StylisticMultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
|
|
7294
7230
|
checkJSDoc?: boolean;
|
|
7295
7231
|
checkExclamation?: boolean;
|
|
7296
|
-
}]);
|
|
7297
|
-
// ----- @stylistic/multiline-ternary -----
|
|
7232
|
+
}]); // ----- @stylistic/multiline-ternary -----
|
|
7298
7233
|
type StylisticMultilineTernary = [] | [("always" | "always-multiline" | "never")] | [("always" | "always-multiline" | "never"), {
|
|
7299
7234
|
ignoreJSX?: boolean;
|
|
7300
|
-
}];
|
|
7301
|
-
// ----- @stylistic/
|
|
7302
|
-
type StylisticNewParens = [] | [("always" | "never")];
|
|
7303
|
-
// ----- @stylistic/newline-per-chained-call -----
|
|
7235
|
+
}]; // ----- @stylistic/new-parens -----
|
|
7236
|
+
type StylisticNewParens = [] | [("always" | "never")]; // ----- @stylistic/newline-per-chained-call -----
|
|
7304
7237
|
type StylisticNewlinePerChainedCall = [] | [{
|
|
7305
7238
|
ignoreChainWithDepth?: number;
|
|
7306
|
-
}];
|
|
7307
|
-
// ----- @stylistic/no-confusing-arrow -----
|
|
7239
|
+
}]; // ----- @stylistic/no-confusing-arrow -----
|
|
7308
7240
|
type StylisticNoConfusingArrow = [] | [{
|
|
7309
7241
|
allowParens?: boolean;
|
|
7310
7242
|
onlyOneSimpleParam?: boolean;
|
|
7311
|
-
}];
|
|
7312
|
-
// ----- @stylistic/no-extra-parens -----
|
|
7243
|
+
}]; // ----- @stylistic/no-extra-parens -----
|
|
7313
7244
|
type StylisticNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
7314
7245
|
conditionalAssign?: boolean;
|
|
7315
7246
|
ternaryOperandBinaryExpressions?: boolean;
|
|
@@ -7328,38 +7259,31 @@ type StylisticNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
7328
7259
|
AwaitExpression?: boolean;
|
|
7329
7260
|
};
|
|
7330
7261
|
ignoredNodes?: string[];
|
|
7331
|
-
}]);
|
|
7332
|
-
// ----- @stylistic/no-mixed-operators -----
|
|
7262
|
+
}]); // ----- @stylistic/no-mixed-operators -----
|
|
7333
7263
|
type StylisticNoMixedOperators = [] | [{
|
|
7334
7264
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][];
|
|
7335
7265
|
allowSamePrecedence?: boolean;
|
|
7336
|
-
}];
|
|
7337
|
-
// ----- @stylistic/no-
|
|
7338
|
-
type StylisticNoMixedSpacesAndTabs = [] | [("smart-tabs" | boolean)];
|
|
7339
|
-
// ----- @stylistic/no-multi-spaces -----
|
|
7266
|
+
}]; // ----- @stylistic/no-mixed-spaces-and-tabs -----
|
|
7267
|
+
type StylisticNoMixedSpacesAndTabs = [] | [("smart-tabs" | boolean)]; // ----- @stylistic/no-multi-spaces -----
|
|
7340
7268
|
type StylisticNoMultiSpaces = [] | [{
|
|
7341
7269
|
exceptions?: {
|
|
7342
7270
|
[k: string]: boolean;
|
|
7343
7271
|
};
|
|
7344
7272
|
ignoreEOLComments?: boolean;
|
|
7345
7273
|
includeTabs?: boolean;
|
|
7346
|
-
}];
|
|
7347
|
-
// ----- @stylistic/no-multiple-empty-lines -----
|
|
7274
|
+
}]; // ----- @stylistic/no-multiple-empty-lines -----
|
|
7348
7275
|
type StylisticNoMultipleEmptyLines = [] | [{
|
|
7349
7276
|
max: number;
|
|
7350
7277
|
maxEOF?: number;
|
|
7351
7278
|
maxBOF?: number;
|
|
7352
|
-
}];
|
|
7353
|
-
// ----- @stylistic/no-tabs -----
|
|
7279
|
+
}]; // ----- @stylistic/no-tabs -----
|
|
7354
7280
|
type StylisticNoTabs = [] | [{
|
|
7355
7281
|
allowIndentationTabs?: boolean;
|
|
7356
|
-
}];
|
|
7357
|
-
// ----- @stylistic/no-trailing-spaces -----
|
|
7282
|
+
}]; // ----- @stylistic/no-trailing-spaces -----
|
|
7358
7283
|
type StylisticNoTrailingSpaces = [] | [{
|
|
7359
7284
|
skipBlankLines?: boolean;
|
|
7360
7285
|
ignoreComments?: boolean;
|
|
7361
|
-
}];
|
|
7362
|
-
// ----- @stylistic/nonblock-statement-body-position -----
|
|
7286
|
+
}]; // ----- @stylistic/nonblock-statement-body-position -----
|
|
7363
7287
|
type StylisticNonblockStatementBodyPosition = [] | [("beside" | "below" | "any")] | [("beside" | "below" | "any"), {
|
|
7364
7288
|
overrides?: {
|
|
7365
7289
|
if?: ("beside" | "below" | "any");
|
|
@@ -7368,8 +7292,7 @@ type StylisticNonblockStatementBodyPosition = [] | [("beside" | "below" | "any")
|
|
|
7368
7292
|
do?: ("beside" | "below" | "any");
|
|
7369
7293
|
for?: ("beside" | "below" | "any");
|
|
7370
7294
|
};
|
|
7371
|
-
}];
|
|
7372
|
-
// ----- @stylistic/object-curly-newline -----
|
|
7295
|
+
}]; // ----- @stylistic/object-curly-newline -----
|
|
7373
7296
|
type StylisticObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
7374
7297
|
multiline?: boolean;
|
|
7375
7298
|
minProperties?: number;
|
|
@@ -7410,8 +7333,7 @@ type StylisticObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
7410
7333
|
minProperties?: number;
|
|
7411
7334
|
consistent?: boolean;
|
|
7412
7335
|
});
|
|
7413
|
-
})];
|
|
7414
|
-
// ----- @stylistic/object-curly-spacing -----
|
|
7336
|
+
})]; // ----- @stylistic/object-curly-spacing -----
|
|
7415
7337
|
type StylisticObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
7416
7338
|
arraysInObjects?: boolean;
|
|
7417
7339
|
objectsInObjects?: boolean;
|
|
@@ -7428,20 +7350,16 @@ type StylisticObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "n
|
|
|
7428
7350
|
TSEnumBody?: ("always" | "never");
|
|
7429
7351
|
};
|
|
7430
7352
|
emptyObjects?: ("ignore" | "always" | "never");
|
|
7431
|
-
}];
|
|
7432
|
-
// ----- @stylistic/object-property-newline -----
|
|
7353
|
+
}]; // ----- @stylistic/object-property-newline -----
|
|
7433
7354
|
type StylisticObjectPropertyNewline = [] | [{
|
|
7434
7355
|
allowAllPropertiesOnSameLine?: boolean;
|
|
7435
|
-
}];
|
|
7436
|
-
// ----- @stylistic/
|
|
7437
|
-
type StylisticOneVarDeclarationPerLine = [] | [("always" | "initializations")];
|
|
7438
|
-
// ----- @stylistic/operator-linebreak -----
|
|
7356
|
+
}]; // ----- @stylistic/one-var-declaration-per-line -----
|
|
7357
|
+
type StylisticOneVarDeclarationPerLine = [] | [("always" | "initializations")]; // ----- @stylistic/operator-linebreak -----
|
|
7439
7358
|
type StylisticOperatorLinebreak = [] | [(("after" | "before" | "none") | null)] | [(("after" | "before" | "none") | null), {
|
|
7440
7359
|
overrides?: {
|
|
7441
7360
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined;
|
|
7442
7361
|
};
|
|
7443
|
-
}];
|
|
7444
|
-
// ----- @stylistic/padded-blocks -----
|
|
7362
|
+
}]; // ----- @stylistic/padded-blocks -----
|
|
7445
7363
|
type StylisticPaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
7446
7364
|
blocks?: ("always" | "never" | "start" | "end");
|
|
7447
7365
|
switches?: ("always" | "never" | "start" | "end");
|
|
@@ -7452,8 +7370,7 @@ type StylisticPaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
7452
7370
|
classes?: ("always" | "never" | "start" | "end");
|
|
7453
7371
|
}), {
|
|
7454
7372
|
allowSingleLineBlocks?: boolean;
|
|
7455
|
-
}];
|
|
7456
|
-
// ----- @stylistic/padding-line-between-statements -----
|
|
7373
|
+
}]; // ----- @stylistic/padding-line-between-statements -----
|
|
7457
7374
|
type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
7458
7375
|
type _StylisticPaddingLineBetweenStatementsStatementOption = (_StylisticPaddingLineBetweenStatementsStatementType | [_StylisticPaddingLineBetweenStatementsStatementType, ...(_StylisticPaddingLineBetweenStatementsStatementType)[]]);
|
|
7459
7376
|
type _StylisticPaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type");
|
|
@@ -7461,67 +7378,55 @@ type StylisticPaddingLineBetweenStatements = {
|
|
|
7461
7378
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
|
|
7462
7379
|
prev: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
7463
7380
|
next: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
7464
|
-
}[];
|
|
7465
|
-
// ----- @stylistic/quote-props -----
|
|
7381
|
+
}[]; // ----- @stylistic/quote-props -----
|
|
7466
7382
|
type StylisticQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
7467
7383
|
keywords?: boolean;
|
|
7468
7384
|
unnecessary?: boolean;
|
|
7469
7385
|
numbers?: boolean;
|
|
7470
|
-
}]);
|
|
7471
|
-
// ----- @stylistic/quotes -----
|
|
7386
|
+
}]); // ----- @stylistic/quotes -----
|
|
7472
7387
|
type StylisticQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
7473
7388
|
avoidEscape?: boolean;
|
|
7474
7389
|
allowTemplateLiterals?: (boolean | ("never" | "avoidEscape" | "always"));
|
|
7475
7390
|
ignoreStringLiterals?: boolean;
|
|
7476
|
-
})];
|
|
7477
|
-
// ----- @stylistic/
|
|
7478
|
-
type StylisticRestSpreadSpacing = [] | [("always" | "never")];
|
|
7479
|
-
// ----- @stylistic/semi -----
|
|
7391
|
+
})]; // ----- @stylistic/rest-spread-spacing -----
|
|
7392
|
+
type StylisticRestSpreadSpacing = [] | [("always" | "never")]; // ----- @stylistic/semi -----
|
|
7480
7393
|
type StylisticSemi = ([] | ["never"] | ["never", {
|
|
7481
7394
|
beforeStatementContinuationChars?: ("always" | "any" | "never");
|
|
7482
7395
|
}] | [] | ["always"] | ["always", {
|
|
7483
7396
|
omitLastInOneLineBlock?: boolean;
|
|
7484
7397
|
omitLastInOneLineClassBody?: boolean;
|
|
7485
|
-
}]);
|
|
7486
|
-
// ----- @stylistic/semi-spacing -----
|
|
7398
|
+
}]); // ----- @stylistic/semi-spacing -----
|
|
7487
7399
|
type StylisticSemiSpacing = [] | [{
|
|
7488
7400
|
before?: boolean;
|
|
7489
7401
|
after?: boolean;
|
|
7490
|
-
}];
|
|
7491
|
-
// ----- @stylistic/
|
|
7492
|
-
type StylisticSemiStyle = [] | [("last" | "first")];
|
|
7493
|
-
// ----- @stylistic/space-before-blocks -----
|
|
7402
|
+
}]; // ----- @stylistic/semi-style -----
|
|
7403
|
+
type StylisticSemiStyle = [] | [("last" | "first")]; // ----- @stylistic/space-before-blocks -----
|
|
7494
7404
|
type StylisticSpaceBeforeBlocks = [] | [(("always" | "never") | {
|
|
7495
7405
|
keywords?: ("always" | "never" | "off");
|
|
7496
7406
|
functions?: ("always" | "never" | "off");
|
|
7497
7407
|
classes?: ("always" | "never" | "off");
|
|
7498
7408
|
modules?: ("always" | "never" | "off");
|
|
7499
|
-
})];
|
|
7500
|
-
// ----- @stylistic/space-before-function-paren -----
|
|
7409
|
+
})]; // ----- @stylistic/space-before-function-paren -----
|
|
7501
7410
|
type StylisticSpaceBeforeFunctionParen = [] | [(("always" | "never") | {
|
|
7502
7411
|
anonymous?: ("always" | "never" | "ignore");
|
|
7503
7412
|
named?: ("always" | "never" | "ignore");
|
|
7504
7413
|
asyncArrow?: ("always" | "never" | "ignore");
|
|
7505
7414
|
catch?: ("always" | "never" | "ignore");
|
|
7506
|
-
})];
|
|
7507
|
-
// ----- @stylistic/space-in-parens -----
|
|
7415
|
+
})]; // ----- @stylistic/space-in-parens -----
|
|
7508
7416
|
type StylisticSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
|
|
7509
7417
|
exceptions?: ("{}" | "[]" | "()" | "empty")[];
|
|
7510
|
-
}];
|
|
7511
|
-
// ----- @stylistic/space-infix-ops -----
|
|
7418
|
+
}]; // ----- @stylistic/space-infix-ops -----
|
|
7512
7419
|
type StylisticSpaceInfixOps = [] | [{
|
|
7513
7420
|
int32Hint?: boolean;
|
|
7514
7421
|
ignoreTypes?: boolean;
|
|
7515
|
-
}];
|
|
7516
|
-
// ----- @stylistic/space-unary-ops -----
|
|
7422
|
+
}]; // ----- @stylistic/space-unary-ops -----
|
|
7517
7423
|
type StylisticSpaceUnaryOps = [] | [{
|
|
7518
7424
|
words?: boolean;
|
|
7519
7425
|
nonwords?: boolean;
|
|
7520
7426
|
overrides?: {
|
|
7521
7427
|
[k: string]: boolean | undefined;
|
|
7522
7428
|
};
|
|
7523
|
-
}];
|
|
7524
|
-
// ----- @stylistic/spaced-comment -----
|
|
7429
|
+
}]; // ----- @stylistic/spaced-comment -----
|
|
7525
7430
|
type StylisticSpacedComment = [] | [("always" | "never")] | [("always" | "never"), {
|
|
7526
7431
|
exceptions?: string[];
|
|
7527
7432
|
markers?: string[];
|
|
@@ -7534,17 +7439,13 @@ type StylisticSpacedComment = [] | [("always" | "never")] | [("always" | "never"
|
|
|
7534
7439
|
markers?: string[];
|
|
7535
7440
|
balanced?: boolean;
|
|
7536
7441
|
};
|
|
7537
|
-
}];
|
|
7538
|
-
// ----- @stylistic/switch-colon-spacing -----
|
|
7442
|
+
}]; // ----- @stylistic/switch-colon-spacing -----
|
|
7539
7443
|
type StylisticSwitchColonSpacing = [] | [{
|
|
7540
7444
|
before?: boolean;
|
|
7541
7445
|
after?: boolean;
|
|
7542
|
-
}];
|
|
7543
|
-
// ----- @stylistic/template-
|
|
7544
|
-
type
|
|
7545
|
-
// ----- @stylistic/template-tag-spacing -----
|
|
7546
|
-
type StylisticTemplateTagSpacing = [] | [("always" | "never")];
|
|
7547
|
-
// ----- @stylistic/type-annotation-spacing -----
|
|
7446
|
+
}]; // ----- @stylistic/template-curly-spacing -----
|
|
7447
|
+
type StylisticTemplateCurlySpacing = [] | [("always" | "never")]; // ----- @stylistic/template-tag-spacing -----
|
|
7448
|
+
type StylisticTemplateTagSpacing = [] | [("always" | "never")]; // ----- @stylistic/type-annotation-spacing -----
|
|
7548
7449
|
type StylisticTypeAnnotationSpacing = [] | [{
|
|
7549
7450
|
before?: boolean;
|
|
7550
7451
|
after?: boolean;
|
|
@@ -7560,22 +7461,18 @@ type StylisticTypeAnnotationSpacing = [] | [{
|
|
|
7560
7461
|
interface _StylisticTypeAnnotationSpacing_SpacingConfig {
|
|
7561
7462
|
before?: boolean;
|
|
7562
7463
|
after?: boolean;
|
|
7563
|
-
}
|
|
7564
|
-
// ----- @stylistic/wrap-iife -----
|
|
7464
|
+
} // ----- @stylistic/wrap-iife -----
|
|
7565
7465
|
type StylisticWrapIife = [] | [("outside" | "inside" | "any")] | [("outside" | "inside" | "any"), {
|
|
7566
7466
|
functionPrototypeMethods?: boolean;
|
|
7567
|
-
}];
|
|
7568
|
-
// ----- @stylistic/yield-star-spacing -----
|
|
7467
|
+
}]; // ----- @stylistic/yield-star-spacing -----
|
|
7569
7468
|
type StylisticYieldStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
|
|
7570
7469
|
before?: boolean;
|
|
7571
7470
|
after?: boolean;
|
|
7572
|
-
})];
|
|
7573
|
-
// ----- @typescript-eslint/array-type -----
|
|
7471
|
+
})]; // ----- @typescript-eslint/array-type -----
|
|
7574
7472
|
type TypescriptEslintArrayType = [] | [{
|
|
7575
7473
|
default?: ("array" | "generic" | "array-simple");
|
|
7576
7474
|
readonly?: ("array" | "generic" | "array-simple");
|
|
7577
|
-
}];
|
|
7578
|
-
// ----- @typescript-eslint/ban-ts-comment -----
|
|
7475
|
+
}]; // ----- @typescript-eslint/ban-ts-comment -----
|
|
7579
7476
|
type TypescriptEslintBanTsComment = [] | [{
|
|
7580
7477
|
minimumDescriptionLength?: number;
|
|
7581
7478
|
"ts-check"?: (boolean | "allow-with-description" | {
|
|
@@ -7590,53 +7487,42 @@ type TypescriptEslintBanTsComment = [] | [{
|
|
|
7590
7487
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
7591
7488
|
descriptionFormat?: string;
|
|
7592
7489
|
});
|
|
7593
|
-
}];
|
|
7594
|
-
// ----- @typescript-eslint/class-
|
|
7595
|
-
type TypescriptEslintClassLiteralPropertyStyle = [] | [("fields" | "getters")];
|
|
7596
|
-
// ----- @typescript-eslint/class-methods-use-this -----
|
|
7490
|
+
}]; // ----- @typescript-eslint/class-literal-property-style -----
|
|
7491
|
+
type TypescriptEslintClassLiteralPropertyStyle = [] | [("fields" | "getters")]; // ----- @typescript-eslint/class-methods-use-this -----
|
|
7597
7492
|
type TypescriptEslintClassMethodsUseThis = [] | [{
|
|
7598
7493
|
enforceForClassFields?: boolean;
|
|
7599
7494
|
exceptMethods?: string[];
|
|
7600
7495
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields");
|
|
7601
7496
|
ignoreOverrideMethods?: boolean;
|
|
7602
|
-
}];
|
|
7603
|
-
// ----- @typescript-eslint/consistent-
|
|
7604
|
-
type
|
|
7605
|
-
// ----- @typescript-eslint/consistent-indexed-object-style -----
|
|
7606
|
-
type TypescriptEslintConsistentIndexedObjectStyle = [] | [("record" | "index-signature")];
|
|
7607
|
-
// ----- @typescript-eslint/consistent-return -----
|
|
7497
|
+
}]; // ----- @typescript-eslint/consistent-generic-constructors -----
|
|
7498
|
+
type TypescriptEslintConsistentGenericConstructors = [] | [("type-annotation" | "constructor")]; // ----- @typescript-eslint/consistent-indexed-object-style -----
|
|
7499
|
+
type TypescriptEslintConsistentIndexedObjectStyle = [] | [("record" | "index-signature")]; // ----- @typescript-eslint/consistent-return -----
|
|
7608
7500
|
type TypescriptEslintConsistentReturn = [] | [{
|
|
7609
7501
|
treatUndefinedAsUnspecified?: boolean;
|
|
7610
|
-
}];
|
|
7611
|
-
// ----- @typescript-eslint/consistent-type-assertions -----
|
|
7502
|
+
}]; // ----- @typescript-eslint/consistent-type-assertions -----
|
|
7612
7503
|
type TypescriptEslintConsistentTypeAssertions = [] | [({
|
|
7613
7504
|
assertionStyle: "never";
|
|
7614
7505
|
} | {
|
|
7615
7506
|
arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never");
|
|
7616
7507
|
assertionStyle?: ("as" | "angle-bracket");
|
|
7617
7508
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never");
|
|
7618
|
-
})];
|
|
7619
|
-
// ----- @typescript-eslint/consistent-type-
|
|
7620
|
-
type TypescriptEslintConsistentTypeDefinitions = [] | [("interface" | "type")];
|
|
7621
|
-
// ----- @typescript-eslint/consistent-type-exports -----
|
|
7509
|
+
})]; // ----- @typescript-eslint/consistent-type-definitions -----
|
|
7510
|
+
type TypescriptEslintConsistentTypeDefinitions = [] | [("interface" | "type")]; // ----- @typescript-eslint/consistent-type-exports -----
|
|
7622
7511
|
type TypescriptEslintConsistentTypeExports = [] | [{
|
|
7623
7512
|
fixMixedExportsWithInlineTypeSpecifier?: boolean;
|
|
7624
|
-
}];
|
|
7625
|
-
// ----- @typescript-eslint/consistent-type-imports -----
|
|
7513
|
+
}]; // ----- @typescript-eslint/consistent-type-imports -----
|
|
7626
7514
|
type TypescriptEslintConsistentTypeImports = [] | [{
|
|
7627
7515
|
disallowTypeAnnotations?: boolean;
|
|
7628
7516
|
fixStyle?: ("separate-type-imports" | "inline-type-imports");
|
|
7629
7517
|
prefer?: ("type-imports" | "no-type-imports");
|
|
7630
|
-
}];
|
|
7631
|
-
// ----- @typescript-eslint/dot-notation -----
|
|
7518
|
+
}]; // ----- @typescript-eslint/dot-notation -----
|
|
7632
7519
|
type TypescriptEslintDotNotation = [] | [{
|
|
7633
7520
|
allowIndexSignaturePropertyAccess?: boolean;
|
|
7634
7521
|
allowKeywords?: boolean;
|
|
7635
7522
|
allowPattern?: string;
|
|
7636
7523
|
allowPrivateClassPropertyAccess?: boolean;
|
|
7637
7524
|
allowProtectedClassPropertyAccess?: boolean;
|
|
7638
|
-
}];
|
|
7639
|
-
// ----- @typescript-eslint/explicit-function-return-type -----
|
|
7525
|
+
}]; // ----- @typescript-eslint/explicit-function-return-type -----
|
|
7640
7526
|
type TypescriptEslintExplicitFunctionReturnType = [] | [{
|
|
7641
7527
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean;
|
|
7642
7528
|
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
@@ -7646,8 +7532,7 @@ type TypescriptEslintExplicitFunctionReturnType = [] | [{
|
|
|
7646
7532
|
allowHigherOrderFunctions?: boolean;
|
|
7647
7533
|
allowIIFEs?: boolean;
|
|
7648
7534
|
allowTypedFunctionExpressions?: boolean;
|
|
7649
|
-
}];
|
|
7650
|
-
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
7535
|
+
}]; // ----- @typescript-eslint/explicit-member-accessibility -----
|
|
7651
7536
|
type TypescriptEslintExplicitMemberAccessibility = [] | [{
|
|
7652
7537
|
accessibility?: ("explicit" | "no-public" | "off");
|
|
7653
7538
|
ignoredMethodNames?: string[];
|
|
@@ -7658,8 +7543,7 @@ type TypescriptEslintExplicitMemberAccessibility = [] | [{
|
|
|
7658
7543
|
parameterProperties?: ("explicit" | "no-public" | "off");
|
|
7659
7544
|
properties?: ("explicit" | "no-public" | "off");
|
|
7660
7545
|
};
|
|
7661
|
-
}];
|
|
7662
|
-
// ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
7546
|
+
}]; // ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
7663
7547
|
type TypescriptEslintExplicitModuleBoundaryTypes = [] | [{
|
|
7664
7548
|
allowArgumentsExplicitlyTypedAsAny?: boolean;
|
|
7665
7549
|
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
@@ -7667,18 +7551,15 @@ type TypescriptEslintExplicitModuleBoundaryTypes = [] | [{
|
|
|
7667
7551
|
allowHigherOrderFunctions?: boolean;
|
|
7668
7552
|
allowOverloadFunctions?: boolean;
|
|
7669
7553
|
allowTypedFunctionExpressions?: boolean;
|
|
7670
|
-
}];
|
|
7671
|
-
// ----- @typescript-eslint/init-declarations -----
|
|
7554
|
+
}]; // ----- @typescript-eslint/init-declarations -----
|
|
7672
7555
|
type TypescriptEslintInitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
|
|
7673
7556
|
ignoreForLoopInit?: boolean;
|
|
7674
|
-
}]);
|
|
7675
|
-
// ----- @typescript-eslint/max-params -----
|
|
7557
|
+
}]); // ----- @typescript-eslint/max-params -----
|
|
7676
7558
|
type TypescriptEslintMaxParams = [] | [{
|
|
7677
7559
|
countVoidThis?: boolean;
|
|
7678
7560
|
max?: number;
|
|
7679
7561
|
maximum?: number;
|
|
7680
|
-
}];
|
|
7681
|
-
// ----- @typescript-eslint/member-ordering -----
|
|
7562
|
+
}]; // ----- @typescript-eslint/member-ordering -----
|
|
7682
7563
|
type TypescriptEslintMemberOrdering = [] | [{
|
|
7683
7564
|
classes?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
7684
7565
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never");
|
|
@@ -7705,10 +7586,8 @@ type TypescriptEslintMemberOrdering = [] | [{
|
|
|
7705
7586
|
optionalityOrder?: ("optional-first" | "required-first");
|
|
7706
7587
|
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive");
|
|
7707
7588
|
});
|
|
7708
|
-
}];
|
|
7709
|
-
// ----- @typescript-eslint/
|
|
7710
|
-
type TypescriptEslintMethodSignatureStyle = [] | [("property" | "method")];
|
|
7711
|
-
// ----- @typescript-eslint/naming-convention -----
|
|
7589
|
+
}]; // ----- @typescript-eslint/method-signature-style -----
|
|
7590
|
+
type TypescriptEslintMethodSignatureStyle = [] | [("property" | "method")]; // ----- @typescript-eslint/naming-convention -----
|
|
7712
7591
|
type _TypescriptEslintNamingConventionFormatOptionsConfig = (_TypescriptEslintNamingConventionPredefinedFormats[] | null);
|
|
7713
7592
|
type _TypescriptEslintNamingConventionPredefinedFormats = ("camelCase" | "strictCamelCase" | "PascalCase" | "StrictPascalCase" | "snake_case" | "UPPER_CASE");
|
|
7714
7593
|
type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "requireDouble" | "allowDouble" | "allowSingleOrDouble");
|
|
@@ -8026,19 +7905,16 @@ type TypescriptEslintNamingConvention = ({
|
|
|
8026
7905
|
interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
8027
7906
|
match: boolean;
|
|
8028
7907
|
regex: string;
|
|
8029
|
-
}
|
|
8030
|
-
// ----- @typescript-eslint/no-base-to-string -----
|
|
7908
|
+
} // ----- @typescript-eslint/no-base-to-string -----
|
|
8031
7909
|
type TypescriptEslintNoBaseToString = [] | [{
|
|
8032
7910
|
checkUnknown?: boolean;
|
|
8033
7911
|
ignoredTypeNames?: string[];
|
|
8034
|
-
}];
|
|
8035
|
-
// ----- @typescript-eslint/no-confusing-void-expression -----
|
|
7912
|
+
}]; // ----- @typescript-eslint/no-confusing-void-expression -----
|
|
8036
7913
|
type TypescriptEslintNoConfusingVoidExpression = [] | [{
|
|
8037
7914
|
ignoreArrowShorthand?: boolean;
|
|
8038
7915
|
ignoreVoidOperator?: boolean;
|
|
8039
7916
|
ignoreVoidReturningFunctions?: boolean;
|
|
8040
|
-
}];
|
|
8041
|
-
// ----- @typescript-eslint/no-deprecated -----
|
|
7917
|
+
}]; // ----- @typescript-eslint/no-deprecated -----
|
|
8042
7918
|
type TypescriptEslintNoDeprecated = [] | [{
|
|
8043
7919
|
allow?: (string | {
|
|
8044
7920
|
from: "file";
|
|
@@ -8052,39 +7928,32 @@ type TypescriptEslintNoDeprecated = [] | [{
|
|
|
8052
7928
|
name: (string | [string, ...(string)[]]);
|
|
8053
7929
|
package: string;
|
|
8054
7930
|
})[];
|
|
8055
|
-
}];
|
|
8056
|
-
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
7931
|
+
}]; // ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
8057
7932
|
type TypescriptEslintNoDuplicateTypeConstituents = [] | [{
|
|
8058
7933
|
ignoreIntersections?: boolean;
|
|
8059
7934
|
ignoreUnions?: boolean;
|
|
8060
|
-
}];
|
|
8061
|
-
// ----- @typescript-eslint/no-empty-function -----
|
|
7935
|
+
}]; // ----- @typescript-eslint/no-empty-function -----
|
|
8062
7936
|
type TypescriptEslintNoEmptyFunction = [] | [{
|
|
8063
7937
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[];
|
|
8064
|
-
}];
|
|
8065
|
-
// ----- @typescript-eslint/no-empty-interface -----
|
|
7938
|
+
}]; // ----- @typescript-eslint/no-empty-interface -----
|
|
8066
7939
|
type TypescriptEslintNoEmptyInterface = [] | [{
|
|
8067
7940
|
allowSingleExtends?: boolean;
|
|
8068
|
-
}];
|
|
8069
|
-
// ----- @typescript-eslint/no-empty-object-type -----
|
|
7941
|
+
}]; // ----- @typescript-eslint/no-empty-object-type -----
|
|
8070
7942
|
type TypescriptEslintNoEmptyObjectType = [] | [{
|
|
8071
7943
|
allowInterfaces?: ("always" | "never" | "with-single-extends");
|
|
8072
7944
|
allowObjectTypes?: ("always" | "never");
|
|
8073
7945
|
allowWithName?: string;
|
|
8074
|
-
}];
|
|
8075
|
-
// ----- @typescript-eslint/no-explicit-any -----
|
|
7946
|
+
}]; // ----- @typescript-eslint/no-explicit-any -----
|
|
8076
7947
|
type TypescriptEslintNoExplicitAny = [] | [{
|
|
8077
7948
|
fixToUnknown?: boolean;
|
|
8078
7949
|
ignoreRestArgs?: boolean;
|
|
8079
|
-
}];
|
|
8080
|
-
// ----- @typescript-eslint/no-extraneous-class -----
|
|
7950
|
+
}]; // ----- @typescript-eslint/no-extraneous-class -----
|
|
8081
7951
|
type TypescriptEslintNoExtraneousClass = [] | [{
|
|
8082
7952
|
allowConstructorOnly?: boolean;
|
|
8083
7953
|
allowEmpty?: boolean;
|
|
8084
7954
|
allowStaticOnly?: boolean;
|
|
8085
7955
|
allowWithDecorator?: boolean;
|
|
8086
|
-
}];
|
|
8087
|
-
// ----- @typescript-eslint/no-floating-promises -----
|
|
7956
|
+
}]; // ----- @typescript-eslint/no-floating-promises -----
|
|
8088
7957
|
type TypescriptEslintNoFloatingPromises = [] | [{
|
|
8089
7958
|
allowForKnownSafeCalls?: (string | {
|
|
8090
7959
|
from: "file";
|
|
@@ -8113,22 +7982,18 @@ type TypescriptEslintNoFloatingPromises = [] | [{
|
|
|
8113
7982
|
checkThenables?: boolean;
|
|
8114
7983
|
ignoreIIFE?: boolean;
|
|
8115
7984
|
ignoreVoid?: boolean;
|
|
8116
|
-
}];
|
|
8117
|
-
// ----- @typescript-eslint/no-inferrable-types -----
|
|
7985
|
+
}]; // ----- @typescript-eslint/no-inferrable-types -----
|
|
8118
7986
|
type TypescriptEslintNoInferrableTypes = [] | [{
|
|
8119
7987
|
ignoreParameters?: boolean;
|
|
8120
7988
|
ignoreProperties?: boolean;
|
|
8121
|
-
}];
|
|
8122
|
-
// ----- @typescript-eslint/no-invalid-this -----
|
|
7989
|
+
}]; // ----- @typescript-eslint/no-invalid-this -----
|
|
8123
7990
|
type TypescriptEslintNoInvalidThis = [] | [{
|
|
8124
7991
|
capIsConstructor?: boolean;
|
|
8125
|
-
}];
|
|
8126
|
-
// ----- @typescript-eslint/no-invalid-void-type -----
|
|
7992
|
+
}]; // ----- @typescript-eslint/no-invalid-void-type -----
|
|
8127
7993
|
type TypescriptEslintNoInvalidVoidType = [] | [{
|
|
8128
7994
|
allowAsThisParameter?: boolean;
|
|
8129
7995
|
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]]);
|
|
8130
|
-
}];
|
|
8131
|
-
// ----- @typescript-eslint/no-magic-numbers -----
|
|
7996
|
+
}]; // ----- @typescript-eslint/no-magic-numbers -----
|
|
8132
7997
|
type TypescriptEslintNoMagicNumbers = [] | [{
|
|
8133
7998
|
detectObjects?: boolean;
|
|
8134
7999
|
enforceConst?: boolean;
|
|
@@ -8140,12 +8005,10 @@ type TypescriptEslintNoMagicNumbers = [] | [{
|
|
|
8140
8005
|
ignoreNumericLiteralTypes?: boolean;
|
|
8141
8006
|
ignoreReadonlyClassProperties?: boolean;
|
|
8142
8007
|
ignoreTypeIndexes?: boolean;
|
|
8143
|
-
}];
|
|
8144
|
-
// ----- @typescript-eslint/no-meaningless-void-operator -----
|
|
8008
|
+
}]; // ----- @typescript-eslint/no-meaningless-void-operator -----
|
|
8145
8009
|
type TypescriptEslintNoMeaninglessVoidOperator = [] | [{
|
|
8146
8010
|
checkNever?: boolean;
|
|
8147
|
-
}];
|
|
8148
|
-
// ----- @typescript-eslint/no-misused-promises -----
|
|
8011
|
+
}]; // ----- @typescript-eslint/no-misused-promises -----
|
|
8149
8012
|
type TypescriptEslintNoMisusedPromises = [] | [{
|
|
8150
8013
|
checksConditionals?: boolean;
|
|
8151
8014
|
checksSpreads?: boolean;
|
|
@@ -8157,8 +8020,7 @@ type TypescriptEslintNoMisusedPromises = [] | [{
|
|
|
8157
8020
|
returns?: boolean;
|
|
8158
8021
|
variables?: boolean;
|
|
8159
8022
|
});
|
|
8160
|
-
}];
|
|
8161
|
-
// ----- @typescript-eslint/no-misused-spread -----
|
|
8023
|
+
}]; // ----- @typescript-eslint/no-misused-spread -----
|
|
8162
8024
|
type TypescriptEslintNoMisusedSpread = [] | [{
|
|
8163
8025
|
allow?: (string | {
|
|
8164
8026
|
from: "file";
|
|
@@ -8172,23 +8034,19 @@ type TypescriptEslintNoMisusedSpread = [] | [{
|
|
|
8172
8034
|
name: (string | [string, ...(string)[]]);
|
|
8173
8035
|
package: string;
|
|
8174
8036
|
})[];
|
|
8175
|
-
}];
|
|
8176
|
-
// ----- @typescript-eslint/no-namespace -----
|
|
8037
|
+
}]; // ----- @typescript-eslint/no-namespace -----
|
|
8177
8038
|
type TypescriptEslintNoNamespace = [] | [{
|
|
8178
8039
|
allowDeclarations?: boolean;
|
|
8179
8040
|
allowDefinitionFiles?: boolean;
|
|
8180
|
-
}];
|
|
8181
|
-
// ----- @typescript-eslint/no-redeclare -----
|
|
8041
|
+
}]; // ----- @typescript-eslint/no-redeclare -----
|
|
8182
8042
|
type TypescriptEslintNoRedeclare = [] | [{
|
|
8183
8043
|
builtinGlobals?: boolean;
|
|
8184
8044
|
ignoreDeclarationMerge?: boolean;
|
|
8185
|
-
}];
|
|
8186
|
-
// ----- @typescript-eslint/no-require-imports -----
|
|
8045
|
+
}]; // ----- @typescript-eslint/no-require-imports -----
|
|
8187
8046
|
type TypescriptEslintNoRequireImports = [] | [{
|
|
8188
8047
|
allow?: string[];
|
|
8189
8048
|
allowAsImport?: boolean;
|
|
8190
|
-
}];
|
|
8191
|
-
// ----- @typescript-eslint/no-restricted-imports -----
|
|
8049
|
+
}]; // ----- @typescript-eslint/no-restricted-imports -----
|
|
8192
8050
|
type TypescriptEslintNoRestrictedImports = ((string | {
|
|
8193
8051
|
name: string;
|
|
8194
8052
|
message?: string;
|
|
@@ -8214,8 +8072,7 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
8214
8072
|
caseSensitive?: boolean;
|
|
8215
8073
|
allowTypeImports?: boolean;
|
|
8216
8074
|
}[]);
|
|
8217
|
-
}]);
|
|
8218
|
-
// ----- @typescript-eslint/no-restricted-types -----
|
|
8075
|
+
}]); // ----- @typescript-eslint/no-restricted-types -----
|
|
8219
8076
|
type TypescriptEslintNoRestrictedTypes = [] | [{
|
|
8220
8077
|
types?: {
|
|
8221
8078
|
[k: string]: (true | string | {
|
|
@@ -8224,8 +8081,7 @@ type TypescriptEslintNoRestrictedTypes = [] | [{
|
|
|
8224
8081
|
suggest?: string[];
|
|
8225
8082
|
}) | undefined;
|
|
8226
8083
|
};
|
|
8227
|
-
}];
|
|
8228
|
-
// ----- @typescript-eslint/no-shadow -----
|
|
8084
|
+
}]; // ----- @typescript-eslint/no-shadow -----
|
|
8229
8085
|
type TypescriptEslintNoShadow = [] | [{
|
|
8230
8086
|
allow?: string[];
|
|
8231
8087
|
builtinGlobals?: boolean;
|
|
@@ -8233,13 +8089,11 @@ type TypescriptEslintNoShadow = [] | [{
|
|
|
8233
8089
|
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
8234
8090
|
ignoreOnInitialization?: boolean;
|
|
8235
8091
|
ignoreTypeValueShadow?: boolean;
|
|
8236
|
-
}];
|
|
8237
|
-
// ----- @typescript-eslint/no-this-alias -----
|
|
8092
|
+
}]; // ----- @typescript-eslint/no-this-alias -----
|
|
8238
8093
|
type TypescriptEslintNoThisAlias = [] | [{
|
|
8239
8094
|
allowDestructuring?: boolean;
|
|
8240
8095
|
allowedNames?: string[];
|
|
8241
|
-
}];
|
|
8242
|
-
// ----- @typescript-eslint/no-type-alias -----
|
|
8096
|
+
}]; // ----- @typescript-eslint/no-type-alias -----
|
|
8243
8097
|
type TypescriptEslintNoTypeAlias = [] | [{
|
|
8244
8098
|
allowAliases?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
|
|
8245
8099
|
allowCallbacks?: ("always" | "never");
|
|
@@ -8249,37 +8103,31 @@ type TypescriptEslintNoTypeAlias = [] | [{
|
|
|
8249
8103
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
|
|
8250
8104
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
|
|
8251
8105
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections");
|
|
8252
|
-
}];
|
|
8253
|
-
// ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
8106
|
+
}]; // ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
8254
8107
|
type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = [] | [{
|
|
8255
8108
|
allowComparingNullableBooleansToFalse?: boolean;
|
|
8256
8109
|
allowComparingNullableBooleansToTrue?: boolean;
|
|
8257
8110
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
8258
|
-
}];
|
|
8259
|
-
// ----- @typescript-eslint/no-unnecessary-condition -----
|
|
8111
|
+
}]; // ----- @typescript-eslint/no-unnecessary-condition -----
|
|
8260
8112
|
type TypescriptEslintNoUnnecessaryCondition = [] | [{
|
|
8261
8113
|
allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"));
|
|
8262
8114
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
8263
8115
|
checkTypePredicates?: boolean;
|
|
8264
|
-
}];
|
|
8265
|
-
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
8116
|
+
}]; // ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
8266
8117
|
type TypescriptEslintNoUnnecessaryTypeAssertion = [] | [{
|
|
8267
8118
|
checkLiteralConstAssertions?: boolean;
|
|
8268
8119
|
typesToIgnore?: string[];
|
|
8269
|
-
}];
|
|
8270
|
-
// ----- @typescript-eslint/no-unsafe-member-access -----
|
|
8120
|
+
}]; // ----- @typescript-eslint/no-unsafe-member-access -----
|
|
8271
8121
|
type TypescriptEslintNoUnsafeMemberAccess = [] | [{
|
|
8272
8122
|
allowOptionalChaining?: boolean;
|
|
8273
|
-
}];
|
|
8274
|
-
// ----- @typescript-eslint/no-unused-expressions -----
|
|
8123
|
+
}]; // ----- @typescript-eslint/no-unused-expressions -----
|
|
8275
8124
|
type TypescriptEslintNoUnusedExpressions = [] | [{
|
|
8276
8125
|
allowShortCircuit?: boolean;
|
|
8277
8126
|
allowTernary?: boolean;
|
|
8278
8127
|
allowTaggedTemplates?: boolean;
|
|
8279
8128
|
enforceForJSX?: boolean;
|
|
8280
8129
|
ignoreDirectives?: boolean;
|
|
8281
|
-
}];
|
|
8282
|
-
// ----- @typescript-eslint/no-unused-vars -----
|
|
8130
|
+
}]; // ----- @typescript-eslint/no-unused-vars -----
|
|
8283
8131
|
type TypescriptEslintNoUnusedVars = [] | [(("all" | "local") | {
|
|
8284
8132
|
args?: ("all" | "after-used" | "none");
|
|
8285
8133
|
argsIgnorePattern?: string;
|
|
@@ -8295,8 +8143,7 @@ type TypescriptEslintNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
8295
8143
|
reportUsedIgnorePattern?: boolean;
|
|
8296
8144
|
vars?: ("all" | "local");
|
|
8297
8145
|
varsIgnorePattern?: string;
|
|
8298
|
-
})];
|
|
8299
|
-
// ----- @typescript-eslint/no-use-before-define -----
|
|
8146
|
+
})]; // ----- @typescript-eslint/no-use-before-define -----
|
|
8300
8147
|
type TypescriptEslintNoUseBeforeDefine = [] | [("nofunc" | {
|
|
8301
8148
|
allowNamedExports?: boolean;
|
|
8302
8149
|
classes?: boolean;
|
|
@@ -8305,12 +8152,10 @@ type TypescriptEslintNoUseBeforeDefine = [] | [("nofunc" | {
|
|
|
8305
8152
|
ignoreTypeReferences?: boolean;
|
|
8306
8153
|
typedefs?: boolean;
|
|
8307
8154
|
variables?: boolean;
|
|
8308
|
-
})];
|
|
8309
|
-
// ----- @typescript-eslint/no-var-requires -----
|
|
8155
|
+
})]; // ----- @typescript-eslint/no-var-requires -----
|
|
8310
8156
|
type TypescriptEslintNoVarRequires = [] | [{
|
|
8311
8157
|
allow?: string[];
|
|
8312
|
-
}];
|
|
8313
|
-
// ----- @typescript-eslint/only-throw-error -----
|
|
8158
|
+
}]; // ----- @typescript-eslint/only-throw-error -----
|
|
8314
8159
|
type TypescriptEslintOnlyThrowError = [] | [{
|
|
8315
8160
|
allow?: (string | {
|
|
8316
8161
|
from: "file";
|
|
@@ -8327,13 +8172,11 @@ type TypescriptEslintOnlyThrowError = [] | [{
|
|
|
8327
8172
|
allowRethrowing?: boolean;
|
|
8328
8173
|
allowThrowingAny?: boolean;
|
|
8329
8174
|
allowThrowingUnknown?: boolean;
|
|
8330
|
-
}];
|
|
8331
|
-
// ----- @typescript-eslint/parameter-properties -----
|
|
8175
|
+
}]; // ----- @typescript-eslint/parameter-properties -----
|
|
8332
8176
|
type TypescriptEslintParameterProperties = [] | [{
|
|
8333
8177
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[];
|
|
8334
8178
|
prefer?: ("class-property" | "parameter-property");
|
|
8335
|
-
}];
|
|
8336
|
-
// ----- @typescript-eslint/prefer-destructuring -----
|
|
8179
|
+
}]; // ----- @typescript-eslint/prefer-destructuring -----
|
|
8337
8180
|
type TypescriptEslintPreferDestructuring = [] | [({
|
|
8338
8181
|
AssignmentExpression?: {
|
|
8339
8182
|
array?: boolean;
|
|
@@ -8361,12 +8204,10 @@ type TypescriptEslintPreferDestructuring = [] | [({
|
|
|
8361
8204
|
}), {
|
|
8362
8205
|
enforceForDeclarationWithTypeAnnotation?: boolean;
|
|
8363
8206
|
enforceForRenamedProperties?: boolean;
|
|
8364
|
-
}];
|
|
8365
|
-
// ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
8207
|
+
}]; // ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
8366
8208
|
type TypescriptEslintPreferLiteralEnumMember = [] | [{
|
|
8367
8209
|
allowBitwiseExpressions?: boolean;
|
|
8368
|
-
}];
|
|
8369
|
-
// ----- @typescript-eslint/prefer-nullish-coalescing -----
|
|
8210
|
+
}]; // ----- @typescript-eslint/prefer-nullish-coalescing -----
|
|
8370
8211
|
type TypescriptEslintPreferNullishCoalescing = [] | [{
|
|
8371
8212
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
8372
8213
|
ignoreBooleanCoercion?: boolean;
|
|
@@ -8380,8 +8221,7 @@ type TypescriptEslintPreferNullishCoalescing = [] | [{
|
|
|
8380
8221
|
string?: boolean;
|
|
8381
8222
|
} | true);
|
|
8382
8223
|
ignoreTernaryTests?: boolean;
|
|
8383
|
-
}];
|
|
8384
|
-
// ----- @typescript-eslint/prefer-optional-chain -----
|
|
8224
|
+
}]; // ----- @typescript-eslint/prefer-optional-chain -----
|
|
8385
8225
|
type TypescriptEslintPreferOptionalChain = [] | [{
|
|
8386
8226
|
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
|
|
8387
8227
|
checkAny?: boolean;
|
|
@@ -8391,18 +8231,15 @@ type TypescriptEslintPreferOptionalChain = [] | [{
|
|
|
8391
8231
|
checkString?: boolean;
|
|
8392
8232
|
checkUnknown?: boolean;
|
|
8393
8233
|
requireNullish?: boolean;
|
|
8394
|
-
}];
|
|
8395
|
-
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
8234
|
+
}]; // ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
8396
8235
|
type TypescriptEslintPreferPromiseRejectErrors = [] | [{
|
|
8397
8236
|
allowEmptyReject?: boolean;
|
|
8398
8237
|
allowThrowingAny?: boolean;
|
|
8399
8238
|
allowThrowingUnknown?: boolean;
|
|
8400
|
-
}];
|
|
8401
|
-
// ----- @typescript-eslint/prefer-readonly -----
|
|
8239
|
+
}]; // ----- @typescript-eslint/prefer-readonly -----
|
|
8402
8240
|
type TypescriptEslintPreferReadonly = [] | [{
|
|
8403
8241
|
onlyInlineLambdas?: boolean;
|
|
8404
|
-
}];
|
|
8405
|
-
// ----- @typescript-eslint/prefer-readonly-parameter-types -----
|
|
8242
|
+
}]; // ----- @typescript-eslint/prefer-readonly-parameter-types -----
|
|
8406
8243
|
type TypescriptEslintPreferReadonlyParameterTypes = [] | [{
|
|
8407
8244
|
allow?: (string | {
|
|
8408
8245
|
from: "file";
|
|
@@ -8419,12 +8256,10 @@ type TypescriptEslintPreferReadonlyParameterTypes = [] | [{
|
|
|
8419
8256
|
checkParameterProperties?: boolean;
|
|
8420
8257
|
ignoreInferredTypes?: boolean;
|
|
8421
8258
|
treatMethodsAsReadonly?: boolean;
|
|
8422
|
-
}];
|
|
8423
|
-
// ----- @typescript-eslint/prefer-string-starts-ends-with -----
|
|
8259
|
+
}]; // ----- @typescript-eslint/prefer-string-starts-ends-with -----
|
|
8424
8260
|
type TypescriptEslintPreferStringStartsEndsWith = [] | [{
|
|
8425
8261
|
allowSingleElementEquality?: ("always" | "never");
|
|
8426
|
-
}];
|
|
8427
|
-
// ----- @typescript-eslint/promise-function-async -----
|
|
8262
|
+
}]; // ----- @typescript-eslint/promise-function-async -----
|
|
8428
8263
|
type TypescriptEslintPromiseFunctionAsync = [] | [{
|
|
8429
8264
|
allowAny?: boolean;
|
|
8430
8265
|
allowedPromiseNames?: string[];
|
|
@@ -8432,12 +8267,10 @@ type TypescriptEslintPromiseFunctionAsync = [] | [{
|
|
|
8432
8267
|
checkFunctionDeclarations?: boolean;
|
|
8433
8268
|
checkFunctionExpressions?: boolean;
|
|
8434
8269
|
checkMethodDeclarations?: boolean;
|
|
8435
|
-
}];
|
|
8436
|
-
// ----- @typescript-eslint/require-array-sort-compare -----
|
|
8270
|
+
}]; // ----- @typescript-eslint/require-array-sort-compare -----
|
|
8437
8271
|
type TypescriptEslintRequireArraySortCompare = [] | [{
|
|
8438
8272
|
ignoreStringArrays?: boolean;
|
|
8439
|
-
}];
|
|
8440
|
-
// ----- @typescript-eslint/restrict-plus-operands -----
|
|
8273
|
+
}]; // ----- @typescript-eslint/restrict-plus-operands -----
|
|
8441
8274
|
type TypescriptEslintRestrictPlusOperands = [] | [{
|
|
8442
8275
|
allowAny?: boolean;
|
|
8443
8276
|
allowBoolean?: boolean;
|
|
@@ -8445,8 +8278,7 @@ type TypescriptEslintRestrictPlusOperands = [] | [{
|
|
|
8445
8278
|
allowNumberAndString?: boolean;
|
|
8446
8279
|
allowRegExp?: boolean;
|
|
8447
8280
|
skipCompoundAssignments?: boolean;
|
|
8448
|
-
}];
|
|
8449
|
-
// ----- @typescript-eslint/restrict-template-expressions -----
|
|
8281
|
+
}]; // ----- @typescript-eslint/restrict-template-expressions -----
|
|
8450
8282
|
type TypescriptEslintRestrictTemplateExpressions = [] | [{
|
|
8451
8283
|
allowAny?: boolean;
|
|
8452
8284
|
allowArray?: boolean;
|
|
@@ -8467,17 +8299,14 @@ type TypescriptEslintRestrictTemplateExpressions = [] | [{
|
|
|
8467
8299
|
name: (string | [string, ...(string)[]]);
|
|
8468
8300
|
package: string;
|
|
8469
8301
|
})[];
|
|
8470
|
-
}];
|
|
8471
|
-
// ----- @typescript-eslint/
|
|
8472
|
-
type TypescriptEslintReturnAwait = [] | [(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)];
|
|
8473
|
-
// ----- @typescript-eslint/sort-type-constituents -----
|
|
8302
|
+
}]; // ----- @typescript-eslint/return-await -----
|
|
8303
|
+
type TypescriptEslintReturnAwait = [] | [(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]; // ----- @typescript-eslint/sort-type-constituents -----
|
|
8474
8304
|
type TypescriptEslintSortTypeConstituents = [] | [{
|
|
8475
8305
|
caseSensitive?: boolean;
|
|
8476
8306
|
checkIntersections?: boolean;
|
|
8477
8307
|
checkUnions?: boolean;
|
|
8478
8308
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[];
|
|
8479
|
-
}];
|
|
8480
|
-
// ----- @typescript-eslint/strict-boolean-expressions -----
|
|
8309
|
+
}]; // ----- @typescript-eslint/strict-boolean-expressions -----
|
|
8481
8310
|
type TypescriptEslintStrictBooleanExpressions = [] | [{
|
|
8482
8311
|
allowAny?: boolean;
|
|
8483
8312
|
allowNullableBoolean?: boolean;
|
|
@@ -8488,25 +8317,21 @@ type TypescriptEslintStrictBooleanExpressions = [] | [{
|
|
|
8488
8317
|
allowNumber?: boolean;
|
|
8489
8318
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
8490
8319
|
allowString?: boolean;
|
|
8491
|
-
}];
|
|
8492
|
-
// ----- @typescript-eslint/strict-void-return -----
|
|
8320
|
+
}]; // ----- @typescript-eslint/strict-void-return -----
|
|
8493
8321
|
type TypescriptEslintStrictVoidReturn = [] | [{
|
|
8494
8322
|
allowReturnAny?: boolean;
|
|
8495
|
-
}];
|
|
8496
|
-
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
8323
|
+
}]; // ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
8497
8324
|
type TypescriptEslintSwitchExhaustivenessCheck = [] | [{
|
|
8498
8325
|
allowDefaultCaseForExhaustiveSwitch?: boolean;
|
|
8499
8326
|
considerDefaultExhaustiveForUnions?: boolean;
|
|
8500
8327
|
defaultCaseCommentPattern?: string;
|
|
8501
8328
|
requireDefaultForNonUnion?: boolean;
|
|
8502
|
-
}];
|
|
8503
|
-
// ----- @typescript-eslint/triple-slash-reference -----
|
|
8329
|
+
}]; // ----- @typescript-eslint/triple-slash-reference -----
|
|
8504
8330
|
type TypescriptEslintTripleSlashReference = [] | [{
|
|
8505
8331
|
lib?: ("always" | "never");
|
|
8506
8332
|
path?: ("always" | "never");
|
|
8507
8333
|
types?: ("always" | "never" | "prefer-import");
|
|
8508
|
-
}];
|
|
8509
|
-
// ----- @typescript-eslint/typedef -----
|
|
8334
|
+
}]; // ----- @typescript-eslint/typedef -----
|
|
8510
8335
|
type TypescriptEslintTypedef = [] | [{
|
|
8511
8336
|
arrayDestructuring?: boolean;
|
|
8512
8337
|
arrowParameter?: boolean;
|
|
@@ -8516,28 +8341,23 @@ type TypescriptEslintTypedef = [] | [{
|
|
|
8516
8341
|
propertyDeclaration?: boolean;
|
|
8517
8342
|
variableDeclaration?: boolean;
|
|
8518
8343
|
variableDeclarationIgnoreFunction?: boolean;
|
|
8519
|
-
}];
|
|
8520
|
-
// ----- @typescript-eslint/unbound-method -----
|
|
8344
|
+
}]; // ----- @typescript-eslint/unbound-method -----
|
|
8521
8345
|
type TypescriptEslintUnboundMethod = [] | [{
|
|
8522
8346
|
ignoreStatic?: boolean;
|
|
8523
|
-
}];
|
|
8524
|
-
// ----- @typescript-eslint/unified-signatures -----
|
|
8347
|
+
}]; // ----- @typescript-eslint/unified-signatures -----
|
|
8525
8348
|
type TypescriptEslintUnifiedSignatures = [] | [{
|
|
8526
8349
|
ignoreDifferentlyNamedParameters?: boolean;
|
|
8527
8350
|
ignoreOverloadsWithDifferentJSDoc?: boolean;
|
|
8528
|
-
}];
|
|
8529
|
-
// ----- accessor-pairs -----
|
|
8351
|
+
}]; // ----- accessor-pairs -----
|
|
8530
8352
|
type AccessorPairs = [] | [{
|
|
8531
8353
|
getWithoutSet?: boolean;
|
|
8532
8354
|
setWithoutGet?: boolean;
|
|
8533
8355
|
enforceForClassMembers?: boolean;
|
|
8534
8356
|
enforceForTSTypes?: boolean;
|
|
8535
|
-
}];
|
|
8536
|
-
// ----- antfu/consistent-chaining -----
|
|
8357
|
+
}]; // ----- antfu/consistent-chaining -----
|
|
8537
8358
|
type AntfuConsistentChaining = [] | [{
|
|
8538
8359
|
allowLeadingPropertyAccess?: boolean;
|
|
8539
|
-
}];
|
|
8540
|
-
// ----- antfu/consistent-list-newline -----
|
|
8360
|
+
}]; // ----- antfu/consistent-list-newline -----
|
|
8541
8361
|
type AntfuConsistentListNewline = [] | [{
|
|
8542
8362
|
ArrayExpression?: boolean;
|
|
8543
8363
|
ArrayPattern?: boolean;
|
|
@@ -8559,30 +8379,25 @@ type AntfuConsistentListNewline = [] | [{
|
|
|
8559
8379
|
TSTypeLiteral?: boolean;
|
|
8560
8380
|
TSTypeParameterDeclaration?: boolean;
|
|
8561
8381
|
TSTypeParameterInstantiation?: boolean;
|
|
8562
|
-
}];
|
|
8563
|
-
// ----- antfu/indent-unindent -----
|
|
8382
|
+
}]; // ----- antfu/indent-unindent -----
|
|
8564
8383
|
type AntfuIndentUnindent = [] | [{
|
|
8565
8384
|
indent?: number;
|
|
8566
8385
|
tags?: string[];
|
|
8567
|
-
}];
|
|
8568
|
-
// ----- array-bracket-newline -----
|
|
8386
|
+
}]; // ----- array-bracket-newline -----
|
|
8569
8387
|
type ArrayBracketNewline = [] | [(("always" | "never" | "consistent") | {
|
|
8570
8388
|
multiline?: boolean;
|
|
8571
8389
|
minItems?: (number | null);
|
|
8572
|
-
})];
|
|
8573
|
-
// ----- array-bracket-spacing -----
|
|
8390
|
+
})]; // ----- array-bracket-spacing -----
|
|
8574
8391
|
type ArrayBracketSpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
8575
8392
|
singleValue?: boolean;
|
|
8576
8393
|
objectsInArrays?: boolean;
|
|
8577
8394
|
arraysInArrays?: boolean;
|
|
8578
|
-
}];
|
|
8579
|
-
// ----- array-callback-return -----
|
|
8395
|
+
}]; // ----- array-callback-return -----
|
|
8580
8396
|
type ArrayCallbackReturn = [] | [{
|
|
8581
8397
|
allowImplicit?: boolean;
|
|
8582
8398
|
checkForEach?: boolean;
|
|
8583
8399
|
allowVoid?: boolean;
|
|
8584
|
-
}];
|
|
8585
|
-
// ----- array-element-newline -----
|
|
8400
|
+
}]; // ----- array-element-newline -----
|
|
8586
8401
|
type ArrayElementNewline = [] | [(_ArrayElementNewlineBasicConfig | {
|
|
8587
8402
|
ArrayExpression?: _ArrayElementNewlineBasicConfig;
|
|
8588
8403
|
ArrayPattern?: _ArrayElementNewlineBasicConfig;
|
|
@@ -8590,32 +8405,26 @@ type ArrayElementNewline = [] | [(_ArrayElementNewlineBasicConfig | {
|
|
|
8590
8405
|
type _ArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
8591
8406
|
multiline?: boolean;
|
|
8592
8407
|
minItems?: (number | null);
|
|
8593
|
-
});
|
|
8594
|
-
// ----- arrow-body-style -----
|
|
8408
|
+
}); // ----- arrow-body-style -----
|
|
8595
8409
|
type ArrowBodyStyle = ([] | [("always" | "never")] | [] | ["as-needed"] | ["as-needed", {
|
|
8596
8410
|
requireReturnForObjectLiteral?: boolean;
|
|
8597
|
-
}]);
|
|
8598
|
-
// ----- arrow-parens -----
|
|
8411
|
+
}]); // ----- arrow-parens -----
|
|
8599
8412
|
type ArrowParens = [] | [("always" | "as-needed")] | [("always" | "as-needed"), {
|
|
8600
8413
|
requireForBlockBody?: boolean;
|
|
8601
|
-
}];
|
|
8602
|
-
// ----- arrow-spacing -----
|
|
8414
|
+
}]; // ----- arrow-spacing -----
|
|
8603
8415
|
type ArrowSpacing = [] | [{
|
|
8604
8416
|
before?: boolean;
|
|
8605
8417
|
after?: boolean;
|
|
8606
|
-
}];
|
|
8607
|
-
// ----- autofix/array-bracket-newline -----
|
|
8418
|
+
}]; // ----- autofix/array-bracket-newline -----
|
|
8608
8419
|
type AutofixArrayBracketNewline = [] | [(("always" | "never" | "consistent") | {
|
|
8609
8420
|
multiline?: boolean;
|
|
8610
8421
|
minItems?: (number | null);
|
|
8611
|
-
})];
|
|
8612
|
-
// ----- autofix/array-bracket-spacing -----
|
|
8422
|
+
})]; // ----- autofix/array-bracket-spacing -----
|
|
8613
8423
|
type AutofixArrayBracketSpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
8614
8424
|
singleValue?: boolean;
|
|
8615
8425
|
objectsInArrays?: boolean;
|
|
8616
8426
|
arraysInArrays?: boolean;
|
|
8617
|
-
}];
|
|
8618
|
-
// ----- autofix/array-element-newline -----
|
|
8427
|
+
}]; // ----- autofix/array-element-newline -----
|
|
8619
8428
|
type AutofixArrayElementNewline = [] | [(_AutofixArrayElementNewlineBasicConfig | {
|
|
8620
8429
|
ArrayExpression?: _AutofixArrayElementNewlineBasicConfig;
|
|
8621
8430
|
ArrayPattern?: _AutofixArrayElementNewlineBasicConfig;
|
|
@@ -8623,27 +8432,21 @@ type AutofixArrayElementNewline = [] | [(_AutofixArrayElementNewlineBasicConfig
|
|
|
8623
8432
|
type _AutofixArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
8624
8433
|
multiline?: boolean;
|
|
8625
8434
|
minItems?: (number | null);
|
|
8626
|
-
});
|
|
8627
|
-
// ----- autofix/arrow-body-style -----
|
|
8435
|
+
}); // ----- autofix/arrow-body-style -----
|
|
8628
8436
|
type AutofixArrowBodyStyle = ([] | [("always" | "never")] | [] | ["as-needed"] | ["as-needed", {
|
|
8629
8437
|
requireReturnForObjectLiteral?: boolean;
|
|
8630
|
-
}]);
|
|
8631
|
-
// ----- autofix/arrow-parens -----
|
|
8438
|
+
}]); // ----- autofix/arrow-parens -----
|
|
8632
8439
|
type AutofixArrowParens = [] | [("always" | "as-needed")] | [("always" | "as-needed"), {
|
|
8633
8440
|
requireForBlockBody?: boolean;
|
|
8634
|
-
}];
|
|
8635
|
-
// ----- autofix/arrow-spacing -----
|
|
8441
|
+
}]; // ----- autofix/arrow-spacing -----
|
|
8636
8442
|
type AutofixArrowSpacing = [] | [{
|
|
8637
8443
|
before?: boolean;
|
|
8638
8444
|
after?: boolean;
|
|
8639
|
-
}];
|
|
8640
|
-
// ----- autofix/
|
|
8641
|
-
type AutofixBlockSpacing = [] | [("always" | "never")];
|
|
8642
|
-
// ----- autofix/brace-style -----
|
|
8445
|
+
}]; // ----- autofix/block-spacing -----
|
|
8446
|
+
type AutofixBlockSpacing = [] | [("always" | "never")]; // ----- autofix/brace-style -----
|
|
8643
8447
|
type AutofixBraceStyle = [] | [("1tbs" | "stroustrup" | "allman")] | [("1tbs" | "stroustrup" | "allman"), {
|
|
8644
8448
|
allowSingleLine?: boolean;
|
|
8645
|
-
}];
|
|
8646
|
-
// ----- autofix/capitalized-comments -----
|
|
8449
|
+
}]; // ----- autofix/capitalized-comments -----
|
|
8647
8450
|
type AutofixCapitalizedComments = [] | [("always" | "never")] | [("always" | "never"), ({
|
|
8648
8451
|
ignorePattern?: string;
|
|
8649
8452
|
ignoreInlineComments?: boolean;
|
|
@@ -8659,8 +8462,7 @@ type AutofixCapitalizedComments = [] | [("always" | "never")] | [("always" | "ne
|
|
|
8659
8462
|
ignoreInlineComments?: boolean;
|
|
8660
8463
|
ignoreConsecutiveComments?: boolean;
|
|
8661
8464
|
};
|
|
8662
|
-
})];
|
|
8663
|
-
// ----- autofix/comma-dangle -----
|
|
8465
|
+
})]; // ----- autofix/comma-dangle -----
|
|
8664
8466
|
type AutofixCommaDangle = [] | [(_AutofixCommaDangleValue | {
|
|
8665
8467
|
arrays?: _AutofixCommaDangleValueWithIgnore;
|
|
8666
8468
|
objects?: _AutofixCommaDangleValueWithIgnore;
|
|
@@ -8669,48 +8471,36 @@ type AutofixCommaDangle = [] | [(_AutofixCommaDangleValue | {
|
|
|
8669
8471
|
functions?: _AutofixCommaDangleValueWithIgnore;
|
|
8670
8472
|
})];
|
|
8671
8473
|
type _AutofixCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
|
|
8672
|
-
type _AutofixCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline");
|
|
8673
|
-
// ----- autofix/comma-spacing -----
|
|
8474
|
+
type _AutofixCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline"); // ----- autofix/comma-spacing -----
|
|
8674
8475
|
type AutofixCommaSpacing = [] | [{
|
|
8675
8476
|
before?: boolean;
|
|
8676
8477
|
after?: boolean;
|
|
8677
|
-
}];
|
|
8678
|
-
// ----- autofix/comma-style -----
|
|
8478
|
+
}]; // ----- autofix/comma-style -----
|
|
8679
8479
|
type AutofixCommaStyle = [] | [("first" | "last")] | [("first" | "last"), {
|
|
8680
8480
|
exceptions?: {
|
|
8681
8481
|
[k: string]: boolean | undefined;
|
|
8682
8482
|
};
|
|
8683
|
-
}];
|
|
8684
|
-
// ----- autofix/computed-property-spacing -----
|
|
8483
|
+
}]; // ----- autofix/computed-property-spacing -----
|
|
8685
8484
|
type AutofixComputedPropertySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
8686
8485
|
enforceForClassMembers?: boolean;
|
|
8687
|
-
}];
|
|
8688
|
-
// ----- autofix/
|
|
8689
|
-
type
|
|
8690
|
-
// ----- autofix/dot-location -----
|
|
8691
|
-
type AutofixDotLocation = [] | [("object" | "property")];
|
|
8692
|
-
// ----- autofix/dot-notation -----
|
|
8486
|
+
}]; // ----- autofix/curly -----
|
|
8487
|
+
type AutofixCurly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]); // ----- autofix/dot-location -----
|
|
8488
|
+
type AutofixDotLocation = [] | [("object" | "property")]; // ----- autofix/dot-notation -----
|
|
8693
8489
|
type AutofixDotNotation = [] | [{
|
|
8694
8490
|
allowKeywords?: boolean;
|
|
8695
8491
|
allowPattern?: string;
|
|
8696
|
-
}];
|
|
8697
|
-
// ----- autofix/
|
|
8698
|
-
type AutofixEolLast = [] | [("always" | "never" | "unix" | "windows")];
|
|
8699
|
-
// ----- autofix/eqeqeq -----
|
|
8492
|
+
}]; // ----- autofix/eol-last -----
|
|
8493
|
+
type AutofixEolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- autofix/eqeqeq -----
|
|
8700
8494
|
type AutofixEqeqeq = ([] | ["always"] | ["always", {
|
|
8701
8495
|
null?: ("always" | "never" | "ignore");
|
|
8702
|
-
}] | [] | [("smart" | "allow-null")]);
|
|
8703
|
-
// ----- autofix/func-call-spacing -----
|
|
8496
|
+
}] | [] | [("smart" | "allow-null")]); // ----- autofix/func-call-spacing -----
|
|
8704
8497
|
type AutofixFuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
|
|
8705
8498
|
allowNewlines?: boolean;
|
|
8706
|
-
}]);
|
|
8707
|
-
// ----- autofix/function-
|
|
8708
|
-
type AutofixFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
|
|
8709
|
-
// ----- autofix/function-paren-newline -----
|
|
8499
|
+
}]); // ----- autofix/function-call-argument-newline -----
|
|
8500
|
+
type AutofixFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")]; // ----- autofix/function-paren-newline -----
|
|
8710
8501
|
type AutofixFunctionParenNewline = [] | [(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
8711
8502
|
minItems?: number;
|
|
8712
|
-
})];
|
|
8713
|
-
// ----- autofix/generator-star-spacing -----
|
|
8503
|
+
})]; // ----- autofix/generator-star-spacing -----
|
|
8714
8504
|
type AutofixGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
|
|
8715
8505
|
before?: boolean;
|
|
8716
8506
|
after?: boolean;
|
|
@@ -8726,10 +8516,8 @@ type AutofixGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neithe
|
|
|
8726
8516
|
before?: boolean;
|
|
8727
8517
|
after?: boolean;
|
|
8728
8518
|
});
|
|
8729
|
-
})];
|
|
8730
|
-
// ----- autofix/
|
|
8731
|
-
type AutofixImplicitArrowLinebreak = [] | [("beside" | "below")];
|
|
8732
|
-
// ----- autofix/indent -----
|
|
8519
|
+
})]; // ----- autofix/implicit-arrow-linebreak -----
|
|
8520
|
+
type AutofixImplicitArrowLinebreak = [] | [("beside" | "below")]; // ----- autofix/indent -----
|
|
8733
8521
|
type AutofixIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
8734
8522
|
SwitchCase?: number;
|
|
8735
8523
|
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
@@ -8760,8 +8548,7 @@ type AutofixIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
8760
8548
|
offsetTernaryExpressions?: boolean;
|
|
8761
8549
|
ignoredNodes?: string[];
|
|
8762
8550
|
ignoreComments?: boolean;
|
|
8763
|
-
}];
|
|
8764
|
-
// ----- autofix/indent-legacy -----
|
|
8551
|
+
}]; // ----- autofix/indent-legacy -----
|
|
8765
8552
|
type AutofixIndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
8766
8553
|
SwitchCase?: number;
|
|
8767
8554
|
VariableDeclarator?: (number | {
|
|
@@ -8788,10 +8575,8 @@ type AutofixIndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
8788
8575
|
};
|
|
8789
8576
|
ArrayExpression?: (number | "first");
|
|
8790
8577
|
ObjectExpression?: (number | "first");
|
|
8791
|
-
}];
|
|
8792
|
-
// ----- autofix/
|
|
8793
|
-
type AutofixJsxQuotes = [] | [("prefer-single" | "prefer-double")];
|
|
8794
|
-
// ----- autofix/key-spacing -----
|
|
8578
|
+
}]; // ----- autofix/jsx-quotes -----
|
|
8579
|
+
type AutofixJsxQuotes = [] | [("prefer-single" | "prefer-double")]; // ----- autofix/key-spacing -----
|
|
8795
8580
|
type AutofixKeySpacing = [] | [({
|
|
8796
8581
|
align?: (("colon" | "value") | {
|
|
8797
8582
|
mode?: ("strict" | "minimum");
|
|
@@ -8836,8 +8621,7 @@ type AutofixKeySpacing = [] | [({
|
|
|
8836
8621
|
beforeColon?: boolean;
|
|
8837
8622
|
afterColon?: boolean;
|
|
8838
8623
|
};
|
|
8839
|
-
})];
|
|
8840
|
-
// ----- autofix/keyword-spacing -----
|
|
8624
|
+
})]; // ----- autofix/keyword-spacing -----
|
|
8841
8625
|
type AutofixKeywordSpacing = [] | [{
|
|
8842
8626
|
before?: boolean;
|
|
8843
8627
|
after?: boolean;
|
|
@@ -9115,10 +8899,8 @@ type AutofixKeywordSpacing = [] | [{
|
|
|
9115
8899
|
after?: boolean;
|
|
9116
8900
|
};
|
|
9117
8901
|
};
|
|
9118
|
-
}];
|
|
9119
|
-
// ----- autofix/
|
|
9120
|
-
type AutofixLinebreakStyle = [] | [("unix" | "windows")];
|
|
9121
|
-
// ----- autofix/lines-around-comment -----
|
|
8902
|
+
}]; // ----- autofix/linebreak-style -----
|
|
8903
|
+
type AutofixLinebreakStyle = [] | [("unix" | "windows")]; // ----- autofix/lines-around-comment -----
|
|
9122
8904
|
type AutofixLinesAroundComment = [] | [{
|
|
9123
8905
|
beforeBlockComment?: boolean;
|
|
9124
8906
|
afterBlockComment?: boolean;
|
|
@@ -9135,13 +8917,11 @@ type AutofixLinesAroundComment = [] | [{
|
|
|
9135
8917
|
ignorePattern?: string;
|
|
9136
8918
|
applyDefaultIgnorePatterns?: boolean;
|
|
9137
8919
|
afterHashbangComment?: boolean;
|
|
9138
|
-
}];
|
|
9139
|
-
// ----- autofix/lines-around-directive -----
|
|
8920
|
+
}]; // ----- autofix/lines-around-directive -----
|
|
9140
8921
|
type AutofixLinesAroundDirective = [] | [(("always" | "never") | {
|
|
9141
8922
|
before?: ("always" | "never");
|
|
9142
8923
|
after?: ("always" | "never");
|
|
9143
|
-
})];
|
|
9144
|
-
// ----- autofix/lines-between-class-members -----
|
|
8924
|
+
})]; // ----- autofix/lines-between-class-members -----
|
|
9145
8925
|
type AutofixLinesBetweenClassMembers = [] | [({
|
|
9146
8926
|
enforce: [{
|
|
9147
8927
|
blankLine: ("always" | "never");
|
|
@@ -9164,45 +8944,34 @@ type AutofixLinesBetweenClassMembers = [] | [({
|
|
|
9164
8944
|
})[]];
|
|
9165
8945
|
} | ("always" | "never")), {
|
|
9166
8946
|
exceptAfterSingleLine?: boolean;
|
|
9167
|
-
}];
|
|
9168
|
-
// ----- autofix/logical-assignment-operators -----
|
|
8947
|
+
}]; // ----- autofix/logical-assignment-operators -----
|
|
9169
8948
|
type AutofixLogicalAssignmentOperators = (([] | ["always"] | ["always", {
|
|
9170
8949
|
enforceForIfStatements?: boolean;
|
|
9171
|
-
}] | ["never"]) & unknown[]);
|
|
9172
|
-
// ----- autofix/multiline-comment-style -----
|
|
8950
|
+
}] | ["never"]) & unknown[]); // ----- autofix/multiline-comment-style -----
|
|
9173
8951
|
type AutofixMultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
|
|
9174
8952
|
checkJSDoc?: boolean;
|
|
9175
|
-
}]);
|
|
9176
|
-
// ----- autofix/
|
|
9177
|
-
type
|
|
9178
|
-
// ----- autofix/
|
|
9179
|
-
type AutofixNewParens = [] | [("always" | "never")];
|
|
9180
|
-
// ----- autofix/newline-after-var -----
|
|
9181
|
-
type AutofixNewlineAfterVar = [] | [("never" | "always")];
|
|
9182
|
-
// ----- autofix/newline-per-chained-call -----
|
|
8953
|
+
}]); // ----- autofix/multiline-ternary -----
|
|
8954
|
+
type AutofixMultilineTernary = [] | [("always" | "always-multiline" | "never")]; // ----- autofix/new-parens -----
|
|
8955
|
+
type AutofixNewParens = [] | [("always" | "never")]; // ----- autofix/newline-after-var -----
|
|
8956
|
+
type AutofixNewlineAfterVar = [] | [("never" | "always")]; // ----- autofix/newline-per-chained-call -----
|
|
9183
8957
|
type AutofixNewlinePerChainedCall = [] | [{
|
|
9184
8958
|
ignoreChainWithDepth?: number;
|
|
9185
|
-
}];
|
|
9186
|
-
// ----- autofix/no-confusing-arrow -----
|
|
8959
|
+
}]; // ----- autofix/no-confusing-arrow -----
|
|
9187
8960
|
type AutofixNoConfusingArrow = [] | [{
|
|
9188
8961
|
allowParens?: boolean;
|
|
9189
8962
|
onlyOneSimpleParam?: boolean;
|
|
9190
|
-
}];
|
|
9191
|
-
// ----- autofix/no-console -----
|
|
8963
|
+
}]; // ----- autofix/no-console -----
|
|
9192
8964
|
type AutofixNoConsole = [] | [{
|
|
9193
8965
|
allow?: [string, ...(string)[]];
|
|
9194
|
-
}];
|
|
9195
|
-
// ----- autofix/no-else-return -----
|
|
8966
|
+
}]; // ----- autofix/no-else-return -----
|
|
9196
8967
|
type AutofixNoElseReturn = [] | [{
|
|
9197
8968
|
allowElseIf?: boolean;
|
|
9198
|
-
}];
|
|
9199
|
-
// ----- autofix/no-extra-boolean-cast -----
|
|
8969
|
+
}]; // ----- autofix/no-extra-boolean-cast -----
|
|
9200
8970
|
type AutofixNoExtraBooleanCast = [] | [({
|
|
9201
8971
|
enforceForInnerExpressions?: boolean;
|
|
9202
8972
|
} | {
|
|
9203
8973
|
enforceForLogicalOperands?: boolean;
|
|
9204
|
-
})];
|
|
9205
|
-
// ----- autofix/no-extra-parens -----
|
|
8974
|
+
})]; // ----- autofix/no-extra-parens -----
|
|
9206
8975
|
type AutofixNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
9207
8976
|
conditionalAssign?: boolean;
|
|
9208
8977
|
ternaryOperandBinaryExpressions?: boolean;
|
|
@@ -9214,42 +8983,35 @@ type AutofixNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
9214
8983
|
enforceForNewInMemberExpressions?: boolean;
|
|
9215
8984
|
enforceForFunctionPrototypeMethods?: boolean;
|
|
9216
8985
|
allowParensAfterCommentPattern?: string;
|
|
9217
|
-
}]);
|
|
9218
|
-
// ----- autofix/no-implicit-coercion -----
|
|
8986
|
+
}]); // ----- autofix/no-implicit-coercion -----
|
|
9219
8987
|
type AutofixNoImplicitCoercion = [] | [{
|
|
9220
8988
|
boolean?: boolean;
|
|
9221
8989
|
number?: boolean;
|
|
9222
8990
|
string?: boolean;
|
|
9223
8991
|
disallowTemplateShorthand?: boolean;
|
|
9224
8992
|
allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[];
|
|
9225
|
-
}];
|
|
9226
|
-
// ----- autofix/no-multi-spaces -----
|
|
8993
|
+
}]; // ----- autofix/no-multi-spaces -----
|
|
9227
8994
|
type AutofixNoMultiSpaces = [] | [{
|
|
9228
8995
|
exceptions?: {
|
|
9229
8996
|
[k: string]: boolean;
|
|
9230
8997
|
};
|
|
9231
8998
|
ignoreEOLComments?: boolean;
|
|
9232
|
-
}];
|
|
9233
|
-
// ----- autofix/no-multiple-empty-lines -----
|
|
8999
|
+
}]; // ----- autofix/no-multiple-empty-lines -----
|
|
9234
9000
|
type AutofixNoMultipleEmptyLines = [] | [{
|
|
9235
9001
|
max: number;
|
|
9236
9002
|
maxEOF?: number;
|
|
9237
9003
|
maxBOF?: number;
|
|
9238
|
-
}];
|
|
9239
|
-
// ----- autofix/no-plusplus -----
|
|
9004
|
+
}]; // ----- autofix/no-plusplus -----
|
|
9240
9005
|
type AutofixNoPlusplus = [] | [{
|
|
9241
9006
|
allowForLoopAfterthoughts?: boolean;
|
|
9242
|
-
}];
|
|
9243
|
-
// ----- autofix/no-trailing-spaces -----
|
|
9007
|
+
}]; // ----- autofix/no-trailing-spaces -----
|
|
9244
9008
|
type AutofixNoTrailingSpaces = [] | [{
|
|
9245
9009
|
skipBlankLines?: boolean;
|
|
9246
9010
|
ignoreComments?: boolean;
|
|
9247
|
-
}];
|
|
9248
|
-
// ----- autofix/no-unneeded-ternary -----
|
|
9011
|
+
}]; // ----- autofix/no-unneeded-ternary -----
|
|
9249
9012
|
type AutofixNoUnneededTernary = [] | [{
|
|
9250
9013
|
defaultAssignment?: boolean;
|
|
9251
|
-
}];
|
|
9252
|
-
// ----- autofix/no-unused-vars -----
|
|
9014
|
+
}]; // ----- autofix/no-unused-vars -----
|
|
9253
9015
|
type AutofixNoUnusedVars = [] | [(("all" | "local") | {
|
|
9254
9016
|
vars?: ("all" | "local");
|
|
9255
9017
|
varsIgnorePattern?: string;
|
|
@@ -9262,18 +9024,15 @@ type AutofixNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
9262
9024
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
9263
9025
|
ignoreUsingDeclarations?: boolean;
|
|
9264
9026
|
reportUsedIgnorePattern?: boolean;
|
|
9265
|
-
})];
|
|
9266
|
-
// ----- autofix/no-useless-computed-key -----
|
|
9027
|
+
})]; // ----- autofix/no-useless-computed-key -----
|
|
9267
9028
|
type AutofixNoUselessComputedKey = [] | [{
|
|
9268
9029
|
enforceForClassMembers?: boolean;
|
|
9269
|
-
}];
|
|
9270
|
-
// ----- autofix/no-useless-rename -----
|
|
9030
|
+
}]; // ----- autofix/no-useless-rename -----
|
|
9271
9031
|
type AutofixNoUselessRename = [] | [{
|
|
9272
9032
|
ignoreDestructuring?: boolean;
|
|
9273
9033
|
ignoreImport?: boolean;
|
|
9274
9034
|
ignoreExport?: boolean;
|
|
9275
|
-
}];
|
|
9276
|
-
// ----- autofix/nonblock-statement-body-position -----
|
|
9035
|
+
}]; // ----- autofix/nonblock-statement-body-position -----
|
|
9277
9036
|
type AutofixNonblockStatementBodyPosition = [] | [("beside" | "below" | "any")] | [("beside" | "below" | "any"), {
|
|
9278
9037
|
overrides?: {
|
|
9279
9038
|
if?: ("beside" | "below" | "any");
|
|
@@ -9282,8 +9041,7 @@ type AutofixNonblockStatementBodyPosition = [] | [("beside" | "below" | "any")]
|
|
|
9282
9041
|
do?: ("beside" | "below" | "any");
|
|
9283
9042
|
for?: ("beside" | "below" | "any");
|
|
9284
9043
|
};
|
|
9285
|
-
}];
|
|
9286
|
-
// ----- autofix/object-curly-newline -----
|
|
9044
|
+
}]; // ----- autofix/object-curly-newline -----
|
|
9287
9045
|
type AutofixObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
9288
9046
|
multiline?: boolean;
|
|
9289
9047
|
minProperties?: number;
|
|
@@ -9309,18 +9067,15 @@ type AutofixObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
9309
9067
|
minProperties?: number;
|
|
9310
9068
|
consistent?: boolean;
|
|
9311
9069
|
});
|
|
9312
|
-
})];
|
|
9313
|
-
// ----- autofix/object-curly-spacing -----
|
|
9070
|
+
})]; // ----- autofix/object-curly-spacing -----
|
|
9314
9071
|
type AutofixObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
9315
9072
|
arraysInObjects?: boolean;
|
|
9316
9073
|
objectsInObjects?: boolean;
|
|
9317
|
-
}];
|
|
9318
|
-
// ----- autofix/object-property-newline -----
|
|
9074
|
+
}]; // ----- autofix/object-property-newline -----
|
|
9319
9075
|
type AutofixObjectPropertyNewline = [] | [{
|
|
9320
9076
|
allowAllPropertiesOnSameLine?: boolean;
|
|
9321
9077
|
allowMultiplePropertiesPerLine?: boolean;
|
|
9322
|
-
}];
|
|
9323
|
-
// ----- autofix/object-shorthand -----
|
|
9078
|
+
}]; // ----- autofix/object-shorthand -----
|
|
9324
9079
|
type AutofixObjectShorthand = ([] | [("always" | "methods" | "properties" | "never" | "consistent" | "consistent-as-needed")] | [] | [("always" | "methods" | "properties")] | [("always" | "methods" | "properties"), {
|
|
9325
9080
|
avoidQuotes?: boolean;
|
|
9326
9081
|
}] | [] | [("always" | "methods")] | [("always" | "methods"), {
|
|
@@ -9328,8 +9083,7 @@ type AutofixObjectShorthand = ([] | [("always" | "methods" | "properties" | "nev
|
|
|
9328
9083
|
methodsIgnorePattern?: string;
|
|
9329
9084
|
avoidQuotes?: boolean;
|
|
9330
9085
|
avoidExplicitReturnArrows?: boolean;
|
|
9331
|
-
}]);
|
|
9332
|
-
// ----- autofix/one-var -----
|
|
9086
|
+
}]); // ----- autofix/one-var -----
|
|
9333
9087
|
type AutofixOneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
9334
9088
|
separateRequires?: boolean;
|
|
9335
9089
|
var?: ("always" | "never" | "consecutive");
|
|
@@ -9340,18 +9094,14 @@ type AutofixOneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
|
9340
9094
|
} | {
|
|
9341
9095
|
initialized?: ("always" | "never" | "consecutive");
|
|
9342
9096
|
uninitialized?: ("always" | "never" | "consecutive");
|
|
9343
|
-
})];
|
|
9344
|
-
// ----- autofix/
|
|
9345
|
-
type
|
|
9346
|
-
// ----- autofix/operator-assignment -----
|
|
9347
|
-
type AutofixOperatorAssignment = [] | [("always" | "never")];
|
|
9348
|
-
// ----- autofix/operator-linebreak -----
|
|
9097
|
+
})]; // ----- autofix/one-var-declaration-per-line -----
|
|
9098
|
+
type AutofixOneVarDeclarationPerLine = [] | [("always" | "initializations")]; // ----- autofix/operator-assignment -----
|
|
9099
|
+
type AutofixOperatorAssignment = [] | [("always" | "never")]; // ----- autofix/operator-linebreak -----
|
|
9349
9100
|
type AutofixOperatorLinebreak = [] | [("after" | "before" | "none" | null)] | [("after" | "before" | "none" | null), {
|
|
9350
9101
|
overrides?: {
|
|
9351
9102
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined;
|
|
9352
9103
|
};
|
|
9353
|
-
}];
|
|
9354
|
-
// ----- autofix/padded-blocks -----
|
|
9104
|
+
}]; // ----- autofix/padded-blocks -----
|
|
9355
9105
|
type AutofixPaddedBlocks = [] | [(("always" | "never") | {
|
|
9356
9106
|
blocks?: ("always" | "never");
|
|
9357
9107
|
switches?: ("always" | "never");
|
|
@@ -9362,26 +9112,22 @@ type AutofixPaddedBlocks = [] | [(("always" | "never") | {
|
|
|
9362
9112
|
classes?: ("always" | "never");
|
|
9363
9113
|
}), {
|
|
9364
9114
|
allowSingleLineBlocks?: boolean;
|
|
9365
|
-
}];
|
|
9366
|
-
// ----- autofix/padding-line-between-statements -----
|
|
9115
|
+
}]; // ----- autofix/padding-line-between-statements -----
|
|
9367
9116
|
type _AutofixPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
9368
9117
|
type _AutofixPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with") | [("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with"), ...(("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with"))[]]);
|
|
9369
9118
|
type AutofixPaddingLineBetweenStatements = {
|
|
9370
9119
|
blankLine: _AutofixPaddingLineBetweenStatementsPaddingType;
|
|
9371
9120
|
prev: _AutofixPaddingLineBetweenStatementsStatementType;
|
|
9372
9121
|
next: _AutofixPaddingLineBetweenStatementsStatementType;
|
|
9373
|
-
}[];
|
|
9374
|
-
// ----- autofix/prefer-arrow-callback -----
|
|
9122
|
+
}[]; // ----- autofix/prefer-arrow-callback -----
|
|
9375
9123
|
type AutofixPreferArrowCallback = [] | [{
|
|
9376
9124
|
allowNamedFunctions?: boolean;
|
|
9377
9125
|
allowUnboundThis?: boolean;
|
|
9378
|
-
}];
|
|
9379
|
-
// ----- autofix/prefer-const -----
|
|
9126
|
+
}]; // ----- autofix/prefer-const -----
|
|
9380
9127
|
type AutofixPreferConst = [] | [{
|
|
9381
9128
|
destructuring?: ("any" | "all");
|
|
9382
9129
|
ignoreReadBeforeAssign?: boolean;
|
|
9383
|
-
}];
|
|
9384
|
-
// ----- autofix/prefer-destructuring -----
|
|
9130
|
+
}]; // ----- autofix/prefer-destructuring -----
|
|
9385
9131
|
type AutofixPreferDestructuring = [] | [({
|
|
9386
9132
|
VariableDeclarator?: {
|
|
9387
9133
|
array?: boolean;
|
|
@@ -9408,77 +9154,62 @@ type AutofixPreferDestructuring = [] | [({
|
|
|
9408
9154
|
object?: boolean;
|
|
9409
9155
|
}), {
|
|
9410
9156
|
enforceForRenamedProperties?: boolean;
|
|
9411
|
-
}];
|
|
9412
|
-
// ----- autofix/quote-props -----
|
|
9157
|
+
}]; // ----- autofix/quote-props -----
|
|
9413
9158
|
type AutofixQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
9414
9159
|
keywords?: boolean;
|
|
9415
9160
|
unnecessary?: boolean;
|
|
9416
9161
|
numbers?: boolean;
|
|
9417
|
-
}]);
|
|
9418
|
-
// ----- autofix/quotes -----
|
|
9162
|
+
}]); // ----- autofix/quotes -----
|
|
9419
9163
|
type AutofixQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
9420
9164
|
avoidEscape?: boolean;
|
|
9421
9165
|
allowTemplateLiterals?: boolean;
|
|
9422
|
-
})];
|
|
9423
|
-
// ----- autofix/
|
|
9424
|
-
type
|
|
9425
|
-
// ----- autofix/rest-spread-spacing -----
|
|
9426
|
-
type AutofixRestSpreadSpacing = [] | [("always" | "never")];
|
|
9427
|
-
// ----- autofix/semi -----
|
|
9166
|
+
})]; // ----- autofix/radix -----
|
|
9167
|
+
type AutofixRadix = [] | [("always" | "as-needed")]; // ----- autofix/rest-spread-spacing -----
|
|
9168
|
+
type AutofixRestSpreadSpacing = [] | [("always" | "never")]; // ----- autofix/semi -----
|
|
9428
9169
|
type AutofixSemi = ([] | ["never"] | ["never", {
|
|
9429
9170
|
beforeStatementContinuationChars?: ("always" | "any" | "never");
|
|
9430
9171
|
}] | [] | ["always"] | ["always", {
|
|
9431
9172
|
omitLastInOneLineBlock?: boolean;
|
|
9432
9173
|
omitLastInOneLineClassBody?: boolean;
|
|
9433
|
-
}]);
|
|
9434
|
-
// ----- autofix/semi-spacing -----
|
|
9174
|
+
}]); // ----- autofix/semi-spacing -----
|
|
9435
9175
|
type AutofixSemiSpacing = [] | [{
|
|
9436
9176
|
before?: boolean;
|
|
9437
9177
|
after?: boolean;
|
|
9438
|
-
}];
|
|
9439
|
-
// ----- autofix/
|
|
9440
|
-
type AutofixSemiStyle = [] | [("last" | "first")];
|
|
9441
|
-
// ----- autofix/sort-imports -----
|
|
9178
|
+
}]; // ----- autofix/semi-style -----
|
|
9179
|
+
type AutofixSemiStyle = [] | [("last" | "first")]; // ----- autofix/sort-imports -----
|
|
9442
9180
|
type AutofixSortImports = [] | [{
|
|
9443
9181
|
ignoreCase?: boolean;
|
|
9444
9182
|
memberSyntaxSortOrder?: [("none" | "all" | "multiple" | "single"), ("none" | "all" | "multiple" | "single"), ("none" | "all" | "multiple" | "single"), ("none" | "all" | "multiple" | "single")];
|
|
9445
9183
|
ignoreDeclarationSort?: boolean;
|
|
9446
9184
|
ignoreMemberSort?: boolean;
|
|
9447
9185
|
allowSeparatedGroups?: boolean;
|
|
9448
|
-
}];
|
|
9449
|
-
// ----- autofix/sort-vars -----
|
|
9186
|
+
}]; // ----- autofix/sort-vars -----
|
|
9450
9187
|
type AutofixSortVars = [] | [{
|
|
9451
9188
|
ignoreCase?: boolean;
|
|
9452
|
-
}];
|
|
9453
|
-
// ----- autofix/space-before-blocks -----
|
|
9189
|
+
}]; // ----- autofix/space-before-blocks -----
|
|
9454
9190
|
type AutofixSpaceBeforeBlocks = [] | [(("always" | "never") | {
|
|
9455
9191
|
keywords?: ("always" | "never" | "off");
|
|
9456
9192
|
functions?: ("always" | "never" | "off");
|
|
9457
9193
|
classes?: ("always" | "never" | "off");
|
|
9458
|
-
})];
|
|
9459
|
-
// ----- autofix/space-before-function-paren -----
|
|
9194
|
+
})]; // ----- autofix/space-before-function-paren -----
|
|
9460
9195
|
type AutofixSpaceBeforeFunctionParen = [] | [(("always" | "never") | {
|
|
9461
9196
|
anonymous?: ("always" | "never" | "ignore");
|
|
9462
9197
|
named?: ("always" | "never" | "ignore");
|
|
9463
9198
|
asyncArrow?: ("always" | "never" | "ignore");
|
|
9464
|
-
})];
|
|
9465
|
-
// ----- autofix/space-in-parens -----
|
|
9199
|
+
})]; // ----- autofix/space-in-parens -----
|
|
9466
9200
|
type AutofixSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
|
|
9467
9201
|
exceptions?: ("{}" | "[]" | "()" | "empty")[];
|
|
9468
|
-
}];
|
|
9469
|
-
// ----- autofix/space-infix-ops -----
|
|
9202
|
+
}]; // ----- autofix/space-infix-ops -----
|
|
9470
9203
|
type AutofixSpaceInfixOps = [] | [{
|
|
9471
9204
|
int32Hint?: boolean;
|
|
9472
|
-
}];
|
|
9473
|
-
// ----- autofix/space-unary-ops -----
|
|
9205
|
+
}]; // ----- autofix/space-unary-ops -----
|
|
9474
9206
|
type AutofixSpaceUnaryOps = [] | [{
|
|
9475
9207
|
words?: boolean;
|
|
9476
9208
|
nonwords?: boolean;
|
|
9477
9209
|
overrides?: {
|
|
9478
9210
|
[k: string]: boolean | undefined;
|
|
9479
9211
|
};
|
|
9480
|
-
}];
|
|
9481
|
-
// ----- autofix/spaced-comment -----
|
|
9212
|
+
}]; // ----- autofix/spaced-comment -----
|
|
9482
9213
|
type AutofixSpacedComment = [] | [("always" | "never")] | [("always" | "never"), {
|
|
9483
9214
|
exceptions?: string[];
|
|
9484
9215
|
markers?: string[];
|
|
@@ -9491,39 +9222,29 @@ type AutofixSpacedComment = [] | [("always" | "never")] | [("always" | "never"),
|
|
|
9491
9222
|
markers?: string[];
|
|
9492
9223
|
balanced?: boolean;
|
|
9493
9224
|
};
|
|
9494
|
-
}];
|
|
9495
|
-
// ----- autofix/
|
|
9496
|
-
type AutofixStrict = [] | [("never" | "global" | "function" | "safe")];
|
|
9497
|
-
// ----- autofix/switch-colon-spacing -----
|
|
9225
|
+
}]; // ----- autofix/strict -----
|
|
9226
|
+
type AutofixStrict = [] | [("never" | "global" | "function" | "safe")]; // ----- autofix/switch-colon-spacing -----
|
|
9498
9227
|
type AutofixSwitchColonSpacing = [] | [{
|
|
9499
9228
|
before?: boolean;
|
|
9500
9229
|
after?: boolean;
|
|
9501
|
-
}];
|
|
9502
|
-
// ----- autofix/template-
|
|
9503
|
-
type
|
|
9504
|
-
// ----- autofix/
|
|
9505
|
-
type AutofixTemplateTagSpacing = [] | [("always" | "never")];
|
|
9506
|
-
// ----- autofix/unicode-bom -----
|
|
9507
|
-
type AutofixUnicodeBom = [] | [("always" | "never")];
|
|
9508
|
-
// ----- autofix/valid-typeof -----
|
|
9230
|
+
}]; // ----- autofix/template-curly-spacing -----
|
|
9231
|
+
type AutofixTemplateCurlySpacing = [] | [("always" | "never")]; // ----- autofix/template-tag-spacing -----
|
|
9232
|
+
type AutofixTemplateTagSpacing = [] | [("always" | "never")]; // ----- autofix/unicode-bom -----
|
|
9233
|
+
type AutofixUnicodeBom = [] | [("always" | "never")]; // ----- autofix/valid-typeof -----
|
|
9509
9234
|
type AutofixValidTypeof = [] | [{
|
|
9510
9235
|
requireStringLiterals?: boolean;
|
|
9511
|
-
}];
|
|
9512
|
-
// ----- autofix/wrap-iife -----
|
|
9236
|
+
}]; // ----- autofix/wrap-iife -----
|
|
9513
9237
|
type AutofixWrapIife = [] | [("outside" | "inside" | "any")] | [("outside" | "inside" | "any"), {
|
|
9514
9238
|
functionPrototypeMethods?: boolean;
|
|
9515
|
-
}];
|
|
9516
|
-
// ----- autofix/yield-star-spacing -----
|
|
9239
|
+
}]; // ----- autofix/yield-star-spacing -----
|
|
9517
9240
|
type AutofixYieldStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
|
|
9518
9241
|
before?: boolean;
|
|
9519
9242
|
after?: boolean;
|
|
9520
|
-
})];
|
|
9521
|
-
// ----- autofix/yoda -----
|
|
9243
|
+
})]; // ----- autofix/yoda -----
|
|
9522
9244
|
type AutofixYoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
9523
9245
|
exceptRange?: boolean;
|
|
9524
9246
|
onlyEquality?: boolean;
|
|
9525
|
-
}];
|
|
9526
|
-
// ----- better-tailwindcss/enforce-canonical-classes -----
|
|
9247
|
+
}]; // ----- better-tailwindcss/enforce-canonical-classes -----
|
|
9527
9248
|
type BetterTailwindcssEnforceCanonicalClasses = [] | [{
|
|
9528
9249
|
callees?: ([string, ({
|
|
9529
9250
|
match: "strings";
|
|
@@ -9569,8 +9290,7 @@ type BetterTailwindcssEnforceCanonicalClasses = [] | [{
|
|
|
9569
9290
|
rootFontSize?: number;
|
|
9570
9291
|
collapse?: boolean;
|
|
9571
9292
|
logical?: boolean;
|
|
9572
|
-
}];
|
|
9573
|
-
// ----- better-tailwindcss/enforce-consistent-class-order -----
|
|
9293
|
+
}]; // ----- better-tailwindcss/enforce-consistent-class-order -----
|
|
9574
9294
|
type BetterTailwindcssEnforceConsistentClassOrder = [] | [{
|
|
9575
9295
|
callees?: ([string, ({
|
|
9576
9296
|
match: "strings";
|
|
@@ -9619,8 +9339,7 @@ type BetterTailwindcssEnforceConsistentClassOrder = [] | [{
|
|
|
9619
9339
|
order?: ("asc" | "desc" | "official" | "strict");
|
|
9620
9340
|
unknownClassOrder?: ("asc" | "desc" | "preserve");
|
|
9621
9341
|
unknownClassPosition?: ("start" | "end");
|
|
9622
|
-
}];
|
|
9623
|
-
// ----- better-tailwindcss/enforce-consistent-important-position -----
|
|
9342
|
+
}]; // ----- better-tailwindcss/enforce-consistent-important-position -----
|
|
9624
9343
|
type BetterTailwindcssEnforceConsistentImportantPosition = [] | [{
|
|
9625
9344
|
callees?: ([string, ({
|
|
9626
9345
|
match: "strings";
|
|
@@ -9665,8 +9384,7 @@ type BetterTailwindcssEnforceConsistentImportantPosition = [] | [{
|
|
|
9665
9384
|
detectComponentClasses?: boolean;
|
|
9666
9385
|
rootFontSize?: number;
|
|
9667
9386
|
position?: ("legacy" | "recommended");
|
|
9668
|
-
}];
|
|
9669
|
-
// ----- better-tailwindcss/enforce-consistent-line-wrapping -----
|
|
9387
|
+
}]; // ----- better-tailwindcss/enforce-consistent-line-wrapping -----
|
|
9670
9388
|
type BetterTailwindcssEnforceConsistentLineWrapping = [] | [{
|
|
9671
9389
|
callees?: ([string, ({
|
|
9672
9390
|
match: "strings";
|
|
@@ -9717,8 +9435,7 @@ type BetterTailwindcssEnforceConsistentLineWrapping = [] | [{
|
|
|
9717
9435
|
preferSingleLine?: boolean;
|
|
9718
9436
|
printWidth?: number;
|
|
9719
9437
|
strictness?: ("strict" | "loose");
|
|
9720
|
-
}];
|
|
9721
|
-
// ----- better-tailwindcss/enforce-consistent-variable-syntax -----
|
|
9438
|
+
}]; // ----- better-tailwindcss/enforce-consistent-variable-syntax -----
|
|
9722
9439
|
type BetterTailwindcssEnforceConsistentVariableSyntax = [] | [{
|
|
9723
9440
|
callees?: ([string, ({
|
|
9724
9441
|
match: "strings";
|
|
@@ -9763,8 +9480,7 @@ type BetterTailwindcssEnforceConsistentVariableSyntax = [] | [{
|
|
|
9763
9480
|
detectComponentClasses?: boolean;
|
|
9764
9481
|
rootFontSize?: number;
|
|
9765
9482
|
syntax?: ("shorthand" | "variable");
|
|
9766
|
-
}];
|
|
9767
|
-
// ----- better-tailwindcss/enforce-shorthand-classes -----
|
|
9483
|
+
}]; // ----- better-tailwindcss/enforce-shorthand-classes -----
|
|
9768
9484
|
type BetterTailwindcssEnforceShorthandClasses = [] | [{
|
|
9769
9485
|
callees?: ([string, ({
|
|
9770
9486
|
match: "strings";
|
|
@@ -9808,8 +9524,7 @@ type BetterTailwindcssEnforceShorthandClasses = [] | [{
|
|
|
9808
9524
|
tsconfig?: string;
|
|
9809
9525
|
detectComponentClasses?: boolean;
|
|
9810
9526
|
rootFontSize?: number;
|
|
9811
|
-
}];
|
|
9812
|
-
// ----- better-tailwindcss/no-conflicting-classes -----
|
|
9527
|
+
}]; // ----- better-tailwindcss/no-conflicting-classes -----
|
|
9813
9528
|
type BetterTailwindcssNoConflictingClasses = [] | [{
|
|
9814
9529
|
callees?: ([string, ({
|
|
9815
9530
|
match: "strings";
|
|
@@ -9853,8 +9568,7 @@ type BetterTailwindcssNoConflictingClasses = [] | [{
|
|
|
9853
9568
|
tsconfig?: string;
|
|
9854
9569
|
detectComponentClasses?: boolean;
|
|
9855
9570
|
rootFontSize?: number;
|
|
9856
|
-
}];
|
|
9857
|
-
// ----- better-tailwindcss/no-deprecated-classes -----
|
|
9571
|
+
}]; // ----- better-tailwindcss/no-deprecated-classes -----
|
|
9858
9572
|
type BetterTailwindcssNoDeprecatedClasses = [] | [{
|
|
9859
9573
|
callees?: ([string, ({
|
|
9860
9574
|
match: "strings";
|
|
@@ -9898,8 +9612,7 @@ type BetterTailwindcssNoDeprecatedClasses = [] | [{
|
|
|
9898
9612
|
tsconfig?: string;
|
|
9899
9613
|
detectComponentClasses?: boolean;
|
|
9900
9614
|
rootFontSize?: number;
|
|
9901
|
-
}];
|
|
9902
|
-
// ----- better-tailwindcss/no-duplicate-classes -----
|
|
9615
|
+
}]; // ----- better-tailwindcss/no-duplicate-classes -----
|
|
9903
9616
|
type BetterTailwindcssNoDuplicateClasses = [] | [{
|
|
9904
9617
|
callees?: ([string, ({
|
|
9905
9618
|
match: "strings";
|
|
@@ -9943,8 +9656,7 @@ type BetterTailwindcssNoDuplicateClasses = [] | [{
|
|
|
9943
9656
|
tsconfig?: string;
|
|
9944
9657
|
detectComponentClasses?: boolean;
|
|
9945
9658
|
rootFontSize?: number;
|
|
9946
|
-
}];
|
|
9947
|
-
// ----- better-tailwindcss/no-restricted-classes -----
|
|
9659
|
+
}]; // ----- better-tailwindcss/no-restricted-classes -----
|
|
9948
9660
|
type BetterTailwindcssNoRestrictedClasses = [] | [{
|
|
9949
9661
|
callees?: ([string, ({
|
|
9950
9662
|
match: "strings";
|
|
@@ -9993,8 +9705,7 @@ type BetterTailwindcssNoRestrictedClasses = [] | [{
|
|
|
9993
9705
|
message?: string;
|
|
9994
9706
|
pattern: string;
|
|
9995
9707
|
} | string)[];
|
|
9996
|
-
}];
|
|
9997
|
-
// ----- better-tailwindcss/no-unknown-classes -----
|
|
9708
|
+
}]; // ----- better-tailwindcss/no-unknown-classes -----
|
|
9998
9709
|
type BetterTailwindcssNoUnknownClasses = [] | [{
|
|
9999
9710
|
callees?: ([string, ({
|
|
10000
9711
|
match: "strings";
|
|
@@ -10039,8 +9750,7 @@ type BetterTailwindcssNoUnknownClasses = [] | [{
|
|
|
10039
9750
|
detectComponentClasses?: boolean;
|
|
10040
9751
|
rootFontSize?: number;
|
|
10041
9752
|
ignore?: string[];
|
|
10042
|
-
}];
|
|
10043
|
-
// ----- better-tailwindcss/no-unnecessary-whitespace -----
|
|
9753
|
+
}]; // ----- better-tailwindcss/no-unnecessary-whitespace -----
|
|
10044
9754
|
type BetterTailwindcssNoUnnecessaryWhitespace = [] | [{
|
|
10045
9755
|
callees?: ([string, ({
|
|
10046
9756
|
match: "strings";
|
|
@@ -10085,24 +9795,19 @@ type BetterTailwindcssNoUnnecessaryWhitespace = [] | [{
|
|
|
10085
9795
|
detectComponentClasses?: boolean;
|
|
10086
9796
|
rootFontSize?: number;
|
|
10087
9797
|
allowMultiline?: boolean;
|
|
10088
|
-
}];
|
|
10089
|
-
// -----
|
|
10090
|
-
type BlockSpacing = [] | [("always" | "never")];
|
|
10091
|
-
// ----- brace-style -----
|
|
9798
|
+
}]; // ----- block-spacing -----
|
|
9799
|
+
type BlockSpacing = [] | [("always" | "never")]; // ----- brace-style -----
|
|
10092
9800
|
type BraceStyle = [] | [("1tbs" | "stroustrup" | "allman")] | [("1tbs" | "stroustrup" | "allman"), {
|
|
10093
9801
|
allowSingleLine?: boolean;
|
|
10094
|
-
}];
|
|
10095
|
-
// -----
|
|
10096
|
-
type CallbackReturn = [] | [string[]];
|
|
10097
|
-
// ----- camelcase -----
|
|
9802
|
+
}]; // ----- callback-return -----
|
|
9803
|
+
type CallbackReturn = [] | [string[]]; // ----- camelcase -----
|
|
10098
9804
|
type Camelcase = [] | [{
|
|
10099
9805
|
ignoreDestructuring?: boolean;
|
|
10100
9806
|
ignoreImports?: boolean;
|
|
10101
9807
|
ignoreGlobals?: boolean;
|
|
10102
9808
|
properties?: ("always" | "never");
|
|
10103
9809
|
allow?: string[];
|
|
10104
|
-
}];
|
|
10105
|
-
// ----- capitalized-comments -----
|
|
9810
|
+
}]; // ----- capitalized-comments -----
|
|
10106
9811
|
type CapitalizedComments = [] | [("always" | "never")] | [("always" | "never"), ({
|
|
10107
9812
|
ignorePattern?: string;
|
|
10108
9813
|
ignoreInlineComments?: boolean;
|
|
@@ -10118,15 +9823,13 @@ type CapitalizedComments = [] | [("always" | "never")] | [("always" | "never"),
|
|
|
10118
9823
|
ignoreInlineComments?: boolean;
|
|
10119
9824
|
ignoreConsecutiveComments?: boolean;
|
|
10120
9825
|
};
|
|
10121
|
-
})];
|
|
10122
|
-
// ----- class-methods-use-this -----
|
|
9826
|
+
})]; // ----- class-methods-use-this -----
|
|
10123
9827
|
type ClassMethodsUseThis = [] | [{
|
|
10124
9828
|
exceptMethods?: string[];
|
|
10125
9829
|
enforceForClassFields?: boolean;
|
|
10126
9830
|
ignoreOverrideMethods?: boolean;
|
|
10127
9831
|
ignoreClassesWithImplements?: ("all" | "public-fields");
|
|
10128
|
-
}];
|
|
10129
|
-
// ----- comma-dangle -----
|
|
9832
|
+
}]; // ----- comma-dangle -----
|
|
10130
9833
|
type CommaDangle = [] | [(_CommaDangleValue | {
|
|
10131
9834
|
arrays?: _CommaDangleValueWithIgnore;
|
|
10132
9835
|
objects?: _CommaDangleValueWithIgnore;
|
|
@@ -10135,98 +9838,77 @@ type CommaDangle = [] | [(_CommaDangleValue | {
|
|
|
10135
9838
|
functions?: _CommaDangleValueWithIgnore;
|
|
10136
9839
|
})];
|
|
10137
9840
|
type _CommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
|
|
10138
|
-
type _CommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline");
|
|
10139
|
-
// ----- comma-spacing -----
|
|
9841
|
+
type _CommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline"); // ----- comma-spacing -----
|
|
10140
9842
|
type CommaSpacing = [] | [{
|
|
10141
9843
|
before?: boolean;
|
|
10142
9844
|
after?: boolean;
|
|
10143
|
-
}];
|
|
10144
|
-
// ----- comma-style -----
|
|
9845
|
+
}]; // ----- comma-style -----
|
|
10145
9846
|
type CommaStyle = [] | [("first" | "last")] | [("first" | "last"), {
|
|
10146
9847
|
exceptions?: {
|
|
10147
9848
|
[k: string]: boolean | undefined;
|
|
10148
9849
|
};
|
|
10149
|
-
}];
|
|
10150
|
-
// ----- complexity -----
|
|
9850
|
+
}]; // ----- complexity -----
|
|
10151
9851
|
type Complexity = [] | [(number | {
|
|
10152
9852
|
maximum?: number;
|
|
10153
9853
|
max?: number;
|
|
10154
9854
|
variant?: ("classic" | "modified");
|
|
10155
|
-
})];
|
|
10156
|
-
// ----- computed-property-spacing -----
|
|
9855
|
+
})]; // ----- computed-property-spacing -----
|
|
10157
9856
|
type ComputedPropertySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
10158
9857
|
enforceForClassMembers?: boolean;
|
|
10159
|
-
}];
|
|
10160
|
-
// ----- consistent-return -----
|
|
9858
|
+
}]; // ----- consistent-return -----
|
|
10161
9859
|
type ConsistentReturn = [] | [{
|
|
10162
9860
|
treatUndefinedAsUnspecified?: boolean;
|
|
10163
|
-
}];
|
|
10164
|
-
// -----
|
|
10165
|
-
type
|
|
10166
|
-
// ----- curly -----
|
|
10167
|
-
type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]);
|
|
10168
|
-
// ----- default-case -----
|
|
9861
|
+
}]; // ----- consistent-this -----
|
|
9862
|
+
type ConsistentThis = string[]; // ----- curly -----
|
|
9863
|
+
type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]); // ----- default-case -----
|
|
10169
9864
|
type DefaultCase = [] | [{
|
|
10170
9865
|
commentPattern?: string;
|
|
10171
|
-
}];
|
|
10172
|
-
// ----- dot-
|
|
10173
|
-
type DotLocation = [] | [("object" | "property")];
|
|
10174
|
-
// ----- dot-notation -----
|
|
9866
|
+
}]; // ----- dot-location -----
|
|
9867
|
+
type DotLocation = [] | [("object" | "property")]; // ----- dot-notation -----
|
|
10175
9868
|
type DotNotation = [] | [{
|
|
10176
9869
|
allowKeywords?: boolean;
|
|
10177
9870
|
allowPattern?: string;
|
|
10178
|
-
}];
|
|
10179
|
-
// -----
|
|
10180
|
-
type EolLast = [] | [("always" | "never" | "unix" | "windows")];
|
|
10181
|
-
// ----- eqeqeq -----
|
|
9871
|
+
}]; // ----- eol-last -----
|
|
9872
|
+
type EolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- eqeqeq -----
|
|
10182
9873
|
type Eqeqeq = ([] | ["always"] | ["always", {
|
|
10183
9874
|
null?: ("always" | "never" | "ignore");
|
|
10184
|
-
}] | [] | [("smart" | "allow-null")]);
|
|
10185
|
-
// ----- format/dprint -----
|
|
9875
|
+
}] | [] | [("smart" | "allow-null")]); // ----- format/dprint -----
|
|
10186
9876
|
type FormatDprint = [] | [{
|
|
10187
9877
|
language?: string;
|
|
10188
9878
|
languageOptions?: {
|
|
10189
9879
|
[k: string]: unknown | undefined;
|
|
10190
9880
|
};
|
|
10191
9881
|
[k: string]: unknown | undefined;
|
|
10192
|
-
}];
|
|
10193
|
-
// ----- format/prettier -----
|
|
9882
|
+
}]; // ----- format/prettier -----
|
|
10194
9883
|
type FormatPrettier = [] | [{
|
|
10195
9884
|
parser?: string;
|
|
10196
9885
|
[k: string]: unknown | undefined;
|
|
10197
|
-
}];
|
|
10198
|
-
// ----- func-call-spacing -----
|
|
9886
|
+
}]; // ----- func-call-spacing -----
|
|
10199
9887
|
type FuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
|
|
10200
9888
|
allowNewlines?: boolean;
|
|
10201
|
-
}]);
|
|
10202
|
-
// ----- func-name-matching -----
|
|
9889
|
+
}]); // ----- func-name-matching -----
|
|
10203
9890
|
type FuncNameMatching = ([] | [("always" | "never")] | [("always" | "never"), {
|
|
10204
9891
|
considerPropertyDescriptor?: boolean;
|
|
10205
9892
|
includeCommonJSModuleExports?: boolean;
|
|
10206
9893
|
}] | [] | [{
|
|
10207
9894
|
considerPropertyDescriptor?: boolean;
|
|
10208
9895
|
includeCommonJSModuleExports?: boolean;
|
|
10209
|
-
}]);
|
|
10210
|
-
// ----- func-names -----
|
|
9896
|
+
}]); // ----- func-names -----
|
|
10211
9897
|
type FuncNames = [] | [_FuncNamesValue] | [_FuncNamesValue, {
|
|
10212
9898
|
generators?: _FuncNamesValue;
|
|
10213
9899
|
}];
|
|
10214
|
-
type _FuncNamesValue = ("always" | "as-needed" | "never");
|
|
10215
|
-
// ----- func-style -----
|
|
9900
|
+
type _FuncNamesValue = ("always" | "as-needed" | "never"); // ----- func-style -----
|
|
10216
9901
|
type FuncStyle = [] | [("declaration" | "expression")] | [("declaration" | "expression"), {
|
|
10217
9902
|
allowArrowFunctions?: boolean;
|
|
10218
9903
|
allowTypeAnnotation?: boolean;
|
|
10219
9904
|
overrides?: {
|
|
10220
9905
|
namedExports?: ("declaration" | "expression" | "ignore");
|
|
10221
9906
|
};
|
|
10222
|
-
}];
|
|
10223
|
-
// ----- function-
|
|
10224
|
-
type FunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
|
|
10225
|
-
// ----- function-paren-newline -----
|
|
9907
|
+
}]; // ----- function-call-argument-newline -----
|
|
9908
|
+
type FunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")]; // ----- function-paren-newline -----
|
|
10226
9909
|
type FunctionParenNewline = [] | [(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
10227
9910
|
minItems?: number;
|
|
10228
|
-
})];
|
|
10229
|
-
// ----- generator-star-spacing -----
|
|
9911
|
+
})]; // ----- generator-star-spacing -----
|
|
10230
9912
|
type GeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
|
|
10231
9913
|
before?: boolean;
|
|
10232
9914
|
after?: boolean;
|
|
@@ -10242,48 +9924,37 @@ type GeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
|
|
|
10242
9924
|
before?: boolean;
|
|
10243
9925
|
after?: boolean;
|
|
10244
9926
|
});
|
|
10245
|
-
})];
|
|
10246
|
-
// ----- getter-return -----
|
|
9927
|
+
})]; // ----- getter-return -----
|
|
10247
9928
|
type GetterReturn = [] | [{
|
|
10248
9929
|
allowImplicit?: boolean;
|
|
10249
|
-
}];
|
|
10250
|
-
// ----- grouped-accessor-pairs -----
|
|
9930
|
+
}]; // ----- grouped-accessor-pairs -----
|
|
10251
9931
|
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")] | [("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
|
|
10252
9932
|
enforceForTSTypes?: boolean;
|
|
10253
|
-
}];
|
|
10254
|
-
// -----
|
|
10255
|
-
type
|
|
10256
|
-
// ----- id-
|
|
10257
|
-
type IdBlacklist = string[];
|
|
10258
|
-
// ----- id-denylist -----
|
|
10259
|
-
type IdDenylist = string[];
|
|
10260
|
-
// ----- id-length -----
|
|
9933
|
+
}]; // ----- handle-callback-err -----
|
|
9934
|
+
type HandleCallbackErr = [] | [string]; // ----- id-blacklist -----
|
|
9935
|
+
type IdBlacklist = string[]; // ----- id-denylist -----
|
|
9936
|
+
type IdDenylist = string[]; // ----- id-length -----
|
|
10261
9937
|
type IdLength = [] | [{
|
|
10262
9938
|
min?: number;
|
|
10263
9939
|
max?: number;
|
|
10264
9940
|
exceptions?: string[];
|
|
10265
9941
|
exceptionPatterns?: string[];
|
|
10266
9942
|
properties?: ("always" | "never");
|
|
10267
|
-
}];
|
|
10268
|
-
// ----- id-match -----
|
|
9943
|
+
}]; // ----- id-match -----
|
|
10269
9944
|
type IdMatch = [] | [string] | [string, {
|
|
10270
9945
|
properties?: boolean;
|
|
10271
9946
|
classFields?: boolean;
|
|
10272
9947
|
onlyDeclarations?: boolean;
|
|
10273
9948
|
ignoreDestructuring?: boolean;
|
|
10274
|
-
}];
|
|
10275
|
-
// -----
|
|
10276
|
-
type
|
|
10277
|
-
// ----- import-x/consistent-type-specifier-style -----
|
|
10278
|
-
type ImportXConsistentTypeSpecifierStyle = [] | [("prefer-top-level" | "prefer-inline")];
|
|
10279
|
-
// ----- import-x/dynamic-import-chunkname -----
|
|
9949
|
+
}]; // ----- implicit-arrow-linebreak -----
|
|
9950
|
+
type ImplicitArrowLinebreak = [] | [("beside" | "below")]; // ----- import-x/consistent-type-specifier-style -----
|
|
9951
|
+
type ImportXConsistentTypeSpecifierStyle = [] | [("prefer-top-level" | "prefer-inline")]; // ----- import-x/dynamic-import-chunkname -----
|
|
10280
9952
|
type ImportXDynamicImportChunkname = [] | [{
|
|
10281
9953
|
importFunctions?: string[];
|
|
10282
9954
|
allowEmpty?: boolean;
|
|
10283
9955
|
webpackChunknameFormat?: string;
|
|
10284
9956
|
[k: string]: unknown | undefined;
|
|
10285
|
-
}];
|
|
10286
|
-
// ----- import-x/extensions -----
|
|
9957
|
+
}]; // ----- import-x/extensions -----
|
|
10287
9958
|
type ImportXExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] | [("always" | "ignorePackages" | "never")] | [("always" | "ignorePackages" | "never"), {
|
|
10288
9959
|
pattern?: {
|
|
10289
9960
|
[k: string]: ("always" | "ignorePackages" | "never");
|
|
@@ -10318,38 +9989,30 @@ type ImportXExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] |
|
|
|
10318
9989
|
[k: string]: ("always" | "ignorePackages" | "never");
|
|
10319
9990
|
}] | [] | [{
|
|
10320
9991
|
[k: string]: ("always" | "ignorePackages" | "never");
|
|
10321
|
-
}]);
|
|
10322
|
-
// ----- import-x/first -----
|
|
10323
|
-
type
|
|
10324
|
-
// ----- import-x/imports-first -----
|
|
10325
|
-
type ImportXImportsFirst = [] | [("absolute-first" | "disable-absolute-first")];
|
|
10326
|
-
// ----- import-x/max-dependencies -----
|
|
9992
|
+
}]); // ----- import-x/first -----
|
|
9993
|
+
type ImportXFirst = [] | [("absolute-first" | "disable-absolute-first")]; // ----- import-x/imports-first -----
|
|
9994
|
+
type ImportXImportsFirst = [] | [("absolute-first" | "disable-absolute-first")]; // ----- import-x/max-dependencies -----
|
|
10327
9995
|
type ImportXMaxDependencies = [] | [{
|
|
10328
9996
|
max?: number;
|
|
10329
9997
|
ignoreTypeImports?: boolean;
|
|
10330
|
-
}];
|
|
10331
|
-
// ----- import-x/named -----
|
|
9998
|
+
}]; // ----- import-x/named -----
|
|
10332
9999
|
type ImportXNamed = [] | [{
|
|
10333
10000
|
commonjs?: boolean;
|
|
10334
|
-
}];
|
|
10335
|
-
// ----- import-x/namespace -----
|
|
10001
|
+
}]; // ----- import-x/namespace -----
|
|
10336
10002
|
type ImportXNamespace = [] | [{
|
|
10337
10003
|
allowComputed?: boolean;
|
|
10338
|
-
}];
|
|
10339
|
-
// ----- import-x/newline-after-import -----
|
|
10004
|
+
}]; // ----- import-x/newline-after-import -----
|
|
10340
10005
|
type ImportXNewlineAfterImport = [] | [{
|
|
10341
10006
|
count?: number;
|
|
10342
10007
|
exactCount?: boolean;
|
|
10343
10008
|
considerComments?: boolean;
|
|
10344
|
-
}];
|
|
10345
|
-
// ----- import-x/no-absolute-path -----
|
|
10009
|
+
}]; // ----- import-x/no-absolute-path -----
|
|
10346
10010
|
type ImportXNoAbsolutePath = [] | [{
|
|
10347
10011
|
commonjs?: boolean;
|
|
10348
10012
|
amd?: boolean;
|
|
10349
10013
|
esmodule?: boolean;
|
|
10350
10014
|
ignore?: [string, ...(string)[]];
|
|
10351
|
-
}];
|
|
10352
|
-
// ----- import-x/no-anonymous-default-export -----
|
|
10015
|
+
}]; // ----- import-x/no-anonymous-default-export -----
|
|
10353
10016
|
type ImportXNoAnonymousDefaultExport = [] | [{
|
|
10354
10017
|
allowArray?: boolean;
|
|
10355
10018
|
allowArrowFunction?: boolean;
|
|
@@ -10359,14 +10022,12 @@ type ImportXNoAnonymousDefaultExport = [] | [{
|
|
|
10359
10022
|
allowLiteral?: boolean;
|
|
10360
10023
|
allowObject?: boolean;
|
|
10361
10024
|
allowNew?: boolean;
|
|
10362
|
-
}];
|
|
10363
|
-
// ----- import-x/no-commonjs -----
|
|
10025
|
+
}]; // ----- import-x/no-commonjs -----
|
|
10364
10026
|
type ImportXNoCommonjs = ([] | ["allow-primitive-modules"] | [] | [{
|
|
10365
10027
|
allowPrimitiveModules?: boolean;
|
|
10366
10028
|
allowRequire?: boolean;
|
|
10367
10029
|
allowConditionalRequire?: boolean;
|
|
10368
|
-
}]);
|
|
10369
|
-
// ----- import-x/no-cycle -----
|
|
10030
|
+
}]); // ----- import-x/no-cycle -----
|
|
10370
10031
|
type ImportXNoCycle = [] | [{
|
|
10371
10032
|
commonjs?: boolean;
|
|
10372
10033
|
amd?: boolean;
|
|
@@ -10375,17 +10036,14 @@ type ImportXNoCycle = [] | [{
|
|
|
10375
10036
|
maxDepth?: (number | "∞");
|
|
10376
10037
|
ignoreExternal?: boolean;
|
|
10377
10038
|
allowUnsafeDynamicCyclicDependency?: boolean;
|
|
10378
|
-
}];
|
|
10379
|
-
// ----- import-x/no-duplicates -----
|
|
10039
|
+
}]; // ----- import-x/no-duplicates -----
|
|
10380
10040
|
type ImportXNoDuplicates = [] | [{
|
|
10381
10041
|
considerQueryString?: boolean;
|
|
10382
10042
|
"prefer-inline"?: boolean;
|
|
10383
|
-
}];
|
|
10384
|
-
// ----- import-x/no-dynamic-require -----
|
|
10043
|
+
}]; // ----- import-x/no-dynamic-require -----
|
|
10385
10044
|
type ImportXNoDynamicRequire = [] | [{
|
|
10386
10045
|
esmodule?: boolean;
|
|
10387
|
-
}];
|
|
10388
|
-
// ----- import-x/no-extraneous-dependencies -----
|
|
10046
|
+
}]; // ----- import-x/no-extraneous-dependencies -----
|
|
10389
10047
|
type ImportXNoExtraneousDependencies = [] | [{
|
|
10390
10048
|
devDependencies?: (boolean | unknown[]);
|
|
10391
10049
|
optionalDependencies?: (boolean | unknown[]);
|
|
@@ -10395,46 +10053,38 @@ type ImportXNoExtraneousDependencies = [] | [{
|
|
|
10395
10053
|
includeInternal?: boolean;
|
|
10396
10054
|
includeTypes?: boolean;
|
|
10397
10055
|
whitelist?: unknown[];
|
|
10398
|
-
}];
|
|
10399
|
-
// ----- import-x/no-import-module-exports -----
|
|
10056
|
+
}]; // ----- import-x/no-import-module-exports -----
|
|
10400
10057
|
type ImportXNoImportModuleExports = [] | [{
|
|
10401
10058
|
exceptions?: unknown[];
|
|
10402
|
-
}];
|
|
10403
|
-
// ----- import-x/no-internal-modules -----
|
|
10059
|
+
}]; // ----- import-x/no-internal-modules -----
|
|
10404
10060
|
type ImportXNoInternalModules = [] | [({
|
|
10405
10061
|
allow?: string[];
|
|
10406
10062
|
} | {
|
|
10407
10063
|
forbid?: string[];
|
|
10408
|
-
})];
|
|
10409
|
-
// ----- import-x/no-namespace -----
|
|
10064
|
+
})]; // ----- import-x/no-namespace -----
|
|
10410
10065
|
type ImportXNoNamespace = [] | [{
|
|
10411
10066
|
ignore?: string[];
|
|
10412
10067
|
[k: string]: unknown | undefined;
|
|
10413
|
-
}];
|
|
10414
|
-
// ----- import-x/no-nodejs-modules -----
|
|
10068
|
+
}]; // ----- import-x/no-nodejs-modules -----
|
|
10415
10069
|
type ImportXNoNodejsModules = [] | [{
|
|
10416
10070
|
allow?: string[];
|
|
10417
|
-
}];
|
|
10418
|
-
// ----- import-x/no-relative-packages -----
|
|
10071
|
+
}]; // ----- import-x/no-relative-packages -----
|
|
10419
10072
|
type ImportXNoRelativePackages = [] | [{
|
|
10420
10073
|
commonjs?: boolean;
|
|
10421
10074
|
amd?: boolean;
|
|
10422
10075
|
esmodule?: boolean;
|
|
10423
10076
|
ignore?: [string, ...(string)[]];
|
|
10424
|
-
}];
|
|
10425
|
-
// ----- import-x/no-relative-parent-imports -----
|
|
10077
|
+
}]; // ----- import-x/no-relative-parent-imports -----
|
|
10426
10078
|
type ImportXNoRelativeParentImports = [] | [{
|
|
10427
10079
|
commonjs?: boolean;
|
|
10428
10080
|
amd?: boolean;
|
|
10429
10081
|
esmodule?: boolean;
|
|
10430
10082
|
ignore?: [string, ...(string)[]];
|
|
10431
|
-
}];
|
|
10432
|
-
// ----- import-x/no-rename-default -----
|
|
10083
|
+
}]; // ----- import-x/no-rename-default -----
|
|
10433
10084
|
type ImportXNoRenameDefault = [] | [{
|
|
10434
10085
|
commonjs?: boolean;
|
|
10435
10086
|
preventRenamingBindings?: boolean;
|
|
10436
|
-
}];
|
|
10437
|
-
// ----- import-x/no-restricted-paths -----
|
|
10087
|
+
}]; // ----- import-x/no-restricted-paths -----
|
|
10438
10088
|
type ImportXNoRestrictedPaths = [] | [{
|
|
10439
10089
|
zones?: [{
|
|
10440
10090
|
target?: (string | [string, ...(string)[]]);
|
|
@@ -10448,15 +10098,13 @@ type ImportXNoRestrictedPaths = [] | [{
|
|
|
10448
10098
|
message?: string;
|
|
10449
10099
|
})[]];
|
|
10450
10100
|
basePath?: string;
|
|
10451
|
-
}];
|
|
10452
|
-
// ----- import-x/no-unassigned-import -----
|
|
10101
|
+
}]; // ----- import-x/no-unassigned-import -----
|
|
10453
10102
|
type ImportXNoUnassignedImport = [] | [{
|
|
10454
10103
|
devDependencies?: (boolean | unknown[]);
|
|
10455
10104
|
optionalDependencies?: (boolean | unknown[]);
|
|
10456
10105
|
peerDependencies?: (boolean | unknown[]);
|
|
10457
10106
|
allow?: string[];
|
|
10458
|
-
}];
|
|
10459
|
-
// ----- import-x/no-unresolved -----
|
|
10107
|
+
}]; // ----- import-x/no-unresolved -----
|
|
10460
10108
|
type ImportXNoUnresolved = [] | [{
|
|
10461
10109
|
commonjs?: boolean;
|
|
10462
10110
|
amd?: boolean;
|
|
@@ -10464,8 +10112,7 @@ type ImportXNoUnresolved = [] | [{
|
|
|
10464
10112
|
ignore?: [string, ...(string)[]];
|
|
10465
10113
|
caseSensitive?: boolean;
|
|
10466
10114
|
caseSensitiveStrict?: boolean;
|
|
10467
|
-
}];
|
|
10468
|
-
// ----- import-x/no-unused-modules -----
|
|
10115
|
+
}]; // ----- import-x/no-unused-modules -----
|
|
10469
10116
|
type ImportXNoUnusedModules = [] | [({
|
|
10470
10117
|
unusedExports: true;
|
|
10471
10118
|
src?: [unknown, ...(unknown)[]];
|
|
@@ -10473,13 +10120,11 @@ type ImportXNoUnusedModules = [] | [({
|
|
|
10473
10120
|
} | {
|
|
10474
10121
|
missingExports: true;
|
|
10475
10122
|
[k: string]: unknown | undefined;
|
|
10476
|
-
})];
|
|
10477
|
-
// ----- import-x/no-useless-path-segments -----
|
|
10123
|
+
})]; // ----- import-x/no-useless-path-segments -----
|
|
10478
10124
|
type ImportXNoUselessPathSegments = [] | [{
|
|
10479
10125
|
commonjs?: boolean;
|
|
10480
10126
|
noUselessIndex?: boolean;
|
|
10481
|
-
}];
|
|
10482
|
-
// ----- import-x/order -----
|
|
10127
|
+
}]; // ----- import-x/order -----
|
|
10483
10128
|
type ImportXOrder = [] | [{
|
|
10484
10129
|
groups?: unknown[];
|
|
10485
10130
|
pathGroupsExcludedImportTypes?: unknown[];
|
|
@@ -10510,16 +10155,13 @@ type ImportXOrder = [] | [{
|
|
|
10510
10155
|
orderImportKind?: ("ignore" | "asc" | "desc");
|
|
10511
10156
|
};
|
|
10512
10157
|
warnOnUnassignedImports?: boolean;
|
|
10513
|
-
}];
|
|
10514
|
-
// ----- import-x/prefer-default-export -----
|
|
10158
|
+
}]; // ----- import-x/prefer-default-export -----
|
|
10515
10159
|
type ImportXPreferDefaultExport = [] | [{
|
|
10516
10160
|
target?: ("single" | "any");
|
|
10517
|
-
}];
|
|
10518
|
-
// ----- import-x/prefer-namespace-import -----
|
|
10161
|
+
}]; // ----- import-x/prefer-namespace-import -----
|
|
10519
10162
|
type ImportXPreferNamespaceImport = [] | [{
|
|
10520
10163
|
patterns?: string[];
|
|
10521
|
-
}];
|
|
10522
|
-
// ----- indent -----
|
|
10164
|
+
}]; // ----- indent -----
|
|
10523
10165
|
type Indent = [] | [("tab" | number)] | [("tab" | number), {
|
|
10524
10166
|
SwitchCase?: number;
|
|
10525
10167
|
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
@@ -10550,8 +10192,7 @@ type Indent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
10550
10192
|
offsetTernaryExpressions?: boolean;
|
|
10551
10193
|
ignoredNodes?: string[];
|
|
10552
10194
|
ignoreComments?: boolean;
|
|
10553
|
-
}];
|
|
10554
|
-
// ----- indent-legacy -----
|
|
10195
|
+
}]; // ----- indent-legacy -----
|
|
10555
10196
|
type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
10556
10197
|
SwitchCase?: number;
|
|
10557
10198
|
VariableDeclarator?: (number | {
|
|
@@ -10578,34 +10219,28 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
10578
10219
|
};
|
|
10579
10220
|
ArrayExpression?: (number | "first");
|
|
10580
10221
|
ObjectExpression?: (number | "first");
|
|
10581
|
-
}];
|
|
10582
|
-
// ----- init-declarations -----
|
|
10222
|
+
}]; // ----- init-declarations -----
|
|
10583
10223
|
type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
|
|
10584
10224
|
ignoreForLoopInit?: boolean;
|
|
10585
|
-
}]);
|
|
10586
|
-
// ----- json/no-unnormalized-keys -----
|
|
10225
|
+
}]); // ----- json/no-unnormalized-keys -----
|
|
10587
10226
|
type JsonNoUnnormalizedKeys = [] | [{
|
|
10588
10227
|
form?: ("NFC" | "NFD" | "NFKC" | "NFKD");
|
|
10589
|
-
}];
|
|
10590
|
-
// ----- json/sort-keys -----
|
|
10228
|
+
}]; // ----- json/sort-keys -----
|
|
10591
10229
|
type JsonSortKeys = [] | [("asc" | "desc")] | [("asc" | "desc"), {
|
|
10592
10230
|
caseSensitive?: boolean;
|
|
10593
10231
|
natural?: boolean;
|
|
10594
10232
|
minKeys?: number;
|
|
10595
10233
|
allowLineSeparatedGroups?: boolean;
|
|
10596
|
-
}];
|
|
10597
|
-
// ----- jsonc/array-bracket-newline -----
|
|
10234
|
+
}]; // ----- jsonc/array-bracket-newline -----
|
|
10598
10235
|
type JsoncArrayBracketNewline = [] | [(("always" | "never" | "consistent") | {
|
|
10599
10236
|
multiline?: boolean;
|
|
10600
10237
|
minItems?: (number | null);
|
|
10601
|
-
})];
|
|
10602
|
-
// ----- jsonc/array-bracket-spacing -----
|
|
10238
|
+
})]; // ----- jsonc/array-bracket-spacing -----
|
|
10603
10239
|
type JsoncArrayBracketSpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
10604
10240
|
singleValue?: boolean;
|
|
10605
10241
|
objectsInArrays?: boolean;
|
|
10606
10242
|
arraysInArrays?: boolean;
|
|
10607
|
-
}];
|
|
10608
|
-
// ----- jsonc/array-element-newline -----
|
|
10243
|
+
}]; // ----- jsonc/array-element-newline -----
|
|
10609
10244
|
type JsoncArrayElementNewline = [] | [(_JsoncArrayElementNewlineBasicConfig | {
|
|
10610
10245
|
ArrayExpression?: _JsoncArrayElementNewlineBasicConfig;
|
|
10611
10246
|
JSONArrayExpression?: _JsoncArrayElementNewlineBasicConfig;
|
|
@@ -10614,8 +10249,7 @@ type JsoncArrayElementNewline = [] | [(_JsoncArrayElementNewlineBasicConfig | {
|
|
|
10614
10249
|
type _JsoncArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
10615
10250
|
multiline?: boolean;
|
|
10616
10251
|
minItems?: (number | null);
|
|
10617
|
-
});
|
|
10618
|
-
// ----- jsonc/comma-dangle -----
|
|
10252
|
+
}); // ----- jsonc/comma-dangle -----
|
|
10619
10253
|
type JsoncCommaDangle = [] | [(_JsoncCommaDangleValue | {
|
|
10620
10254
|
arrays?: _JsoncCommaDangleValueWithIgnore;
|
|
10621
10255
|
objects?: _JsoncCommaDangleValueWithIgnore;
|
|
@@ -10624,14 +10258,12 @@ type JsoncCommaDangle = [] | [(_JsoncCommaDangleValue | {
|
|
|
10624
10258
|
functions?: _JsoncCommaDangleValueWithIgnore;
|
|
10625
10259
|
})];
|
|
10626
10260
|
type _JsoncCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
|
|
10627
|
-
type _JsoncCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline");
|
|
10628
|
-
// ----- jsonc/comma-style -----
|
|
10261
|
+
type _JsoncCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline"); // ----- jsonc/comma-style -----
|
|
10629
10262
|
type JsoncCommaStyle = [] | [("first" | "last")] | [("first" | "last"), {
|
|
10630
10263
|
exceptions?: {
|
|
10631
10264
|
[k: string]: boolean | undefined;
|
|
10632
10265
|
};
|
|
10633
|
-
}];
|
|
10634
|
-
// ----- jsonc/indent -----
|
|
10266
|
+
}]; // ----- jsonc/indent -----
|
|
10635
10267
|
type JsoncIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
10636
10268
|
SwitchCase?: number;
|
|
10637
10269
|
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
@@ -10662,8 +10294,7 @@ type JsoncIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
10662
10294
|
offsetTernaryExpressions?: boolean;
|
|
10663
10295
|
ignoredNodes?: string[];
|
|
10664
10296
|
ignoreComments?: boolean;
|
|
10665
|
-
}];
|
|
10666
|
-
// ----- jsonc/key-name-casing -----
|
|
10297
|
+
}]; // ----- jsonc/key-name-casing -----
|
|
10667
10298
|
type JsoncKeyNameCasing = [] | [{
|
|
10668
10299
|
camelCase?: boolean;
|
|
10669
10300
|
PascalCase?: boolean;
|
|
@@ -10671,8 +10302,7 @@ type JsoncKeyNameCasing = [] | [{
|
|
|
10671
10302
|
"kebab-case"?: boolean;
|
|
10672
10303
|
snake_case?: boolean;
|
|
10673
10304
|
ignores?: string[];
|
|
10674
|
-
}];
|
|
10675
|
-
// ----- jsonc/key-spacing -----
|
|
10305
|
+
}]; // ----- jsonc/key-spacing -----
|
|
10676
10306
|
type JsoncKeySpacing = [] | [({
|
|
10677
10307
|
align?: (("colon" | "value") | {
|
|
10678
10308
|
mode?: ("strict" | "minimum");
|
|
@@ -10717,20 +10347,17 @@ type JsoncKeySpacing = [] | [({
|
|
|
10717
10347
|
beforeColon?: boolean;
|
|
10718
10348
|
afterColon?: boolean;
|
|
10719
10349
|
};
|
|
10720
|
-
})];
|
|
10721
|
-
// ----- jsonc/no-irregular-whitespace -----
|
|
10350
|
+
})]; // ----- jsonc/no-irregular-whitespace -----
|
|
10722
10351
|
type JsoncNoIrregularWhitespace = [] | [{
|
|
10723
10352
|
skipComments?: boolean;
|
|
10724
10353
|
skipStrings?: boolean;
|
|
10725
10354
|
skipTemplates?: boolean;
|
|
10726
10355
|
skipRegExps?: boolean;
|
|
10727
10356
|
skipJSXText?: boolean;
|
|
10728
|
-
}];
|
|
10729
|
-
// ----- jsonc/no-useless-escape -----
|
|
10357
|
+
}]; // ----- jsonc/no-useless-escape -----
|
|
10730
10358
|
type JsoncNoUselessEscape = [] | [{
|
|
10731
10359
|
allowRegexCharacters?: string[];
|
|
10732
|
-
}];
|
|
10733
|
-
// ----- jsonc/object-curly-newline -----
|
|
10360
|
+
}]; // ----- jsonc/object-curly-newline -----
|
|
10734
10361
|
type JsoncObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
10735
10362
|
multiline?: boolean;
|
|
10736
10363
|
minProperties?: number;
|
|
@@ -10756,29 +10383,24 @@ type JsoncObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
10756
10383
|
minProperties?: number;
|
|
10757
10384
|
consistent?: boolean;
|
|
10758
10385
|
});
|
|
10759
|
-
})];
|
|
10760
|
-
// ----- jsonc/object-curly-spacing -----
|
|
10386
|
+
})]; // ----- jsonc/object-curly-spacing -----
|
|
10761
10387
|
type JsoncObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
10762
10388
|
arraysInObjects?: boolean;
|
|
10763
10389
|
objectsInObjects?: boolean;
|
|
10764
|
-
}];
|
|
10765
|
-
// ----- jsonc/object-property-newline -----
|
|
10390
|
+
}]; // ----- jsonc/object-property-newline -----
|
|
10766
10391
|
type JsoncObjectPropertyNewline = [] | [{
|
|
10767
10392
|
allowAllPropertiesOnSameLine?: boolean;
|
|
10768
10393
|
allowMultiplePropertiesPerLine?: boolean;
|
|
10769
|
-
}];
|
|
10770
|
-
// ----- jsonc/quote-props -----
|
|
10394
|
+
}]; // ----- jsonc/quote-props -----
|
|
10771
10395
|
type JsoncQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
10772
10396
|
keywords?: boolean;
|
|
10773
10397
|
unnecessary?: boolean;
|
|
10774
10398
|
numbers?: boolean;
|
|
10775
|
-
}]);
|
|
10776
|
-
// ----- jsonc/quotes -----
|
|
10399
|
+
}]); // ----- jsonc/quotes -----
|
|
10777
10400
|
type JsoncQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
10778
10401
|
avoidEscape?: boolean;
|
|
10779
10402
|
allowTemplateLiterals?: boolean;
|
|
10780
|
-
})];
|
|
10781
|
-
// ----- jsonc/sort-array-values -----
|
|
10403
|
+
})]; // ----- jsonc/sort-array-values -----
|
|
10782
10404
|
type JsoncSortArrayValues = [{
|
|
10783
10405
|
pathPattern: string;
|
|
10784
10406
|
order: ((string | {
|
|
@@ -10809,8 +10431,7 @@ type JsoncSortArrayValues = [{
|
|
|
10809
10431
|
natural?: boolean;
|
|
10810
10432
|
});
|
|
10811
10433
|
minValues?: number;
|
|
10812
|
-
})[]];
|
|
10813
|
-
// ----- jsonc/sort-keys -----
|
|
10434
|
+
})[]]; // ----- jsonc/sort-keys -----
|
|
10814
10435
|
type JsoncSortKeys = ([{
|
|
10815
10436
|
pathPattern: string;
|
|
10816
10437
|
hasProperties?: string[];
|
|
@@ -10850,16 +10471,14 @@ type JsoncSortKeys = ([{
|
|
|
10850
10471
|
natural?: boolean;
|
|
10851
10472
|
minKeys?: number;
|
|
10852
10473
|
allowLineSeparatedGroups?: boolean;
|
|
10853
|
-
}]);
|
|
10854
|
-
// ----- jsonc/space-unary-ops -----
|
|
10474
|
+
}]); // ----- jsonc/space-unary-ops -----
|
|
10855
10475
|
type JsoncSpaceUnaryOps = [] | [{
|
|
10856
10476
|
words?: boolean;
|
|
10857
10477
|
nonwords?: boolean;
|
|
10858
10478
|
overrides?: {
|
|
10859
10479
|
[k: string]: boolean | undefined;
|
|
10860
10480
|
};
|
|
10861
|
-
}];
|
|
10862
|
-
// ----- jsx-a11y/alt-text -----
|
|
10481
|
+
}]; // ----- jsx-a11y/alt-text -----
|
|
10863
10482
|
type JsxA11YAltText = [] | [{
|
|
10864
10483
|
elements?: string[];
|
|
10865
10484
|
img?: string[];
|
|
@@ -10867,48 +10486,37 @@ type JsxA11YAltText = [] | [{
|
|
|
10867
10486
|
area?: string[];
|
|
10868
10487
|
"input[type=\"image\"]"?: string[];
|
|
10869
10488
|
[k: string]: unknown | undefined;
|
|
10870
|
-
}];
|
|
10871
|
-
// ----- jsx-a11y/aria-props -----
|
|
10489
|
+
}]; // ----- jsx-a11y/aria-props -----
|
|
10872
10490
|
type JsxA11YAriaProps = [] | [{
|
|
10873
10491
|
[k: string]: unknown | undefined;
|
|
10874
|
-
}];
|
|
10875
|
-
// ----- jsx-a11y/aria-proptypes -----
|
|
10492
|
+
}]; // ----- jsx-a11y/aria-proptypes -----
|
|
10876
10493
|
type JsxA11YAriaProptypes = [] | [{
|
|
10877
10494
|
[k: string]: unknown | undefined;
|
|
10878
|
-
}];
|
|
10879
|
-
// ----- jsx-a11y/aria-role -----
|
|
10495
|
+
}]; // ----- jsx-a11y/aria-role -----
|
|
10880
10496
|
type JsxA11YAriaRole = [] | [{
|
|
10881
10497
|
allowedInvalidRoles?: string[];
|
|
10882
10498
|
ignoreNonDOM?: boolean;
|
|
10883
10499
|
[k: string]: unknown | undefined;
|
|
10884
|
-
}];
|
|
10885
|
-
// ----- jsx-a11y/aria-unsupported-elements -----
|
|
10500
|
+
}]; // ----- jsx-a11y/aria-unsupported-elements -----
|
|
10886
10501
|
type JsxA11YAriaUnsupportedElements = [] | [{
|
|
10887
10502
|
[k: string]: unknown | undefined;
|
|
10888
|
-
}];
|
|
10889
|
-
// ----- jsx-a11y/iframe-has-title -----
|
|
10503
|
+
}]; // ----- jsx-a11y/iframe-has-title -----
|
|
10890
10504
|
type JsxA11YIframeHasTitle = [] | [{
|
|
10891
10505
|
[k: string]: unknown | undefined;
|
|
10892
|
-
}];
|
|
10893
|
-
// ----- jsx-a11y/no-access-key -----
|
|
10506
|
+
}]; // ----- jsx-a11y/no-access-key -----
|
|
10894
10507
|
type JsxA11YNoAccessKey = [] | [{
|
|
10895
10508
|
[k: string]: unknown | undefined;
|
|
10896
|
-
}];
|
|
10897
|
-
// ----- jsx-a11y/role-has-required-aria-props -----
|
|
10509
|
+
}]; // ----- jsx-a11y/role-has-required-aria-props -----
|
|
10898
10510
|
type JsxA11YRoleHasRequiredAriaProps = [] | [{
|
|
10899
10511
|
[k: string]: unknown | undefined;
|
|
10900
|
-
}];
|
|
10901
|
-
// ----- jsx-a11y/role-supports-aria-props -----
|
|
10512
|
+
}]; // ----- jsx-a11y/role-supports-aria-props -----
|
|
10902
10513
|
type JsxA11YRoleSupportsAriaProps = [] | [{
|
|
10903
10514
|
[k: string]: unknown | undefined;
|
|
10904
|
-
}];
|
|
10905
|
-
// ----- jsx-a11y/tabindex-no-positive -----
|
|
10515
|
+
}]; // ----- jsx-a11y/tabindex-no-positive -----
|
|
10906
10516
|
type JsxA11YTabindexNoPositive = [] | [{
|
|
10907
10517
|
[k: string]: unknown | undefined;
|
|
10908
|
-
}];
|
|
10909
|
-
// -----
|
|
10910
|
-
type JsxQuotes = [] | [("prefer-single" | "prefer-double")];
|
|
10911
|
-
// ----- key-spacing -----
|
|
10518
|
+
}]; // ----- jsx-quotes -----
|
|
10519
|
+
type JsxQuotes = [] | [("prefer-single" | "prefer-double")]; // ----- key-spacing -----
|
|
10912
10520
|
type KeySpacing = [] | [({
|
|
10913
10521
|
align?: (("colon" | "value") | {
|
|
10914
10522
|
mode?: ("strict" | "minimum");
|
|
@@ -10953,8 +10561,7 @@ type KeySpacing = [] | [({
|
|
|
10953
10561
|
beforeColon?: boolean;
|
|
10954
10562
|
afterColon?: boolean;
|
|
10955
10563
|
};
|
|
10956
|
-
})];
|
|
10957
|
-
// ----- keyword-spacing -----
|
|
10564
|
+
})]; // ----- keyword-spacing -----
|
|
10958
10565
|
type KeywordSpacing = [] | [{
|
|
10959
10566
|
before?: boolean;
|
|
10960
10567
|
after?: boolean;
|
|
@@ -11232,17 +10839,14 @@ type KeywordSpacing = [] | [{
|
|
|
11232
10839
|
after?: boolean;
|
|
11233
10840
|
};
|
|
11234
10841
|
};
|
|
11235
|
-
}];
|
|
11236
|
-
// ----- line-comment-position -----
|
|
10842
|
+
}]; // ----- line-comment-position -----
|
|
11237
10843
|
type LineCommentPosition = [] | [(("above" | "beside") | {
|
|
11238
10844
|
position?: ("above" | "beside");
|
|
11239
10845
|
ignorePattern?: string;
|
|
11240
10846
|
applyDefaultPatterns?: boolean;
|
|
11241
10847
|
applyDefaultIgnorePatterns?: boolean;
|
|
11242
|
-
})];
|
|
11243
|
-
// -----
|
|
11244
|
-
type LinebreakStyle = [] | [("unix" | "windows")];
|
|
11245
|
-
// ----- lines-around-comment -----
|
|
10848
|
+
})]; // ----- linebreak-style -----
|
|
10849
|
+
type LinebreakStyle = [] | [("unix" | "windows")]; // ----- lines-around-comment -----
|
|
11246
10850
|
type LinesAroundComment = [] | [{
|
|
11247
10851
|
beforeBlockComment?: boolean;
|
|
11248
10852
|
afterBlockComment?: boolean;
|
|
@@ -11259,13 +10863,11 @@ type LinesAroundComment = [] | [{
|
|
|
11259
10863
|
ignorePattern?: string;
|
|
11260
10864
|
applyDefaultIgnorePatterns?: boolean;
|
|
11261
10865
|
afterHashbangComment?: boolean;
|
|
11262
|
-
}];
|
|
11263
|
-
// ----- lines-around-directive -----
|
|
10866
|
+
}]; // ----- lines-around-directive -----
|
|
11264
10867
|
type LinesAroundDirective = [] | [(("always" | "never") | {
|
|
11265
10868
|
before?: ("always" | "never");
|
|
11266
10869
|
after?: ("always" | "never");
|
|
11267
|
-
})];
|
|
11268
|
-
// ----- lines-between-class-members -----
|
|
10870
|
+
})]; // ----- lines-between-class-members -----
|
|
11269
10871
|
type LinesBetweenClassMembers = [] | [({
|
|
11270
10872
|
enforce: [{
|
|
11271
10873
|
blankLine: ("always" | "never");
|
|
@@ -11288,22 +10890,18 @@ type LinesBetweenClassMembers = [] | [({
|
|
|
11288
10890
|
})[]];
|
|
11289
10891
|
} | ("always" | "never")), {
|
|
11290
10892
|
exceptAfterSingleLine?: boolean;
|
|
11291
|
-
}];
|
|
11292
|
-
// ----- logical-assignment-operators -----
|
|
10893
|
+
}]; // ----- logical-assignment-operators -----
|
|
11293
10894
|
type LogicalAssignmentOperators = (([] | ["always"] | ["always", {
|
|
11294
10895
|
enforceForIfStatements?: boolean;
|
|
11295
|
-
}] | ["never"]) & unknown[]);
|
|
11296
|
-
// ----- max-classes-per-file -----
|
|
10896
|
+
}] | ["never"]) & unknown[]); // ----- max-classes-per-file -----
|
|
11297
10897
|
type MaxClassesPerFile = [] | [(number | {
|
|
11298
10898
|
ignoreExpressions?: boolean;
|
|
11299
10899
|
max?: number;
|
|
11300
|
-
})];
|
|
11301
|
-
// ----- max-depth -----
|
|
10900
|
+
})]; // ----- max-depth -----
|
|
11302
10901
|
type MaxDepth = [] | [(number | {
|
|
11303
10902
|
maximum?: number;
|
|
11304
10903
|
max?: number;
|
|
11305
|
-
})];
|
|
11306
|
-
// ----- max-len -----
|
|
10904
|
+
})]; // ----- max-len -----
|
|
11307
10905
|
type MaxLen = [] | [({
|
|
11308
10906
|
code?: number;
|
|
11309
10907
|
comments?: number;
|
|
@@ -11370,32 +10968,27 @@ type MaxLen = [] | [({
|
|
|
11370
10968
|
ignoreTemplateLiterals?: boolean;
|
|
11371
10969
|
ignoreRegExpLiterals?: boolean;
|
|
11372
10970
|
ignoreTrailingComments?: boolean;
|
|
11373
|
-
}];
|
|
11374
|
-
// ----- max-lines -----
|
|
10971
|
+
}]; // ----- max-lines -----
|
|
11375
10972
|
type MaxLines = [] | [(number | {
|
|
11376
10973
|
max?: number;
|
|
11377
10974
|
skipComments?: boolean;
|
|
11378
10975
|
skipBlankLines?: boolean;
|
|
11379
|
-
})];
|
|
11380
|
-
// ----- max-lines-per-function -----
|
|
10976
|
+
})]; // ----- max-lines-per-function -----
|
|
11381
10977
|
type MaxLinesPerFunction = [] | [({
|
|
11382
10978
|
max?: number;
|
|
11383
10979
|
skipComments?: boolean;
|
|
11384
10980
|
skipBlankLines?: boolean;
|
|
11385
10981
|
IIFEs?: boolean;
|
|
11386
|
-
} | number)];
|
|
11387
|
-
// ----- max-nested-callbacks -----
|
|
10982
|
+
} | number)]; // ----- max-nested-callbacks -----
|
|
11388
10983
|
type MaxNestedCallbacks = [] | [(number | {
|
|
11389
10984
|
maximum?: number;
|
|
11390
10985
|
max?: number;
|
|
11391
|
-
})];
|
|
11392
|
-
// ----- max-params -----
|
|
10986
|
+
})]; // ----- max-params -----
|
|
11393
10987
|
type MaxParams = [] | [(number | {
|
|
11394
10988
|
maximum?: number;
|
|
11395
10989
|
max?: number;
|
|
11396
10990
|
countVoidThis?: boolean;
|
|
11397
|
-
})];
|
|
11398
|
-
// ----- max-statements -----
|
|
10991
|
+
})]; // ----- max-statements -----
|
|
11399
10992
|
type MaxStatements = [] | [(number | {
|
|
11400
10993
|
maximum?: number;
|
|
11401
10994
|
max?: number;
|
|
@@ -11404,18 +10997,14 @@ type MaxStatements = [] | [(number | {
|
|
|
11404
10997
|
max?: number;
|
|
11405
10998
|
}), {
|
|
11406
10999
|
ignoreTopLevelFunctions?: boolean;
|
|
11407
|
-
}];
|
|
11408
|
-
// ----- max-statements-per-line -----
|
|
11000
|
+
}]; // ----- max-statements-per-line -----
|
|
11409
11001
|
type MaxStatementsPerLine = [] | [{
|
|
11410
11002
|
max?: number;
|
|
11411
|
-
}];
|
|
11412
|
-
// ----- multiline-comment-style -----
|
|
11003
|
+
}]; // ----- multiline-comment-style -----
|
|
11413
11004
|
type MultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
|
|
11414
11005
|
checkJSDoc?: boolean;
|
|
11415
|
-
}]);
|
|
11416
|
-
// -----
|
|
11417
|
-
type MultilineTernary = [] | [("always" | "always-multiline" | "never")];
|
|
11418
|
-
// ----- new-cap -----
|
|
11006
|
+
}]); // ----- multiline-ternary -----
|
|
11007
|
+
type MultilineTernary = [] | [("always" | "always-multiline" | "never")]; // ----- new-cap -----
|
|
11419
11008
|
type NewCap = [] | [{
|
|
11420
11009
|
newIsCap?: boolean;
|
|
11421
11010
|
capIsNew?: boolean;
|
|
@@ -11424,71 +11013,54 @@ type NewCap = [] | [{
|
|
|
11424
11013
|
capIsNewExceptions?: string[];
|
|
11425
11014
|
capIsNewExceptionPattern?: string;
|
|
11426
11015
|
properties?: boolean;
|
|
11427
|
-
}];
|
|
11428
|
-
// -----
|
|
11429
|
-
type
|
|
11430
|
-
// ----- newline-after-var -----
|
|
11431
|
-
type NewlineAfterVar = [] | [("never" | "always")];
|
|
11432
|
-
// ----- newline-per-chained-call -----
|
|
11016
|
+
}]; // ----- new-parens -----
|
|
11017
|
+
type NewParens = [] | [("always" | "never")]; // ----- newline-after-var -----
|
|
11018
|
+
type NewlineAfterVar = [] | [("never" | "always")]; // ----- newline-per-chained-call -----
|
|
11433
11019
|
type NewlinePerChainedCall = [] | [{
|
|
11434
11020
|
ignoreChainWithDepth?: number;
|
|
11435
|
-
}];
|
|
11436
|
-
// ----- no-bitwise -----
|
|
11021
|
+
}]; // ----- no-bitwise -----
|
|
11437
11022
|
type NoBitwise = [] | [{
|
|
11438
11023
|
allow?: ("^" | "|" | "&" | "<<" | ">>" | ">>>" | "^=" | "|=" | "&=" | "<<=" | ">>=" | ">>>=" | "~")[];
|
|
11439
11024
|
int32Hint?: boolean;
|
|
11440
|
-
}];
|
|
11441
|
-
// ----- no-
|
|
11442
|
-
type NoCondAssign = [] | [("except-parens" | "always")];
|
|
11443
|
-
// ----- no-confusing-arrow -----
|
|
11025
|
+
}]; // ----- no-cond-assign -----
|
|
11026
|
+
type NoCondAssign = [] | [("except-parens" | "always")]; // ----- no-confusing-arrow -----
|
|
11444
11027
|
type NoConfusingArrow = [] | [{
|
|
11445
11028
|
allowParens?: boolean;
|
|
11446
11029
|
onlyOneSimpleParam?: boolean;
|
|
11447
|
-
}];
|
|
11448
|
-
// ----- no-console -----
|
|
11030
|
+
}]; // ----- no-console -----
|
|
11449
11031
|
type NoConsole = [] | [{
|
|
11450
11032
|
allow?: [string, ...(string)[]];
|
|
11451
|
-
}];
|
|
11452
|
-
// ----- no-constant-condition -----
|
|
11033
|
+
}]; // ----- no-constant-condition -----
|
|
11453
11034
|
type NoConstantCondition = [] | [{
|
|
11454
11035
|
checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false);
|
|
11455
|
-
}];
|
|
11456
|
-
// ----- no-duplicate-imports -----
|
|
11036
|
+
}]; // ----- no-duplicate-imports -----
|
|
11457
11037
|
type NoDuplicateImports = [] | [{
|
|
11458
11038
|
includeExports?: boolean;
|
|
11459
11039
|
allowSeparateTypeImports?: boolean;
|
|
11460
|
-
}];
|
|
11461
|
-
// ----- no-else-return -----
|
|
11040
|
+
}]; // ----- no-else-return -----
|
|
11462
11041
|
type NoElseReturn = [] | [{
|
|
11463
11042
|
allowElseIf?: boolean;
|
|
11464
|
-
}];
|
|
11465
|
-
// ----- no-empty -----
|
|
11043
|
+
}]; // ----- no-empty -----
|
|
11466
11044
|
type NoEmpty = [] | [{
|
|
11467
11045
|
allowEmptyCatch?: boolean;
|
|
11468
|
-
}];
|
|
11469
|
-
// ----- no-empty-function -----
|
|
11046
|
+
}]; // ----- no-empty-function -----
|
|
11470
11047
|
type NoEmptyFunction = [] | [{
|
|
11471
11048
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[];
|
|
11472
|
-
}];
|
|
11473
|
-
// ----- no-empty-pattern -----
|
|
11049
|
+
}]; // ----- no-empty-pattern -----
|
|
11474
11050
|
type NoEmptyPattern = [] | [{
|
|
11475
11051
|
allowObjectPatternsAsParameters?: boolean;
|
|
11476
|
-
}];
|
|
11477
|
-
// ----- no-eval -----
|
|
11052
|
+
}]; // ----- no-eval -----
|
|
11478
11053
|
type NoEval = [] | [{
|
|
11479
11054
|
allowIndirect?: boolean;
|
|
11480
|
-
}];
|
|
11481
|
-
// ----- no-extend-native -----
|
|
11055
|
+
}]; // ----- no-extend-native -----
|
|
11482
11056
|
type NoExtendNative = [] | [{
|
|
11483
11057
|
exceptions?: string[];
|
|
11484
|
-
}];
|
|
11485
|
-
// ----- no-extra-boolean-cast -----
|
|
11058
|
+
}]; // ----- no-extra-boolean-cast -----
|
|
11486
11059
|
type NoExtraBooleanCast = [] | [({
|
|
11487
11060
|
enforceForInnerExpressions?: boolean;
|
|
11488
11061
|
} | {
|
|
11489
11062
|
enforceForLogicalOperands?: boolean;
|
|
11490
|
-
})];
|
|
11491
|
-
// ----- no-extra-parens -----
|
|
11063
|
+
})]; // ----- no-extra-parens -----
|
|
11492
11064
|
type NoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
11493
11065
|
conditionalAssign?: boolean;
|
|
11494
11066
|
ternaryOperandBinaryExpressions?: boolean;
|
|
@@ -11500,59 +11072,48 @@ type NoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
11500
11072
|
enforceForNewInMemberExpressions?: boolean;
|
|
11501
11073
|
enforceForFunctionPrototypeMethods?: boolean;
|
|
11502
11074
|
allowParensAfterCommentPattern?: string;
|
|
11503
|
-
}]);
|
|
11504
|
-
// ----- no-fallthrough -----
|
|
11075
|
+
}]); // ----- no-fallthrough -----
|
|
11505
11076
|
type NoFallthrough = [] | [{
|
|
11506
11077
|
commentPattern?: string;
|
|
11507
11078
|
allowEmptyCase?: boolean;
|
|
11508
11079
|
reportUnusedFallthroughComment?: boolean;
|
|
11509
|
-
}];
|
|
11510
|
-
// ----- no-global-assign -----
|
|
11080
|
+
}]; // ----- no-global-assign -----
|
|
11511
11081
|
type NoGlobalAssign = [] | [{
|
|
11512
11082
|
exceptions?: string[];
|
|
11513
|
-
}];
|
|
11514
|
-
// ----- no-implicit-coercion -----
|
|
11083
|
+
}]; // ----- no-implicit-coercion -----
|
|
11515
11084
|
type NoImplicitCoercion = [] | [{
|
|
11516
11085
|
boolean?: boolean;
|
|
11517
11086
|
number?: boolean;
|
|
11518
11087
|
string?: boolean;
|
|
11519
11088
|
disallowTemplateShorthand?: boolean;
|
|
11520
11089
|
allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[];
|
|
11521
|
-
}];
|
|
11522
|
-
// ----- no-implicit-globals -----
|
|
11090
|
+
}]; // ----- no-implicit-globals -----
|
|
11523
11091
|
type NoImplicitGlobals = [] | [{
|
|
11524
11092
|
lexicalBindings?: boolean;
|
|
11525
|
-
}];
|
|
11526
|
-
// ----- no-inline-comments -----
|
|
11093
|
+
}]; // ----- no-inline-comments -----
|
|
11527
11094
|
type NoInlineComments = [] | [{
|
|
11528
11095
|
ignorePattern?: string;
|
|
11529
|
-
}];
|
|
11530
|
-
// ----- no-inner-declarations -----
|
|
11096
|
+
}]; // ----- no-inner-declarations -----
|
|
11531
11097
|
type NoInnerDeclarations = [] | [("functions" | "both")] | [("functions" | "both"), {
|
|
11532
11098
|
blockScopedFunctions?: ("allow" | "disallow");
|
|
11533
|
-
}];
|
|
11534
|
-
// ----- no-invalid-regexp -----
|
|
11099
|
+
}]; // ----- no-invalid-regexp -----
|
|
11535
11100
|
type NoInvalidRegexp = [] | [{
|
|
11536
11101
|
allowConstructorFlags?: string[];
|
|
11537
|
-
}];
|
|
11538
|
-
// ----- no-invalid-this -----
|
|
11102
|
+
}]; // ----- no-invalid-this -----
|
|
11539
11103
|
type NoInvalidThis = [] | [{
|
|
11540
11104
|
capIsConstructor?: boolean;
|
|
11541
|
-
}];
|
|
11542
|
-
// ----- no-irregular-whitespace -----
|
|
11105
|
+
}]; // ----- no-irregular-whitespace -----
|
|
11543
11106
|
type NoIrregularWhitespace = [] | [{
|
|
11544
11107
|
skipComments?: boolean;
|
|
11545
11108
|
skipStrings?: boolean;
|
|
11546
11109
|
skipTemplates?: boolean;
|
|
11547
11110
|
skipRegExps?: boolean;
|
|
11548
11111
|
skipJSXText?: boolean;
|
|
11549
|
-
}];
|
|
11550
|
-
// ----- no-labels -----
|
|
11112
|
+
}]; // ----- no-labels -----
|
|
11551
11113
|
type NoLabels = [] | [{
|
|
11552
11114
|
allowLoop?: boolean;
|
|
11553
11115
|
allowSwitch?: boolean;
|
|
11554
|
-
}];
|
|
11555
|
-
// ----- no-magic-numbers -----
|
|
11116
|
+
}]; // ----- no-magic-numbers -----
|
|
11556
11117
|
type NoMagicNumbers = [] | [{
|
|
11557
11118
|
detectObjects?: boolean;
|
|
11558
11119
|
enforceConst?: boolean;
|
|
@@ -11564,65 +11125,52 @@ type NoMagicNumbers = [] | [{
|
|
|
11564
11125
|
ignoreNumericLiteralTypes?: boolean;
|
|
11565
11126
|
ignoreReadonlyClassProperties?: boolean;
|
|
11566
11127
|
ignoreTypeIndexes?: boolean;
|
|
11567
|
-
}];
|
|
11568
|
-
// ----- no-misleading-character-class -----
|
|
11128
|
+
}]; // ----- no-misleading-character-class -----
|
|
11569
11129
|
type NoMisleadingCharacterClass = [] | [{
|
|
11570
11130
|
allowEscape?: boolean;
|
|
11571
|
-
}];
|
|
11572
|
-
// ----- no-mixed-operators -----
|
|
11131
|
+
}]; // ----- no-mixed-operators -----
|
|
11573
11132
|
type NoMixedOperators = [] | [{
|
|
11574
11133
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][];
|
|
11575
11134
|
allowSamePrecedence?: boolean;
|
|
11576
|
-
}];
|
|
11577
|
-
// ----- no-mixed-requires -----
|
|
11135
|
+
}]; // ----- no-mixed-requires -----
|
|
11578
11136
|
type NoMixedRequires = [] | [(boolean | {
|
|
11579
11137
|
grouping?: boolean;
|
|
11580
11138
|
allowCall?: boolean;
|
|
11581
|
-
})];
|
|
11582
|
-
// ----- no-
|
|
11583
|
-
type NoMixedSpacesAndTabs = [] | [("smart-tabs" | true | false)];
|
|
11584
|
-
// ----- no-multi-assign -----
|
|
11139
|
+
})]; // ----- no-mixed-spaces-and-tabs -----
|
|
11140
|
+
type NoMixedSpacesAndTabs = [] | [("smart-tabs" | true | false)]; // ----- no-multi-assign -----
|
|
11585
11141
|
type NoMultiAssign = [] | [{
|
|
11586
11142
|
ignoreNonDeclaration?: boolean;
|
|
11587
|
-
}];
|
|
11588
|
-
// ----- no-multi-spaces -----
|
|
11143
|
+
}]; // ----- no-multi-spaces -----
|
|
11589
11144
|
type NoMultiSpaces = [] | [{
|
|
11590
11145
|
exceptions?: {
|
|
11591
11146
|
[k: string]: boolean;
|
|
11592
11147
|
};
|
|
11593
11148
|
ignoreEOLComments?: boolean;
|
|
11594
|
-
}];
|
|
11595
|
-
// ----- no-multiple-empty-lines -----
|
|
11149
|
+
}]; // ----- no-multiple-empty-lines -----
|
|
11596
11150
|
type NoMultipleEmptyLines = [] | [{
|
|
11597
11151
|
max: number;
|
|
11598
11152
|
maxEOF?: number;
|
|
11599
11153
|
maxBOF?: number;
|
|
11600
|
-
}];
|
|
11601
|
-
// ----- no-native-reassign -----
|
|
11154
|
+
}]; // ----- no-native-reassign -----
|
|
11602
11155
|
type NoNativeReassign = [] | [{
|
|
11603
11156
|
exceptions?: string[];
|
|
11604
|
-
}];
|
|
11605
|
-
// ----- no-param-reassign -----
|
|
11157
|
+
}]; // ----- no-param-reassign -----
|
|
11606
11158
|
type NoParamReassign = [] | [({
|
|
11607
11159
|
props?: false;
|
|
11608
11160
|
} | {
|
|
11609
11161
|
props?: true;
|
|
11610
11162
|
ignorePropertyModificationsFor?: string[];
|
|
11611
11163
|
ignorePropertyModificationsForRegex?: string[];
|
|
11612
|
-
})];
|
|
11613
|
-
// ----- no-plusplus -----
|
|
11164
|
+
})]; // ----- no-plusplus -----
|
|
11614
11165
|
type NoPlusplus = [] | [{
|
|
11615
11166
|
allowForLoopAfterthoughts?: boolean;
|
|
11616
|
-
}];
|
|
11617
|
-
// ----- no-promise-executor-return -----
|
|
11167
|
+
}]; // ----- no-promise-executor-return -----
|
|
11618
11168
|
type NoPromiseExecutorReturn = [] | [{
|
|
11619
11169
|
allowVoid?: boolean;
|
|
11620
|
-
}];
|
|
11621
|
-
// ----- no-redeclare -----
|
|
11170
|
+
}]; // ----- no-redeclare -----
|
|
11622
11171
|
type NoRedeclare = [] | [{
|
|
11623
11172
|
builtinGlobals?: boolean;
|
|
11624
|
-
}];
|
|
11625
|
-
// ----- no-restricted-exports -----
|
|
11173
|
+
}]; // ----- no-restricted-exports -----
|
|
11626
11174
|
type NoRestrictedExports = [] | [({
|
|
11627
11175
|
restrictedNamedExports?: string[];
|
|
11628
11176
|
restrictedNamedExportsPattern?: string;
|
|
@@ -11636,8 +11184,7 @@ type NoRestrictedExports = [] | [({
|
|
|
11636
11184
|
namedFrom?: boolean;
|
|
11637
11185
|
namespaceFrom?: boolean;
|
|
11638
11186
|
};
|
|
11639
|
-
})];
|
|
11640
|
-
// ----- no-restricted-globals -----
|
|
11187
|
+
})]; // ----- no-restricted-globals -----
|
|
11641
11188
|
type NoRestrictedGlobals = ((string | {
|
|
11642
11189
|
name: string;
|
|
11643
11190
|
message?: string;
|
|
@@ -11648,8 +11195,7 @@ type NoRestrictedGlobals = ((string | {
|
|
|
11648
11195
|
})[];
|
|
11649
11196
|
checkGlobalObject?: boolean;
|
|
11650
11197
|
globalObjects?: string[];
|
|
11651
|
-
}]);
|
|
11652
|
-
// ----- no-restricted-imports -----
|
|
11198
|
+
}]); // ----- no-restricted-imports -----
|
|
11653
11199
|
type NoRestrictedImports = ((string | {
|
|
11654
11200
|
name: string;
|
|
11655
11201
|
message?: string;
|
|
@@ -11669,8 +11215,7 @@ type NoRestrictedImports = ((string | {
|
|
|
11669
11215
|
} | {
|
|
11670
11216
|
[k: string]: unknown | undefined;
|
|
11671
11217
|
})[]);
|
|
11672
|
-
}]);
|
|
11673
|
-
// ----- no-restricted-modules -----
|
|
11218
|
+
}]); // ----- no-restricted-modules -----
|
|
11674
11219
|
type NoRestrictedModules = ((string | {
|
|
11675
11220
|
name: string;
|
|
11676
11221
|
message?: string;
|
|
@@ -11680,29 +11225,23 @@ type NoRestrictedModules = ((string | {
|
|
|
11680
11225
|
message?: string;
|
|
11681
11226
|
})[];
|
|
11682
11227
|
patterns?: string[];
|
|
11683
|
-
}[]);
|
|
11684
|
-
// ----- no-restricted-properties -----
|
|
11228
|
+
}[]); // ----- no-restricted-properties -----
|
|
11685
11229
|
type NoRestrictedProperties = ({
|
|
11686
11230
|
[k: string]: unknown | undefined;
|
|
11687
11231
|
} | {
|
|
11688
11232
|
[k: string]: unknown | undefined;
|
|
11689
|
-
})[];
|
|
11690
|
-
// ----- no-restricted-syntax -----
|
|
11233
|
+
})[]; // ----- no-restricted-syntax -----
|
|
11691
11234
|
type NoRestrictedSyntax = (string | {
|
|
11692
11235
|
selector: string;
|
|
11693
11236
|
message?: string;
|
|
11694
|
-
})[];
|
|
11695
|
-
// ----- no-
|
|
11696
|
-
type NoReturnAssign = [] | [("except-parens" | "always")];
|
|
11697
|
-
// ----- no-self-assign -----
|
|
11237
|
+
})[]; // ----- no-return-assign -----
|
|
11238
|
+
type NoReturnAssign = [] | [("except-parens" | "always")]; // ----- no-self-assign -----
|
|
11698
11239
|
type NoSelfAssign = [] | [{
|
|
11699
11240
|
props?: boolean;
|
|
11700
|
-
}];
|
|
11701
|
-
// ----- no-sequences -----
|
|
11241
|
+
}]; // ----- no-sequences -----
|
|
11702
11242
|
type NoSequences = [] | [{
|
|
11703
11243
|
allowInParentheses?: boolean;
|
|
11704
|
-
}];
|
|
11705
|
-
// ----- no-shadow -----
|
|
11244
|
+
}]; // ----- no-shadow -----
|
|
11706
11245
|
type NoShadow = [] | [{
|
|
11707
11246
|
builtinGlobals?: boolean;
|
|
11708
11247
|
hoist?: ("all" | "functions" | "never" | "types" | "functions-and-types");
|
|
@@ -11710,29 +11249,23 @@ type NoShadow = [] | [{
|
|
|
11710
11249
|
ignoreOnInitialization?: boolean;
|
|
11711
11250
|
ignoreTypeValueShadow?: boolean;
|
|
11712
11251
|
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
11713
|
-
}];
|
|
11714
|
-
// ----- no-shadow-restricted-names -----
|
|
11252
|
+
}]; // ----- no-shadow-restricted-names -----
|
|
11715
11253
|
type NoShadowRestrictedNames = [] | [{
|
|
11716
11254
|
reportGlobalThis?: boolean;
|
|
11717
|
-
}];
|
|
11718
|
-
// ----- no-sync -----
|
|
11255
|
+
}]; // ----- no-sync -----
|
|
11719
11256
|
type NoSync = [] | [{
|
|
11720
11257
|
allowAtRootLevel?: boolean;
|
|
11721
|
-
}];
|
|
11722
|
-
// ----- no-tabs -----
|
|
11258
|
+
}]; // ----- no-tabs -----
|
|
11723
11259
|
type NoTabs = [] | [{
|
|
11724
11260
|
allowIndentationTabs?: boolean;
|
|
11725
|
-
}];
|
|
11726
|
-
// ----- no-trailing-spaces -----
|
|
11261
|
+
}]; // ----- no-trailing-spaces -----
|
|
11727
11262
|
type NoTrailingSpaces = [] | [{
|
|
11728
11263
|
skipBlankLines?: boolean;
|
|
11729
11264
|
ignoreComments?: boolean;
|
|
11730
|
-
}];
|
|
11731
|
-
// ----- no-undef -----
|
|
11265
|
+
}]; // ----- no-undef -----
|
|
11732
11266
|
type NoUndef = [] | [{
|
|
11733
11267
|
typeof?: boolean;
|
|
11734
|
-
}];
|
|
11735
|
-
// ----- no-underscore-dangle -----
|
|
11268
|
+
}]; // ----- no-underscore-dangle -----
|
|
11736
11269
|
type NoUnderscoreDangle = [] | [{
|
|
11737
11270
|
allow?: string[];
|
|
11738
11271
|
allowAfterThis?: boolean;
|
|
@@ -11743,32 +11276,26 @@ type NoUnderscoreDangle = [] | [{
|
|
|
11743
11276
|
enforceInClassFields?: boolean;
|
|
11744
11277
|
allowInArrayDestructuring?: boolean;
|
|
11745
11278
|
allowInObjectDestructuring?: boolean;
|
|
11746
|
-
}];
|
|
11747
|
-
// ----- no-unneeded-ternary -----
|
|
11279
|
+
}]; // ----- no-unneeded-ternary -----
|
|
11748
11280
|
type NoUnneededTernary = [] | [{
|
|
11749
11281
|
defaultAssignment?: boolean;
|
|
11750
|
-
}];
|
|
11751
|
-
// ----- no-unreachable-loop -----
|
|
11282
|
+
}]; // ----- no-unreachable-loop -----
|
|
11752
11283
|
type NoUnreachableLoop = [] | [{
|
|
11753
11284
|
ignore?: ("WhileStatement" | "DoWhileStatement" | "ForStatement" | "ForInStatement" | "ForOfStatement")[];
|
|
11754
|
-
}];
|
|
11755
|
-
// ----- no-unsafe-negation -----
|
|
11285
|
+
}]; // ----- no-unsafe-negation -----
|
|
11756
11286
|
type NoUnsafeNegation = [] | [{
|
|
11757
11287
|
enforceForOrderingRelations?: boolean;
|
|
11758
|
-
}];
|
|
11759
|
-
// ----- no-unsafe-optional-chaining -----
|
|
11288
|
+
}]; // ----- no-unsafe-optional-chaining -----
|
|
11760
11289
|
type NoUnsafeOptionalChaining = [] | [{
|
|
11761
11290
|
disallowArithmeticOperators?: boolean;
|
|
11762
|
-
}];
|
|
11763
|
-
// ----- no-unused-expressions -----
|
|
11291
|
+
}]; // ----- no-unused-expressions -----
|
|
11764
11292
|
type NoUnusedExpressions = [] | [{
|
|
11765
11293
|
allowShortCircuit?: boolean;
|
|
11766
11294
|
allowTernary?: boolean;
|
|
11767
11295
|
allowTaggedTemplates?: boolean;
|
|
11768
11296
|
enforceForJSX?: boolean;
|
|
11769
11297
|
ignoreDirectives?: boolean;
|
|
11770
|
-
}];
|
|
11771
|
-
// ----- no-unused-vars -----
|
|
11298
|
+
}]; // ----- no-unused-vars -----
|
|
11772
11299
|
type NoUnusedVars = [] | [(("all" | "local") | {
|
|
11773
11300
|
vars?: ("all" | "local");
|
|
11774
11301
|
varsIgnorePattern?: string;
|
|
@@ -11781,8 +11308,7 @@ type NoUnusedVars = [] | [(("all" | "local") | {
|
|
|
11781
11308
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
11782
11309
|
ignoreUsingDeclarations?: boolean;
|
|
11783
11310
|
reportUsedIgnorePattern?: boolean;
|
|
11784
|
-
})];
|
|
11785
|
-
// ----- no-use-before-define -----
|
|
11311
|
+
})]; // ----- no-use-before-define -----
|
|
11786
11312
|
type NoUseBeforeDefine = [] | [("nofunc" | {
|
|
11787
11313
|
functions?: boolean;
|
|
11788
11314
|
classes?: boolean;
|
|
@@ -11791,44 +11317,34 @@ type NoUseBeforeDefine = [] | [("nofunc" | {
|
|
|
11791
11317
|
enums?: boolean;
|
|
11792
11318
|
typedefs?: boolean;
|
|
11793
11319
|
ignoreTypeReferences?: boolean;
|
|
11794
|
-
})];
|
|
11795
|
-
// ----- no-useless-computed-key -----
|
|
11320
|
+
})]; // ----- no-useless-computed-key -----
|
|
11796
11321
|
type NoUselessComputedKey = [] | [{
|
|
11797
11322
|
enforceForClassMembers?: boolean;
|
|
11798
|
-
}];
|
|
11799
|
-
// ----- no-useless-escape -----
|
|
11323
|
+
}]; // ----- no-useless-escape -----
|
|
11800
11324
|
type NoUselessEscape = [] | [{
|
|
11801
11325
|
allowRegexCharacters?: string[];
|
|
11802
|
-
}];
|
|
11803
|
-
// ----- no-useless-rename -----
|
|
11326
|
+
}]; // ----- no-useless-rename -----
|
|
11804
11327
|
type NoUselessRename = [] | [{
|
|
11805
11328
|
ignoreDestructuring?: boolean;
|
|
11806
11329
|
ignoreImport?: boolean;
|
|
11807
11330
|
ignoreExport?: boolean;
|
|
11808
|
-
}];
|
|
11809
|
-
// ----- no-void -----
|
|
11331
|
+
}]; // ----- no-void -----
|
|
11810
11332
|
type NoVoid = [] | [{
|
|
11811
11333
|
allowAsStatement?: boolean;
|
|
11812
|
-
}];
|
|
11813
|
-
// ----- no-warning-comments -----
|
|
11334
|
+
}]; // ----- no-warning-comments -----
|
|
11814
11335
|
type NoWarningComments = [] | [{
|
|
11815
11336
|
terms?: string[];
|
|
11816
11337
|
location?: ("start" | "anywhere");
|
|
11817
11338
|
decoration?: [string, ...(string)[]];
|
|
11818
|
-
}];
|
|
11819
|
-
// ----- node/
|
|
11820
|
-
type NodeCallbackReturn = [] | [string[]];
|
|
11821
|
-
// ----- node/exports-style -----
|
|
11339
|
+
}]; // ----- node/callback-return -----
|
|
11340
|
+
type NodeCallbackReturn = [] | [string[]]; // ----- node/exports-style -----
|
|
11822
11341
|
type NodeExportsStyle = [] | [("module.exports" | "exports")] | [("module.exports" | "exports"), {
|
|
11823
11342
|
allowBatchAssign?: boolean;
|
|
11824
|
-
}];
|
|
11825
|
-
// ----- node/file-extension-in-import -----
|
|
11343
|
+
}]; // ----- node/file-extension-in-import -----
|
|
11826
11344
|
type NodeFileExtensionInImport = [] | [("always" | "never")] | [("always" | "never"), {
|
|
11827
11345
|
[k: string]: ("always" | "never") | undefined;
|
|
11828
|
-
}];
|
|
11829
|
-
// ----- node/
|
|
11830
|
-
type NodeHandleCallbackErr = [] | [string];
|
|
11831
|
-
// ----- node/hashbang -----
|
|
11346
|
+
}]; // ----- node/handle-callback-err -----
|
|
11347
|
+
type NodeHandleCallbackErr = [] | [string]; // ----- node/hashbang -----
|
|
11832
11348
|
type NodeHashbang = [] | [{
|
|
11833
11349
|
convertPath?: ({
|
|
11834
11350
|
[k: string]: [string, string];
|
|
@@ -11846,15 +11362,13 @@ type NodeHashbang = [] | [{
|
|
|
11846
11362
|
executableMap?: {
|
|
11847
11363
|
[k: string]: string;
|
|
11848
11364
|
};
|
|
11849
|
-
}];
|
|
11850
|
-
// ----- node/no-deprecated-api -----
|
|
11365
|
+
}]; // ----- node/no-deprecated-api -----
|
|
11851
11366
|
type NodeNoDeprecatedApi = [] | [{
|
|
11852
11367
|
version?: string;
|
|
11853
11368
|
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "repl.builtinModules" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
11854
11369
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[];
|
|
11855
11370
|
ignoreIndirectDependencies?: boolean;
|
|
11856
|
-
}];
|
|
11857
|
-
// ----- node/no-extraneous-import -----
|
|
11371
|
+
}]; // ----- node/no-extraneous-import -----
|
|
11858
11372
|
type NodeNoExtraneousImport = [] | [{
|
|
11859
11373
|
allowModules?: string[];
|
|
11860
11374
|
convertPath?: ({
|
|
@@ -11872,8 +11386,7 @@ type NodeNoExtraneousImport = [] | [{
|
|
|
11872
11386
|
resolverConfig?: {
|
|
11873
11387
|
[k: string]: unknown | undefined;
|
|
11874
11388
|
};
|
|
11875
|
-
}];
|
|
11876
|
-
// ----- node/no-extraneous-require -----
|
|
11389
|
+
}]; // ----- node/no-extraneous-require -----
|
|
11877
11390
|
type NodeNoExtraneousRequire = [] | [{
|
|
11878
11391
|
allowModules?: string[];
|
|
11879
11392
|
convertPath?: ({
|
|
@@ -11892,14 +11405,12 @@ type NodeNoExtraneousRequire = [] | [{
|
|
|
11892
11405
|
[k: string]: unknown | undefined;
|
|
11893
11406
|
};
|
|
11894
11407
|
tryExtensions?: string[];
|
|
11895
|
-
}];
|
|
11896
|
-
// ----- node/no-hide-core-modules -----
|
|
11408
|
+
}]; // ----- node/no-hide-core-modules -----
|
|
11897
11409
|
type NodeNoHideCoreModules = [] | [{
|
|
11898
11410
|
allow?: ("assert" | "buffer" | "child_process" | "cluster" | "console" | "constants" | "crypto" | "dgram" | "dns" | "events" | "fs" | "http" | "https" | "module" | "net" | "os" | "path" | "querystring" | "readline" | "repl" | "stream" | "string_decoder" | "timers" | "tls" | "tty" | "url" | "util" | "vm" | "zlib")[];
|
|
11899
11411
|
ignoreDirectDependencies?: boolean;
|
|
11900
11412
|
ignoreIndirectDependencies?: boolean;
|
|
11901
|
-
}];
|
|
11902
|
-
// ----- node/no-missing-import -----
|
|
11413
|
+
}]; // ----- node/no-missing-import -----
|
|
11903
11414
|
type NodeNoMissingImport = [] | [{
|
|
11904
11415
|
allowModules?: string[];
|
|
11905
11416
|
resolvePaths?: string[];
|
|
@@ -11910,8 +11421,7 @@ type NodeNoMissingImport = [] | [{
|
|
|
11910
11421
|
ignoreTypeImport?: boolean;
|
|
11911
11422
|
tsconfigPath?: string;
|
|
11912
11423
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"));
|
|
11913
|
-
}];
|
|
11914
|
-
// ----- node/no-missing-require -----
|
|
11424
|
+
}]; // ----- node/no-missing-require -----
|
|
11915
11425
|
type NodeNoMissingRequire = [] | [{
|
|
11916
11426
|
allowModules?: string[];
|
|
11917
11427
|
tryExtensions?: string[];
|
|
@@ -11921,27 +11431,22 @@ type NodeNoMissingRequire = [] | [{
|
|
|
11921
11431
|
};
|
|
11922
11432
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"));
|
|
11923
11433
|
tsconfigPath?: string;
|
|
11924
|
-
}];
|
|
11925
|
-
// ----- node/no-mixed-requires -----
|
|
11434
|
+
}]; // ----- node/no-mixed-requires -----
|
|
11926
11435
|
type NodeNoMixedRequires = [] | [(boolean | {
|
|
11927
11436
|
grouping?: boolean;
|
|
11928
11437
|
allowCall?: boolean;
|
|
11929
|
-
})];
|
|
11930
|
-
// ----- node/no-process-env -----
|
|
11438
|
+
})]; // ----- node/no-process-env -----
|
|
11931
11439
|
type NodeNoProcessEnv = [] | [{
|
|
11932
11440
|
allowedVariables?: string[];
|
|
11933
|
-
}];
|
|
11934
|
-
// ----- node/no-restricted-import -----
|
|
11441
|
+
}]; // ----- node/no-restricted-import -----
|
|
11935
11442
|
type NodeNoRestrictedImport = [] | [(string | {
|
|
11936
11443
|
name: (string | string[]);
|
|
11937
11444
|
message?: string;
|
|
11938
|
-
})[]];
|
|
11939
|
-
// ----- node/no-restricted-require -----
|
|
11445
|
+
})[]]; // ----- node/no-restricted-require -----
|
|
11940
11446
|
type NodeNoRestrictedRequire = [] | [(string | {
|
|
11941
11447
|
name: (string | string[]);
|
|
11942
11448
|
message?: string;
|
|
11943
|
-
})[]];
|
|
11944
|
-
// ----- node/no-sync -----
|
|
11449
|
+
})[]]; // ----- node/no-sync -----
|
|
11945
11450
|
type NodeNoSync = [] | [{
|
|
11946
11451
|
allowAtRootLevel?: boolean;
|
|
11947
11452
|
ignores?: (string | {
|
|
@@ -11956,8 +11461,7 @@ type NodeNoSync = [] | [{
|
|
|
11956
11461
|
package?: string;
|
|
11957
11462
|
name?: string[];
|
|
11958
11463
|
})[];
|
|
11959
|
-
}];
|
|
11960
|
-
// ----- node/no-top-level-await -----
|
|
11464
|
+
}]; // ----- node/no-top-level-await -----
|
|
11961
11465
|
type NodeNoTopLevelAwait = [] | [{
|
|
11962
11466
|
ignoreBin?: boolean;
|
|
11963
11467
|
convertPath?: ({
|
|
@@ -11971,8 +11475,7 @@ type NodeNoTopLevelAwait = [] | [{
|
|
|
11971
11475
|
exclude?: string[];
|
|
11972
11476
|
replace: [string, string];
|
|
11973
11477
|
})[]]);
|
|
11974
|
-
}];
|
|
11975
|
-
// ----- node/no-unpublished-bin -----
|
|
11478
|
+
}]; // ----- node/no-unpublished-bin -----
|
|
11976
11479
|
type NodeNoUnpublishedBin = [] | [{
|
|
11977
11480
|
convertPath?: ({
|
|
11978
11481
|
[k: string]: [string, string];
|
|
@@ -11986,8 +11489,7 @@ type NodeNoUnpublishedBin = [] | [{
|
|
|
11986
11489
|
replace: [string, string];
|
|
11987
11490
|
})[]]);
|
|
11988
11491
|
[k: string]: unknown | undefined;
|
|
11989
|
-
}];
|
|
11990
|
-
// ----- node/no-unpublished-import -----
|
|
11492
|
+
}]; // ----- node/no-unpublished-import -----
|
|
11991
11493
|
type NodeNoUnpublishedImport = [] | [{
|
|
11992
11494
|
allowModules?: string[];
|
|
11993
11495
|
convertPath?: ({
|
|
@@ -12008,8 +11510,7 @@ type NodeNoUnpublishedImport = [] | [{
|
|
|
12008
11510
|
tryExtensions?: string[];
|
|
12009
11511
|
ignoreTypeImport?: boolean;
|
|
12010
11512
|
ignorePrivate?: boolean;
|
|
12011
|
-
}];
|
|
12012
|
-
// ----- node/no-unpublished-require -----
|
|
11513
|
+
}]; // ----- node/no-unpublished-require -----
|
|
12013
11514
|
type NodeNoUnpublishedRequire = [] | [{
|
|
12014
11515
|
allowModules?: string[];
|
|
12015
11516
|
convertPath?: ({
|
|
@@ -12029,42 +11530,30 @@ type NodeNoUnpublishedRequire = [] | [{
|
|
|
12029
11530
|
};
|
|
12030
11531
|
tryExtensions?: string[];
|
|
12031
11532
|
ignorePrivate?: boolean;
|
|
12032
|
-
}];
|
|
12033
|
-
// ----- node/no-unsupported-features/es-builtins -----
|
|
11533
|
+
}]; // ----- node/no-unsupported-features/es-builtins -----
|
|
12034
11534
|
type NodeNoUnsupportedFeaturesEsBuiltins = [] | [{
|
|
12035
11535
|
version?: string;
|
|
12036
11536
|
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[];
|
|
12037
|
-
}];
|
|
12038
|
-
// ----- node/no-unsupported-features/es-syntax -----
|
|
11537
|
+
}]; // ----- node/no-unsupported-features/es-syntax -----
|
|
12039
11538
|
type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
12040
11539
|
version?: string;
|
|
12041
11540
|
ignores?: ("no-accessor-properties" | "accessor-properties" | "accessorProperties" | "no-arbitrary-module-namespace-names" | "arbitrary-module-namespace-names" | "arbitraryModuleNamespaceNames" | "no-array-from" | "array-from" | "arrayFrom" | "no-array-isarray" | "array-isarray" | "arrayIsarray" | "no-array-of" | "array-of" | "arrayOf" | "no-array-prototype-copywithin" | "array-prototype-copywithin" | "arrayPrototypeCopywithin" | "no-array-prototype-entries" | "array-prototype-entries" | "arrayPrototypeEntries" | "no-array-prototype-every" | "array-prototype-every" | "arrayPrototypeEvery" | "no-array-prototype-fill" | "array-prototype-fill" | "arrayPrototypeFill" | "no-array-prototype-filter" | "array-prototype-filter" | "arrayPrototypeFilter" | "no-array-prototype-find" | "array-prototype-find" | "arrayPrototypeFind" | "no-array-prototype-findindex" | "array-prototype-findindex" | "arrayPrototypeFindindex" | "no-array-prototype-findlast-findlastindex" | "array-prototype-findlast-findlastindex" | "arrayPrototypeFindlastFindlastindex" | "no-array-prototype-flat" | "array-prototype-flat" | "arrayPrototypeFlat" | "no-array-prototype-foreach" | "array-prototype-foreach" | "arrayPrototypeForeach" | "no-array-prototype-includes" | "array-prototype-includes" | "arrayPrototypeIncludes" | "no-array-prototype-indexof" | "array-prototype-indexof" | "arrayPrototypeIndexof" | "no-array-prototype-keys" | "array-prototype-keys" | "arrayPrototypeKeys" | "no-array-prototype-lastindexof" | "array-prototype-lastindexof" | "arrayPrototypeLastindexof" | "no-array-prototype-map" | "array-prototype-map" | "arrayPrototypeMap" | "no-array-prototype-reduce" | "array-prototype-reduce" | "arrayPrototypeReduce" | "no-array-prototype-reduceright" | "array-prototype-reduceright" | "arrayPrototypeReduceright" | "no-array-prototype-some" | "array-prototype-some" | "arrayPrototypeSome" | "no-array-prototype-toreversed" | "array-prototype-toreversed" | "arrayPrototypeToreversed" | "no-array-prototype-tosorted" | "array-prototype-tosorted" | "arrayPrototypeTosorted" | "no-array-prototype-tospliced" | "array-prototype-tospliced" | "arrayPrototypeTospliced" | "no-array-prototype-values" | "array-prototype-values" | "arrayPrototypeValues" | "no-array-prototype-with" | "array-prototype-with" | "arrayPrototypeWith" | "no-array-string-prototype-at" | "array-string-prototype-at" | "arrayStringPrototypeAt" | "no-arrow-functions" | "arrow-functions" | "arrowFunctions" | "no-async-functions" | "async-functions" | "asyncFunctions" | "no-async-iteration" | "async-iteration" | "asyncIteration" | "no-atomics-waitasync" | "atomics-waitasync" | "atomicsWaitasync" | "no-atomics" | "atomics" | "no-bigint" | "bigint" | "no-binary-numeric-literals" | "binary-numeric-literals" | "binaryNumericLiterals" | "no-block-scoped-functions" | "block-scoped-functions" | "blockScopedFunctions" | "no-block-scoped-variables" | "block-scoped-variables" | "blockScopedVariables" | "no-class-fields" | "class-fields" | "classFields" | "no-class-static-block" | "class-static-block" | "classStaticBlock" | "no-classes" | "classes" | "no-computed-properties" | "computed-properties" | "computedProperties" | "no-date-now" | "date-now" | "dateNow" | "no-date-prototype-getyear-setyear" | "date-prototype-getyear-setyear" | "datePrototypeGetyearSetyear" | "no-date-prototype-togmtstring" | "date-prototype-togmtstring" | "datePrototypeTogmtstring" | "no-default-parameters" | "default-parameters" | "defaultParameters" | "no-destructuring" | "destructuring" | "no-dynamic-import" | "dynamic-import" | "dynamicImport" | "no-error-cause" | "error-cause" | "errorCause" | "no-escape-unescape" | "escape-unescape" | "escapeUnescape" | "no-exponential-operators" | "exponential-operators" | "exponentialOperators" | "no-export-ns-from" | "export-ns-from" | "exportNsFrom" | "no-for-of-loops" | "for-of-loops" | "forOfLoops" | "no-function-declarations-in-if-statement-clauses-without-block" | "function-declarations-in-if-statement-clauses-without-block" | "functionDeclarationsInIfStatementClausesWithoutBlock" | "no-function-prototype-bind" | "function-prototype-bind" | "functionPrototypeBind" | "no-generators" | "generators" | "no-global-this" | "global-this" | "globalThis" | "no-hashbang" | "hashbang" | "no-import-meta" | "import-meta" | "importMeta" | "no-initializers-in-for-in" | "initializers-in-for-in" | "initializersInForIn" | "no-intl-datetimeformat-prototype-formatrange" | "intl-datetimeformat-prototype-formatrange" | "intlDatetimeformatPrototypeFormatrange" | "no-intl-datetimeformat-prototype-formattoparts" | "intl-datetimeformat-prototype-formattoparts" | "intlDatetimeformatPrototypeFormattoparts" | "no-intl-displaynames" | "intl-displaynames" | "intlDisplaynames" | "no-intl-getcanonicallocales" | "intl-getcanonicallocales" | "intlGetcanonicallocales" | "no-intl-listformat" | "intl-listformat" | "intlListformat" | "no-intl-locale" | "intl-locale" | "intlLocale" | "no-intl-numberformat-prototype-formatrange" | "intl-numberformat-prototype-formatrange" | "intlNumberformatPrototypeFormatrange" | "no-intl-numberformat-prototype-formatrangetoparts" | "intl-numberformat-prototype-formatrangetoparts" | "intlNumberformatPrototypeFormatrangetoparts" | "no-intl-numberformat-prototype-formattoparts" | "intl-numberformat-prototype-formattoparts" | "intlNumberformatPrototypeFormattoparts" | "no-intl-pluralrules-prototype-selectrange" | "intl-pluralrules-prototype-selectrange" | "intlPluralrulesPrototypeSelectrange" | "no-intl-pluralrules" | "intl-pluralrules" | "intlPluralrules" | "no-intl-relativetimeformat" | "intl-relativetimeformat" | "intlRelativetimeformat" | "no-intl-segmenter" | "intl-segmenter" | "intlSegmenter" | "no-intl-supportedvaluesof" | "intl-supportedvaluesof" | "intlSupportedvaluesof" | "no-json-superset" | "json-superset" | "jsonSuperset" | "no-json" | "json" | "no-keyword-properties" | "keyword-properties" | "keywordProperties" | "no-labelled-function-declarations" | "labelled-function-declarations" | "labelledFunctionDeclarations" | "no-legacy-object-prototype-accessor-methods" | "legacy-object-prototype-accessor-methods" | "legacyObjectPrototypeAccessorMethods" | "no-logical-assignment-operators" | "logical-assignment-operators" | "logicalAssignmentOperators" | "no-malformed-template-literals" | "malformed-template-literals" | "malformedTemplateLiterals" | "no-map" | "map" | "no-math-acosh" | "math-acosh" | "mathAcosh" | "no-math-asinh" | "math-asinh" | "mathAsinh" | "no-math-atanh" | "math-atanh" | "mathAtanh" | "no-math-cbrt" | "math-cbrt" | "mathCbrt" | "no-math-clz32" | "math-clz32" | "mathClz32" | "no-math-cosh" | "math-cosh" | "mathCosh" | "no-math-expm1" | "math-expm1" | "mathExpm1" | "no-math-fround" | "math-fround" | "mathFround" | "no-math-hypot" | "math-hypot" | "mathHypot" | "no-math-imul" | "math-imul" | "mathImul" | "no-math-log10" | "math-log10" | "mathLog10" | "no-math-log1p" | "math-log1p" | "mathLog1p" | "no-math-log2" | "math-log2" | "mathLog2" | "no-math-sign" | "math-sign" | "mathSign" | "no-math-sinh" | "math-sinh" | "mathSinh" | "no-math-tanh" | "math-tanh" | "mathTanh" | "no-math-trunc" | "math-trunc" | "mathTrunc" | "no-modules" | "modules" | "no-new-target" | "new-target" | "newTarget" | "new.target" | "no-nullish-coalescing-operators" | "nullish-coalescing-operators" | "nullishCoalescingOperators" | "no-number-epsilon" | "number-epsilon" | "numberEpsilon" | "no-number-isfinite" | "number-isfinite" | "numberIsfinite" | "no-number-isinteger" | "number-isinteger" | "numberIsinteger" | "no-number-isnan" | "number-isnan" | "numberIsnan" | "no-number-issafeinteger" | "number-issafeinteger" | "numberIssafeinteger" | "no-number-maxsafeinteger" | "number-maxsafeinteger" | "numberMaxsafeinteger" | "no-number-minsafeinteger" | "number-minsafeinteger" | "numberMinsafeinteger" | "no-number-parsefloat" | "number-parsefloat" | "numberParsefloat" | "no-number-parseint" | "number-parseint" | "numberParseint" | "no-numeric-separators" | "numeric-separators" | "numericSeparators" | "no-object-assign" | "object-assign" | "objectAssign" | "no-object-create" | "object-create" | "objectCreate" | "no-object-defineproperties" | "object-defineproperties" | "objectDefineproperties" | "no-object-defineproperty" | "object-defineproperty" | "objectDefineproperty" | "no-object-entries" | "object-entries" | "objectEntries" | "no-object-freeze" | "object-freeze" | "objectFreeze" | "no-object-fromentries" | "object-fromentries" | "objectFromentries" | "no-object-getownpropertydescriptor" | "object-getownpropertydescriptor" | "objectGetownpropertydescriptor" | "no-object-getownpropertydescriptors" | "object-getownpropertydescriptors" | "objectGetownpropertydescriptors" | "no-object-getownpropertynames" | "object-getownpropertynames" | "objectGetownpropertynames" | "no-object-getownpropertysymbols" | "object-getownpropertysymbols" | "objectGetownpropertysymbols" | "no-object-getprototypeof" | "object-getprototypeof" | "objectGetprototypeof" | "no-object-hasown" | "object-hasown" | "objectHasown" | "no-object-is" | "object-is" | "objectIs" | "no-object-isextensible" | "object-isextensible" | "objectIsextensible" | "no-object-isfrozen" | "object-isfrozen" | "objectIsfrozen" | "no-object-issealed" | "object-issealed" | "objectIssealed" | "no-object-keys" | "object-keys" | "objectKeys" | "no-object-map-groupby" | "object-map-groupby" | "objectMapGroupby" | "no-object-preventextensions" | "object-preventextensions" | "objectPreventextensions" | "no-object-seal" | "object-seal" | "objectSeal" | "no-object-setprototypeof" | "object-setprototypeof" | "objectSetprototypeof" | "no-object-super-properties" | "object-super-properties" | "objectSuperProperties" | "no-object-values" | "object-values" | "objectValues" | "no-octal-numeric-literals" | "octal-numeric-literals" | "octalNumericLiterals" | "no-optional-catch-binding" | "optional-catch-binding" | "optionalCatchBinding" | "no-optional-chaining" | "optional-chaining" | "optionalChaining" | "no-private-in" | "private-in" | "privateIn" | "no-promise-all-settled" | "promise-all-settled" | "promiseAllSettled" | "no-promise-any" | "promise-any" | "promiseAny" | "no-promise-prototype-finally" | "promise-prototype-finally" | "promisePrototypeFinally" | "no-promise-withresolvers" | "promise-withresolvers" | "promiseWithresolvers" | "no-promise" | "promise" | "no-property-shorthands" | "property-shorthands" | "propertyShorthands" | "no-proxy" | "proxy" | "no-reflect" | "reflect" | "no-regexp-d-flag" | "regexp-d-flag" | "regexpDFlag" | "no-regexp-lookbehind-assertions" | "regexp-lookbehind-assertions" | "regexpLookbehindAssertions" | "regexpLookbehind" | "no-regexp-named-capture-groups" | "regexp-named-capture-groups" | "regexpNamedCaptureGroups" | "no-regexp-prototype-compile" | "regexp-prototype-compile" | "regexpPrototypeCompile" | "no-regexp-prototype-flags" | "regexp-prototype-flags" | "regexpPrototypeFlags" | "no-regexp-s-flag" | "regexp-s-flag" | "regexpSFlag" | "regexpS" | "no-regexp-u-flag" | "regexp-u-flag" | "regexpUFlag" | "regexpU" | "no-regexp-unicode-property-escapes-2019" | "regexp-unicode-property-escapes-2019" | "regexpUnicodePropertyEscapes2019" | "no-regexp-unicode-property-escapes-2020" | "regexp-unicode-property-escapes-2020" | "regexpUnicodePropertyEscapes2020" | "no-regexp-unicode-property-escapes-2021" | "regexp-unicode-property-escapes-2021" | "regexpUnicodePropertyEscapes2021" | "no-regexp-unicode-property-escapes-2022" | "regexp-unicode-property-escapes-2022" | "regexpUnicodePropertyEscapes2022" | "no-regexp-unicode-property-escapes-2023" | "regexp-unicode-property-escapes-2023" | "regexpUnicodePropertyEscapes2023" | "no-regexp-unicode-property-escapes" | "regexp-unicode-property-escapes" | "regexpUnicodePropertyEscapes" | "regexpUnicodeProperties" | "no-regexp-v-flag" | "regexp-v-flag" | "regexpVFlag" | "no-regexp-y-flag" | "regexp-y-flag" | "regexpYFlag" | "regexpY" | "no-resizable-and-growable-arraybuffers" | "resizable-and-growable-arraybuffers" | "resizableAndGrowableArraybuffers" | "no-rest-parameters" | "rest-parameters" | "restParameters" | "no-rest-spread-properties" | "rest-spread-properties" | "restSpreadProperties" | "no-set" | "set" | "no-shadow-catch-param" | "shadow-catch-param" | "shadowCatchParam" | "no-shared-array-buffer" | "shared-array-buffer" | "sharedArrayBuffer" | "no-spread-elements" | "spread-elements" | "spreadElements" | "no-string-create-html-methods" | "string-create-html-methods" | "stringCreateHtmlMethods" | "no-string-fromcodepoint" | "string-fromcodepoint" | "stringFromcodepoint" | "no-string-prototype-codepointat" | "string-prototype-codepointat" | "stringPrototypeCodepointat" | "no-string-prototype-endswith" | "string-prototype-endswith" | "stringPrototypeEndswith" | "no-string-prototype-includes" | "string-prototype-includes" | "stringPrototypeIncludes" | "no-string-prototype-iswellformed-towellformed" | "string-prototype-iswellformed-towellformed" | "stringPrototypeIswellformedTowellformed" | "no-string-prototype-matchall" | "string-prototype-matchall" | "stringPrototypeMatchall" | "no-string-prototype-normalize" | "string-prototype-normalize" | "stringPrototypeNormalize" | "no-string-prototype-padstart-padend" | "string-prototype-padstart-padend" | "stringPrototypePadstartPadend" | "no-string-prototype-repeat" | "string-prototype-repeat" | "stringPrototypeRepeat" | "no-string-prototype-replaceall" | "string-prototype-replaceall" | "stringPrototypeReplaceall" | "no-string-prototype-startswith" | "string-prototype-startswith" | "stringPrototypeStartswith" | "no-string-prototype-substr" | "string-prototype-substr" | "stringPrototypeSubstr" | "no-string-prototype-trim" | "string-prototype-trim" | "stringPrototypeTrim" | "no-string-prototype-trimleft-trimright" | "string-prototype-trimleft-trimright" | "stringPrototypeTrimleftTrimright" | "no-string-prototype-trimstart-trimend" | "string-prototype-trimstart-trimend" | "stringPrototypeTrimstartTrimend" | "no-string-raw" | "string-raw" | "stringRaw" | "no-subclassing-builtins" | "subclassing-builtins" | "subclassingBuiltins" | "no-symbol-prototype-description" | "symbol-prototype-description" | "symbolPrototypeDescription" | "no-symbol" | "symbol" | "no-template-literals" | "template-literals" | "templateLiterals" | "no-top-level-await" | "top-level-await" | "topLevelAwait" | "no-trailing-commas" | "trailing-commas" | "trailingCommas" | "no-trailing-function-commas" | "trailing-function-commas" | "trailingFunctionCommas" | "trailingCommasInFunctions" | "no-typed-arrays" | "typed-arrays" | "typedArrays" | "no-unicode-codepoint-escapes" | "unicode-codepoint-escapes" | "unicodeCodepointEscapes" | "unicodeCodePointEscapes" | "no-weak-map" | "weak-map" | "weakMap" | "no-weak-set" | "weak-set" | "weakSet" | "no-weakrefs" | "weakrefs")[];
|
|
12042
|
-
}];
|
|
12043
|
-
// ----- node/no-unsupported-features/node-builtins -----
|
|
11541
|
+
}]; // ----- node/no-unsupported-features/node-builtins -----
|
|
12044
11542
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
12045
11543
|
version?: string;
|
|
12046
11544
|
allowExperimental?: boolean;
|
|
12047
11545
|
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.unref" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.Assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTlsa" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat16Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat16Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
12048
|
-
}];
|
|
12049
|
-
// ----- node/prefer-global/
|
|
12050
|
-
type
|
|
12051
|
-
// ----- node/prefer-global/
|
|
12052
|
-
type
|
|
12053
|
-
// ----- node/prefer-global/
|
|
12054
|
-
type
|
|
12055
|
-
// ----- node/prefer-
|
|
12056
|
-
type NodePreferGlobalTextDecoder = [] | [("always" | "never")];
|
|
12057
|
-
// ----- node/prefer-global/text-encoder -----
|
|
12058
|
-
type NodePreferGlobalTextEncoder = [] | [("always" | "never")];
|
|
12059
|
-
// ----- node/prefer-global/url -----
|
|
12060
|
-
type NodePreferGlobalUrl = [] | [("always" | "never")];
|
|
12061
|
-
// ----- node/prefer-global/url-search-params -----
|
|
12062
|
-
type NodePreferGlobalUrlSearchParams = [] | [("always" | "never")];
|
|
12063
|
-
// ----- node/prefer-node-protocol -----
|
|
11546
|
+
}]; // ----- node/prefer-global/buffer -----
|
|
11547
|
+
type NodePreferGlobalBuffer = [] | [("always" | "never")]; // ----- node/prefer-global/console -----
|
|
11548
|
+
type NodePreferGlobalConsole = [] | [("always" | "never")]; // ----- node/prefer-global/process -----
|
|
11549
|
+
type NodePreferGlobalProcess = [] | [("always" | "never")]; // ----- node/prefer-global/text-decoder -----
|
|
11550
|
+
type NodePreferGlobalTextDecoder = [] | [("always" | "never")]; // ----- node/prefer-global/text-encoder -----
|
|
11551
|
+
type NodePreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- node/prefer-global/url -----
|
|
11552
|
+
type NodePreferGlobalUrl = [] | [("always" | "never")]; // ----- node/prefer-global/url-search-params -----
|
|
11553
|
+
type NodePreferGlobalUrlSearchParams = [] | [("always" | "never")]; // ----- node/prefer-node-protocol -----
|
|
12064
11554
|
type NodePreferNodeProtocol = [] | [{
|
|
12065
11555
|
version?: string;
|
|
12066
|
-
}];
|
|
12067
|
-
// ----- node/shebang -----
|
|
11556
|
+
}]; // ----- node/shebang -----
|
|
12068
11557
|
type NodeShebang = [] | [{
|
|
12069
11558
|
convertPath?: ({
|
|
12070
11559
|
[k: string]: [string, string];
|
|
@@ -12082,8 +11571,7 @@ type NodeShebang = [] | [{
|
|
|
12082
11571
|
executableMap?: {
|
|
12083
11572
|
[k: string]: string;
|
|
12084
11573
|
};
|
|
12085
|
-
}];
|
|
12086
|
-
// ----- nonblock-statement-body-position -----
|
|
11574
|
+
}]; // ----- nonblock-statement-body-position -----
|
|
12087
11575
|
type NonblockStatementBodyPosition = [] | [("beside" | "below" | "any")] | [("beside" | "below" | "any"), {
|
|
12088
11576
|
overrides?: {
|
|
12089
11577
|
if?: ("beside" | "below" | "any");
|
|
@@ -12092,8 +11580,7 @@ type NonblockStatementBodyPosition = [] | [("beside" | "below" | "any")] | [("be
|
|
|
12092
11580
|
do?: ("beside" | "below" | "any");
|
|
12093
11581
|
for?: ("beside" | "below" | "any");
|
|
12094
11582
|
};
|
|
12095
|
-
}];
|
|
12096
|
-
// ----- object-curly-newline -----
|
|
11583
|
+
}]; // ----- object-curly-newline -----
|
|
12097
11584
|
type ObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
12098
11585
|
multiline?: boolean;
|
|
12099
11586
|
minProperties?: number;
|
|
@@ -12119,18 +11606,15 @@ type ObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
12119
11606
|
minProperties?: number;
|
|
12120
11607
|
consistent?: boolean;
|
|
12121
11608
|
});
|
|
12122
|
-
})];
|
|
12123
|
-
// ----- object-curly-spacing -----
|
|
11609
|
+
})]; // ----- object-curly-spacing -----
|
|
12124
11610
|
type ObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
12125
11611
|
arraysInObjects?: boolean;
|
|
12126
11612
|
objectsInObjects?: boolean;
|
|
12127
|
-
}];
|
|
12128
|
-
// ----- object-property-newline -----
|
|
11613
|
+
}]; // ----- object-property-newline -----
|
|
12129
11614
|
type ObjectPropertyNewline = [] | [{
|
|
12130
11615
|
allowAllPropertiesOnSameLine?: boolean;
|
|
12131
11616
|
allowMultiplePropertiesPerLine?: boolean;
|
|
12132
|
-
}];
|
|
12133
|
-
// ----- object-shorthand -----
|
|
11617
|
+
}]; // ----- object-shorthand -----
|
|
12134
11618
|
type ObjectShorthand = ([] | [("always" | "methods" | "properties" | "never" | "consistent" | "consistent-as-needed")] | [] | [("always" | "methods" | "properties")] | [("always" | "methods" | "properties"), {
|
|
12135
11619
|
avoidQuotes?: boolean;
|
|
12136
11620
|
}] | [] | [("always" | "methods")] | [("always" | "methods"), {
|
|
@@ -12138,8 +11622,7 @@ type ObjectShorthand = ([] | [("always" | "methods" | "properties" | "never" | "
|
|
|
12138
11622
|
methodsIgnorePattern?: string;
|
|
12139
11623
|
avoidQuotes?: boolean;
|
|
12140
11624
|
avoidExplicitReturnArrows?: boolean;
|
|
12141
|
-
}]);
|
|
12142
|
-
// ----- one-var -----
|
|
11625
|
+
}]); // ----- one-var -----
|
|
12143
11626
|
type OneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
12144
11627
|
separateRequires?: boolean;
|
|
12145
11628
|
var?: ("always" | "never" | "consecutive");
|
|
@@ -12150,18 +11633,14 @@ type OneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
|
12150
11633
|
} | {
|
|
12151
11634
|
initialized?: ("always" | "never" | "consecutive");
|
|
12152
11635
|
uninitialized?: ("always" | "never" | "consecutive");
|
|
12153
|
-
})];
|
|
12154
|
-
// -----
|
|
12155
|
-
type
|
|
12156
|
-
// ----- operator-assignment -----
|
|
12157
|
-
type OperatorAssignment = [] | [("always" | "never")];
|
|
12158
|
-
// ----- operator-linebreak -----
|
|
11636
|
+
})]; // ----- one-var-declaration-per-line -----
|
|
11637
|
+
type OneVarDeclarationPerLine = [] | [("always" | "initializations")]; // ----- operator-assignment -----
|
|
11638
|
+
type OperatorAssignment = [] | [("always" | "never")]; // ----- operator-linebreak -----
|
|
12159
11639
|
type OperatorLinebreak = [] | [("after" | "before" | "none" | null)] | [("after" | "before" | "none" | null), {
|
|
12160
11640
|
overrides?: {
|
|
12161
11641
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined;
|
|
12162
11642
|
};
|
|
12163
|
-
}];
|
|
12164
|
-
// ----- padded-blocks -----
|
|
11643
|
+
}]; // ----- padded-blocks -----
|
|
12165
11644
|
type PaddedBlocks = [] | [(("always" | "never") | {
|
|
12166
11645
|
blocks?: ("always" | "never");
|
|
12167
11646
|
switches?: ("always" | "never");
|
|
@@ -12172,16 +11651,14 @@ type PaddedBlocks = [] | [(("always" | "never") | {
|
|
|
12172
11651
|
classes?: ("always" | "never");
|
|
12173
11652
|
}), {
|
|
12174
11653
|
allowSingleLineBlocks?: boolean;
|
|
12175
|
-
}];
|
|
12176
|
-
// ----- padding-line-between-statements -----
|
|
11654
|
+
}]; // ----- padding-line-between-statements -----
|
|
12177
11655
|
type _PaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
12178
11656
|
type _PaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with") | [("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with"), ...(("*" | "block-like" | "cjs-export" | "cjs-import" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with"))[]]);
|
|
12179
11657
|
type PaddingLineBetweenStatements = {
|
|
12180
11658
|
blankLine: _PaddingLineBetweenStatementsPaddingType;
|
|
12181
11659
|
prev: _PaddingLineBetweenStatementsStatementType;
|
|
12182
11660
|
next: _PaddingLineBetweenStatementsStatementType;
|
|
12183
|
-
}[];
|
|
12184
|
-
// ----- perfectionist/sort-array-includes -----
|
|
11661
|
+
}[]; // ----- perfectionist/sort-array-includes -----
|
|
12185
11662
|
type PerfectionistSortArrayIncludes = {
|
|
12186
11663
|
fallbackSort?: {
|
|
12187
11664
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12286,8 +11763,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12286
11763
|
} | string)));
|
|
12287
11764
|
});
|
|
12288
11765
|
partitionByNewLine?: boolean;
|
|
12289
|
-
}[];
|
|
12290
|
-
// ----- perfectionist/sort-classes -----
|
|
11766
|
+
}[]; // ----- perfectionist/sort-classes -----
|
|
12291
11767
|
type PerfectionistSortClasses = [] | [{
|
|
12292
11768
|
fallbackSort?: {
|
|
12293
11769
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12435,8 +11911,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
12435
11911
|
} | string)));
|
|
12436
11912
|
});
|
|
12437
11913
|
partitionByNewLine?: boolean;
|
|
12438
|
-
}];
|
|
12439
|
-
// ----- perfectionist/sort-decorators -----
|
|
11914
|
+
}]; // ----- perfectionist/sort-decorators -----
|
|
12440
11915
|
type PerfectionistSortDecorators = {
|
|
12441
11916
|
fallbackSort?: {
|
|
12442
11917
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12534,8 +12009,7 @@ type PerfectionistSortDecorators = {
|
|
|
12534
12009
|
} | string)));
|
|
12535
12010
|
});
|
|
12536
12011
|
partitionByNewLine?: boolean;
|
|
12537
|
-
}[];
|
|
12538
|
-
// ----- perfectionist/sort-enums -----
|
|
12012
|
+
}[]; // ----- perfectionist/sort-enums -----
|
|
12539
12013
|
type PerfectionistSortEnums = [] | [{
|
|
12540
12014
|
fallbackSort?: {
|
|
12541
12015
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12627,6 +12101,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
12627
12101
|
})[];
|
|
12628
12102
|
newlinesBetween?: ("ignore" | number);
|
|
12629
12103
|
sortByValue?: ("always" | "ifNumericEnum" | "never");
|
|
12104
|
+
useExperimentalDependencyDetection?: boolean;
|
|
12630
12105
|
partitionByComment?: (boolean | (({
|
|
12631
12106
|
pattern: string;
|
|
12632
12107
|
flags?: string;
|
|
@@ -12650,8 +12125,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
12650
12125
|
} | string)));
|
|
12651
12126
|
});
|
|
12652
12127
|
partitionByNewLine?: boolean;
|
|
12653
|
-
}];
|
|
12654
|
-
// ----- perfectionist/sort-export-attributes -----
|
|
12128
|
+
}]; // ----- perfectionist/sort-export-attributes -----
|
|
12655
12129
|
type PerfectionistSortExportAttributes = {
|
|
12656
12130
|
fallbackSort?: {
|
|
12657
12131
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12744,8 +12218,7 @@ type PerfectionistSortExportAttributes = {
|
|
|
12744
12218
|
} | string)));
|
|
12745
12219
|
});
|
|
12746
12220
|
partitionByNewLine?: boolean;
|
|
12747
|
-
}[];
|
|
12748
|
-
// ----- perfectionist/sort-exports -----
|
|
12221
|
+
}[]; // ----- perfectionist/sort-exports -----
|
|
12749
12222
|
type PerfectionistSortExports = {
|
|
12750
12223
|
fallbackSort?: {
|
|
12751
12224
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12844,8 +12317,7 @@ type PerfectionistSortExports = {
|
|
|
12844
12317
|
} | string)));
|
|
12845
12318
|
});
|
|
12846
12319
|
partitionByNewLine?: boolean;
|
|
12847
|
-
}[];
|
|
12848
|
-
// ----- perfectionist/sort-heritage-clauses -----
|
|
12320
|
+
}[]; // ----- perfectionist/sort-heritage-clauses -----
|
|
12849
12321
|
type PerfectionistSortHeritageClauses = {
|
|
12850
12322
|
fallbackSort?: {
|
|
12851
12323
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12938,8 +12410,7 @@ type PerfectionistSortHeritageClauses = {
|
|
|
12938
12410
|
flags?: string;
|
|
12939
12411
|
} | string)));
|
|
12940
12412
|
});
|
|
12941
|
-
}[];
|
|
12942
|
-
// ----- perfectionist/sort-import-attributes -----
|
|
12413
|
+
}[]; // ----- perfectionist/sort-import-attributes -----
|
|
12943
12414
|
type PerfectionistSortImportAttributes = {
|
|
12944
12415
|
fallbackSort?: {
|
|
12945
12416
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13032,8 +12503,7 @@ type PerfectionistSortImportAttributes = {
|
|
|
13032
12503
|
} | string)));
|
|
13033
12504
|
});
|
|
13034
12505
|
partitionByNewLine?: boolean;
|
|
13035
|
-
}[];
|
|
13036
|
-
// ----- perfectionist/sort-imports -----
|
|
12506
|
+
}[]; // ----- perfectionist/sort-imports -----
|
|
13037
12507
|
type PerfectionistSortImports = {
|
|
13038
12508
|
fallbackSort?: {
|
|
13039
12509
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
|
|
@@ -13124,6 +12594,7 @@ type PerfectionistSortImports = {
|
|
|
13124
12594
|
maxLineLength?: number;
|
|
13125
12595
|
sortSideEffects?: boolean;
|
|
13126
12596
|
environment?: ("node" | "bun");
|
|
12597
|
+
useExperimentalDependencyDetection?: boolean;
|
|
13127
12598
|
partitionByComment?: (boolean | (({
|
|
13128
12599
|
pattern: string;
|
|
13129
12600
|
flags?: string;
|
|
@@ -13154,8 +12625,7 @@ type PerfectionistSortImports = {
|
|
|
13154
12625
|
pattern: string;
|
|
13155
12626
|
flags?: string;
|
|
13156
12627
|
} | string));
|
|
13157
|
-
}[];
|
|
13158
|
-
// ----- perfectionist/sort-interfaces -----
|
|
12628
|
+
}[]; // ----- perfectionist/sort-interfaces -----
|
|
13159
12629
|
type PerfectionistSortInterfaces = {
|
|
13160
12630
|
fallbackSort?: {
|
|
13161
12631
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13311,8 +12781,7 @@ type PerfectionistSortInterfaces = {
|
|
|
13311
12781
|
} | string)));
|
|
13312
12782
|
});
|
|
13313
12783
|
partitionByNewLine?: boolean;
|
|
13314
|
-
}[];
|
|
13315
|
-
// ----- perfectionist/sort-intersection-types -----
|
|
12784
|
+
}[]; // ----- perfectionist/sort-intersection-types -----
|
|
13316
12785
|
type PerfectionistSortIntersectionTypes = {
|
|
13317
12786
|
fallbackSort?: {
|
|
13318
12787
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13408,8 +12877,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
13408
12877
|
} | string)));
|
|
13409
12878
|
});
|
|
13410
12879
|
partitionByNewLine?: boolean;
|
|
13411
|
-
}[];
|
|
13412
|
-
// ----- perfectionist/sort-jsx-props -----
|
|
12880
|
+
}[]; // ----- perfectionist/sort-jsx-props -----
|
|
13413
12881
|
type PerfectionistSortJsxProps = {
|
|
13414
12882
|
fallbackSort?: {
|
|
13415
12883
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13523,8 +12991,7 @@ type PerfectionistSortJsxProps = {
|
|
|
13523
12991
|
} | string));
|
|
13524
12992
|
};
|
|
13525
12993
|
partitionByNewLine?: boolean;
|
|
13526
|
-
}[];
|
|
13527
|
-
// ----- perfectionist/sort-maps -----
|
|
12994
|
+
}[]; // ----- perfectionist/sort-maps -----
|
|
13528
12995
|
type PerfectionistSortMaps = {
|
|
13529
12996
|
fallbackSort?: {
|
|
13530
12997
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13626,8 +13093,7 @@ type PerfectionistSortMaps = {
|
|
|
13626
13093
|
} | string)));
|
|
13627
13094
|
});
|
|
13628
13095
|
partitionByNewLine?: boolean;
|
|
13629
|
-
}[];
|
|
13630
|
-
// ----- perfectionist/sort-modules -----
|
|
13096
|
+
}[]; // ----- perfectionist/sort-modules -----
|
|
13631
13097
|
type PerfectionistSortModules = [] | [{
|
|
13632
13098
|
fallbackSort?: {
|
|
13633
13099
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
|
|
@@ -13724,6 +13190,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
13724
13190
|
order?: ("asc" | "desc");
|
|
13725
13191
|
})[];
|
|
13726
13192
|
newlinesBetween?: ("ignore" | number);
|
|
13193
|
+
useExperimentalDependencyDetection?: boolean;
|
|
13727
13194
|
partitionByComment?: (boolean | (({
|
|
13728
13195
|
pattern: string;
|
|
13729
13196
|
flags?: string;
|
|
@@ -13747,8 +13214,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
13747
13214
|
} | string)));
|
|
13748
13215
|
});
|
|
13749
13216
|
partitionByNewLine?: boolean;
|
|
13750
|
-
}];
|
|
13751
|
-
// ----- perfectionist/sort-named-exports -----
|
|
13217
|
+
}]; // ----- perfectionist/sort-named-exports -----
|
|
13752
13218
|
type PerfectionistSortNamedExports = {
|
|
13753
13219
|
fallbackSort?: {
|
|
13754
13220
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13848,8 +13314,7 @@ type PerfectionistSortNamedExports = {
|
|
|
13848
13314
|
} | string)));
|
|
13849
13315
|
});
|
|
13850
13316
|
partitionByNewLine?: boolean;
|
|
13851
|
-
}[];
|
|
13852
|
-
// ----- perfectionist/sort-named-imports -----
|
|
13317
|
+
}[]; // ----- perfectionist/sort-named-imports -----
|
|
13853
13318
|
type PerfectionistSortNamedImports = {
|
|
13854
13319
|
fallbackSort?: {
|
|
13855
13320
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -13949,8 +13414,7 @@ type PerfectionistSortNamedImports = {
|
|
|
13949
13414
|
} | string)));
|
|
13950
13415
|
});
|
|
13951
13416
|
partitionByNewLine?: boolean;
|
|
13952
|
-
}[];
|
|
13953
|
-
// ----- perfectionist/sort-object-types -----
|
|
13417
|
+
}[]; // ----- perfectionist/sort-object-types -----
|
|
13954
13418
|
type PerfectionistSortObjectTypes = {
|
|
13955
13419
|
fallbackSort?: {
|
|
13956
13420
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -14106,12 +13570,12 @@ type PerfectionistSortObjectTypes = {
|
|
|
14106
13570
|
} | string)));
|
|
14107
13571
|
});
|
|
14108
13572
|
partitionByNewLine?: boolean;
|
|
14109
|
-
}[];
|
|
14110
|
-
// ----- perfectionist/sort-objects -----
|
|
13573
|
+
}[]; // ----- perfectionist/sort-objects -----
|
|
14111
13574
|
type PerfectionistSortObjects = {
|
|
14112
13575
|
fallbackSort?: {
|
|
14113
13576
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
14114
13577
|
order?: ("asc" | "desc");
|
|
13578
|
+
sortBy?: ("name" | "value");
|
|
14115
13579
|
};
|
|
14116
13580
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
14117
13581
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
@@ -14119,15 +13583,18 @@ type PerfectionistSortObjects = {
|
|
|
14119
13583
|
alphabet?: string;
|
|
14120
13584
|
locales?: (string | string[]);
|
|
14121
13585
|
order?: ("asc" | "desc");
|
|
13586
|
+
sortBy?: ("name" | "value");
|
|
14122
13587
|
customGroups?: ({
|
|
14123
13588
|
fallbackSort?: {
|
|
14124
13589
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
14125
13590
|
order?: ("asc" | "desc");
|
|
13591
|
+
sortBy?: ("name" | "value");
|
|
14126
13592
|
};
|
|
14127
13593
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
14128
13594
|
groupName: string;
|
|
14129
13595
|
newlinesInside?: ("ignore" | number);
|
|
14130
13596
|
order?: ("asc" | "desc");
|
|
13597
|
+
sortBy?: ("name" | "value");
|
|
14131
13598
|
anyOf: [{
|
|
14132
13599
|
elementNamePattern?: (({
|
|
14133
13600
|
pattern: string;
|
|
@@ -14167,11 +13634,13 @@ type PerfectionistSortObjects = {
|
|
|
14167
13634
|
fallbackSort?: {
|
|
14168
13635
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
14169
13636
|
order?: ("asc" | "desc");
|
|
13637
|
+
sortBy?: ("name" | "value");
|
|
14170
13638
|
};
|
|
14171
13639
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
14172
13640
|
groupName: string;
|
|
14173
13641
|
newlinesInside?: ("ignore" | number);
|
|
14174
13642
|
order?: ("asc" | "desc");
|
|
13643
|
+
sortBy?: ("name" | "value");
|
|
14175
13644
|
elementNamePattern?: (({
|
|
14176
13645
|
pattern: string;
|
|
14177
13646
|
flags?: string;
|
|
@@ -14197,11 +13666,13 @@ type PerfectionistSortObjects = {
|
|
|
14197
13666
|
fallbackSort?: {
|
|
14198
13667
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
14199
13668
|
order?: ("asc" | "desc");
|
|
13669
|
+
sortBy?: ("name" | "value");
|
|
14200
13670
|
};
|
|
14201
13671
|
commentAbove?: string;
|
|
14202
13672
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
14203
13673
|
newlinesInside?: ("ignore" | number);
|
|
14204
13674
|
order?: ("asc" | "desc");
|
|
13675
|
+
sortBy?: ("name" | "value");
|
|
14205
13676
|
})[];
|
|
14206
13677
|
newlinesBetween?: ("ignore" | number);
|
|
14207
13678
|
useConfigurationIf?: {
|
|
@@ -14243,6 +13714,7 @@ type PerfectionistSortObjects = {
|
|
|
14243
13714
|
} | string));
|
|
14244
13715
|
};
|
|
14245
13716
|
styledComponents?: boolean;
|
|
13717
|
+
useExperimentalDependencyDetection?: boolean;
|
|
14246
13718
|
partitionByComment?: (boolean | (({
|
|
14247
13719
|
pattern: string;
|
|
14248
13720
|
flags?: string;
|
|
@@ -14266,8 +13738,7 @@ type PerfectionistSortObjects = {
|
|
|
14266
13738
|
} | string)));
|
|
14267
13739
|
});
|
|
14268
13740
|
partitionByNewLine?: boolean;
|
|
14269
|
-
}[];
|
|
14270
|
-
// ----- perfectionist/sort-sets -----
|
|
13741
|
+
}[]; // ----- perfectionist/sort-sets -----
|
|
14271
13742
|
type PerfectionistSortSets = {
|
|
14272
13743
|
fallbackSort?: {
|
|
14273
13744
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -14372,8 +13843,7 @@ type PerfectionistSortSets = {
|
|
|
14372
13843
|
} | string)));
|
|
14373
13844
|
});
|
|
14374
13845
|
partitionByNewLine?: boolean;
|
|
14375
|
-
}[];
|
|
14376
|
-
// ----- perfectionist/sort-switch-case -----
|
|
13846
|
+
}[]; // ----- perfectionist/sort-switch-case -----
|
|
14377
13847
|
type PerfectionistSortSwitchCase = [] | [{
|
|
14378
13848
|
fallbackSort?: {
|
|
14379
13849
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -14385,8 +13855,7 @@ type PerfectionistSortSwitchCase = [] | [{
|
|
|
14385
13855
|
alphabet?: string;
|
|
14386
13856
|
locales?: (string | string[]);
|
|
14387
13857
|
order?: ("asc" | "desc");
|
|
14388
|
-
}];
|
|
14389
|
-
// ----- perfectionist/sort-union-types -----
|
|
13858
|
+
}]; // ----- perfectionist/sort-union-types -----
|
|
14390
13859
|
type PerfectionistSortUnionTypes = {
|
|
14391
13860
|
fallbackSort?: {
|
|
14392
13861
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -14482,8 +13951,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
14482
13951
|
} | string)));
|
|
14483
13952
|
});
|
|
14484
13953
|
partitionByNewLine?: boolean;
|
|
14485
|
-
}[];
|
|
14486
|
-
// ----- perfectionist/sort-variable-declarations -----
|
|
13954
|
+
}[]; // ----- perfectionist/sort-variable-declarations -----
|
|
14487
13955
|
type PerfectionistSortVariableDeclarations = [] | [{
|
|
14488
13956
|
fallbackSort?: {
|
|
14489
13957
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -14556,6 +14024,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
14556
14024
|
order?: ("asc" | "desc");
|
|
14557
14025
|
})[];
|
|
14558
14026
|
newlinesBetween?: ("ignore" | number);
|
|
14027
|
+
useExperimentalDependencyDetection?: boolean;
|
|
14559
14028
|
partitionByComment?: (boolean | (({
|
|
14560
14029
|
pattern: string;
|
|
14561
14030
|
flags?: string;
|
|
@@ -14579,18 +14048,15 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
14579
14048
|
} | string)));
|
|
14580
14049
|
});
|
|
14581
14050
|
partitionByNewLine?: boolean;
|
|
14582
|
-
}];
|
|
14583
|
-
// ----- prefer-arrow-callback -----
|
|
14051
|
+
}]; // ----- prefer-arrow-callback -----
|
|
14584
14052
|
type PreferArrowCallback = [] | [{
|
|
14585
14053
|
allowNamedFunctions?: boolean;
|
|
14586
14054
|
allowUnboundThis?: boolean;
|
|
14587
|
-
}];
|
|
14588
|
-
// ----- prefer-const -----
|
|
14055
|
+
}]; // ----- prefer-const -----
|
|
14589
14056
|
type PreferConst = [] | [{
|
|
14590
14057
|
destructuring?: ("any" | "all");
|
|
14591
14058
|
ignoreReadBeforeAssign?: boolean;
|
|
14592
|
-
}];
|
|
14593
|
-
// ----- prefer-destructuring -----
|
|
14059
|
+
}]; // ----- prefer-destructuring -----
|
|
14594
14060
|
type PreferDestructuring = [] | [({
|
|
14595
14061
|
VariableDeclarator?: {
|
|
14596
14062
|
array?: boolean;
|
|
@@ -14617,278 +14083,213 @@ type PreferDestructuring = [] | [({
|
|
|
14617
14083
|
object?: boolean;
|
|
14618
14084
|
}), {
|
|
14619
14085
|
enforceForRenamedProperties?: boolean;
|
|
14620
|
-
}];
|
|
14621
|
-
// ----- prefer-promise-reject-errors -----
|
|
14086
|
+
}]; // ----- prefer-promise-reject-errors -----
|
|
14622
14087
|
type PreferPromiseRejectErrors = [] | [{
|
|
14623
14088
|
allowEmptyReject?: boolean;
|
|
14624
|
-
}];
|
|
14625
|
-
// ----- prefer-reflect -----
|
|
14089
|
+
}]; // ----- prefer-reflect -----
|
|
14626
14090
|
type PreferReflect = [] | [{
|
|
14627
14091
|
exceptions?: ("apply" | "call" | "delete" | "defineProperty" | "getOwnPropertyDescriptor" | "getPrototypeOf" | "setPrototypeOf" | "isExtensible" | "getOwnPropertyNames" | "preventExtensions")[];
|
|
14628
|
-
}];
|
|
14629
|
-
// ----- prefer-regex-literals -----
|
|
14092
|
+
}]; // ----- prefer-regex-literals -----
|
|
14630
14093
|
type PreferRegexLiterals = [] | [{
|
|
14631
14094
|
disallowRedundantWrapping?: boolean;
|
|
14632
|
-
}];
|
|
14633
|
-
// ----- preserve-caught-error -----
|
|
14095
|
+
}]; // ----- preserve-caught-error -----
|
|
14634
14096
|
type PreserveCaughtError = [] | [{
|
|
14635
14097
|
requireCatchParameter?: boolean;
|
|
14636
|
-
}];
|
|
14637
|
-
// ----- quote-props -----
|
|
14098
|
+
}]; // ----- quote-props -----
|
|
14638
14099
|
type QuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
14639
14100
|
keywords?: boolean;
|
|
14640
14101
|
unnecessary?: boolean;
|
|
14641
14102
|
numbers?: boolean;
|
|
14642
|
-
}]);
|
|
14643
|
-
// ----- quotes -----
|
|
14103
|
+
}]); // ----- quotes -----
|
|
14644
14104
|
type Quotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
14645
14105
|
avoidEscape?: boolean;
|
|
14646
14106
|
allowTemplateLiterals?: boolean;
|
|
14647
|
-
})];
|
|
14648
|
-
// -----
|
|
14649
|
-
type Radix = [] | [("always" | "as-needed")];
|
|
14650
|
-
// ----- react-compiler/react-compiler -----
|
|
14107
|
+
})]; // ----- radix -----
|
|
14108
|
+
type Radix = [] | [("always" | "as-needed")]; // ----- react-compiler/react-compiler -----
|
|
14651
14109
|
type ReactCompilerReactCompiler = [] | [{
|
|
14652
14110
|
[k: string]: unknown | undefined;
|
|
14653
|
-
}];
|
|
14654
|
-
// ----- react-hooks/automatic-effect-dependencies -----
|
|
14111
|
+
}]; // ----- react-hooks/automatic-effect-dependencies -----
|
|
14655
14112
|
type ReactHooksAutomaticEffectDependencies = [] | [{
|
|
14656
14113
|
[k: string]: unknown | undefined;
|
|
14657
|
-
}];
|
|
14658
|
-
// ----- react-hooks/capitalized-calls -----
|
|
14114
|
+
}]; // ----- react-hooks/capitalized-calls -----
|
|
14659
14115
|
type ReactHooksCapitalizedCalls = [] | [{
|
|
14660
14116
|
[k: string]: unknown | undefined;
|
|
14661
|
-
}];
|
|
14662
|
-
// ----- react-hooks/component-hook-factories -----
|
|
14117
|
+
}]; // ----- react-hooks/component-hook-factories -----
|
|
14663
14118
|
type ReactHooksComponentHookFactories = [] | [{
|
|
14664
14119
|
[k: string]: unknown | undefined;
|
|
14665
|
-
}];
|
|
14666
|
-
// ----- react-hooks/config -----
|
|
14120
|
+
}]; // ----- react-hooks/config -----
|
|
14667
14121
|
type ReactHooksConfig = [] | [{
|
|
14668
14122
|
[k: string]: unknown | undefined;
|
|
14669
|
-
}];
|
|
14670
|
-
// ----- react-hooks/error-boundaries -----
|
|
14123
|
+
}]; // ----- react-hooks/error-boundaries -----
|
|
14671
14124
|
type ReactHooksErrorBoundaries = [] | [{
|
|
14672
14125
|
[k: string]: unknown | undefined;
|
|
14673
|
-
}];
|
|
14674
|
-
// ----- react-hooks/exhaustive-deps -----
|
|
14126
|
+
}]; // ----- react-hooks/exhaustive-deps -----
|
|
14675
14127
|
type ReactHooksExhaustiveDeps = [] | [{
|
|
14676
14128
|
additionalHooks?: string;
|
|
14677
14129
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
14678
14130
|
experimental_autoDependenciesHooks?: string[];
|
|
14679
14131
|
requireExplicitEffectDeps?: boolean;
|
|
14680
|
-
}];
|
|
14681
|
-
// ----- react-hooks/fbt -----
|
|
14132
|
+
}]; // ----- react-hooks/fbt -----
|
|
14682
14133
|
type ReactHooksFbt = [] | [{
|
|
14683
14134
|
[k: string]: unknown | undefined;
|
|
14684
|
-
}];
|
|
14685
|
-
// ----- react-hooks/fire -----
|
|
14135
|
+
}]; // ----- react-hooks/fire -----
|
|
14686
14136
|
type ReactHooksFire = [] | [{
|
|
14687
14137
|
[k: string]: unknown | undefined;
|
|
14688
|
-
}];
|
|
14689
|
-
// ----- react-hooks/gating -----
|
|
14138
|
+
}]; // ----- react-hooks/gating -----
|
|
14690
14139
|
type ReactHooksGating = [] | [{
|
|
14691
14140
|
[k: string]: unknown | undefined;
|
|
14692
|
-
}];
|
|
14693
|
-
// ----- react-hooks/globals -----
|
|
14141
|
+
}]; // ----- react-hooks/globals -----
|
|
14694
14142
|
type ReactHooksGlobals = [] | [{
|
|
14695
14143
|
[k: string]: unknown | undefined;
|
|
14696
|
-
}];
|
|
14697
|
-
// ----- react-hooks/hooks -----
|
|
14144
|
+
}]; // ----- react-hooks/hooks -----
|
|
14698
14145
|
type ReactHooksHooks = [] | [{
|
|
14699
14146
|
[k: string]: unknown | undefined;
|
|
14700
|
-
}];
|
|
14701
|
-
// ----- react-hooks/immutability -----
|
|
14147
|
+
}]; // ----- react-hooks/immutability -----
|
|
14702
14148
|
type ReactHooksImmutability = [] | [{
|
|
14703
14149
|
[k: string]: unknown | undefined;
|
|
14704
|
-
}];
|
|
14705
|
-
// ----- react-hooks/incompatible-library -----
|
|
14150
|
+
}]; // ----- react-hooks/incompatible-library -----
|
|
14706
14151
|
type ReactHooksIncompatibleLibrary = [] | [{
|
|
14707
14152
|
[k: string]: unknown | undefined;
|
|
14708
|
-
}];
|
|
14709
|
-
// ----- react-hooks/invariant -----
|
|
14153
|
+
}]; // ----- react-hooks/invariant -----
|
|
14710
14154
|
type ReactHooksInvariant = [] | [{
|
|
14711
14155
|
[k: string]: unknown | undefined;
|
|
14712
|
-
}];
|
|
14713
|
-
// ----- react-hooks/memoized-effect-dependencies -----
|
|
14156
|
+
}]; // ----- react-hooks/memoized-effect-dependencies -----
|
|
14714
14157
|
type ReactHooksMemoizedEffectDependencies = [] | [{
|
|
14715
14158
|
[k: string]: unknown | undefined;
|
|
14716
|
-
}];
|
|
14717
|
-
// ----- react-hooks/no-deriving-state-in-effects -----
|
|
14159
|
+
}]; // ----- react-hooks/no-deriving-state-in-effects -----
|
|
14718
14160
|
type ReactHooksNoDerivingStateInEffects = [] | [{
|
|
14719
14161
|
[k: string]: unknown | undefined;
|
|
14720
|
-
}];
|
|
14721
|
-
// ----- react-hooks/preserve-manual-memoization -----
|
|
14162
|
+
}]; // ----- react-hooks/preserve-manual-memoization -----
|
|
14722
14163
|
type ReactHooksPreserveManualMemoization = [] | [{
|
|
14723
14164
|
[k: string]: unknown | undefined;
|
|
14724
|
-
}];
|
|
14725
|
-
// ----- react-hooks/purity -----
|
|
14165
|
+
}]; // ----- react-hooks/purity -----
|
|
14726
14166
|
type ReactHooksPurity = [] | [{
|
|
14727
14167
|
[k: string]: unknown | undefined;
|
|
14728
|
-
}];
|
|
14729
|
-
// ----- react-hooks/refs -----
|
|
14168
|
+
}]; // ----- react-hooks/refs -----
|
|
14730
14169
|
type ReactHooksRefs = [] | [{
|
|
14731
14170
|
[k: string]: unknown | undefined;
|
|
14732
|
-
}];
|
|
14733
|
-
// ----- react-hooks/rule-suppression -----
|
|
14171
|
+
}]; // ----- react-hooks/rule-suppression -----
|
|
14734
14172
|
type ReactHooksRuleSuppression = [] | [{
|
|
14735
14173
|
[k: string]: unknown | undefined;
|
|
14736
|
-
}];
|
|
14737
|
-
// ----- react-hooks/rules-of-hooks -----
|
|
14174
|
+
}]; // ----- react-hooks/rules-of-hooks -----
|
|
14738
14175
|
type ReactHooksRulesOfHooks = [] | [{
|
|
14739
14176
|
additionalHooks?: string;
|
|
14740
|
-
}];
|
|
14741
|
-
// ----- react-hooks/set-state-in-effect -----
|
|
14177
|
+
}]; // ----- react-hooks/set-state-in-effect -----
|
|
14742
14178
|
type ReactHooksSetStateInEffect = [] | [{
|
|
14743
14179
|
[k: string]: unknown | undefined;
|
|
14744
|
-
}];
|
|
14745
|
-
// ----- react-hooks/set-state-in-render -----
|
|
14180
|
+
}]; // ----- react-hooks/set-state-in-render -----
|
|
14746
14181
|
type ReactHooksSetStateInRender = [] | [{
|
|
14747
14182
|
[k: string]: unknown | undefined;
|
|
14748
|
-
}];
|
|
14749
|
-
// ----- react-hooks/static-components -----
|
|
14183
|
+
}]; // ----- react-hooks/static-components -----
|
|
14750
14184
|
type ReactHooksStaticComponents = [] | [{
|
|
14751
14185
|
[k: string]: unknown | undefined;
|
|
14752
|
-
}];
|
|
14753
|
-
// ----- react-hooks/syntax -----
|
|
14186
|
+
}]; // ----- react-hooks/syntax -----
|
|
14754
14187
|
type ReactHooksSyntax = [] | [{
|
|
14755
14188
|
[k: string]: unknown | undefined;
|
|
14756
|
-
}];
|
|
14757
|
-
// ----- react-hooks/todo -----
|
|
14189
|
+
}]; // ----- react-hooks/todo -----
|
|
14758
14190
|
type ReactHooksTodo = [] | [{
|
|
14759
14191
|
[k: string]: unknown | undefined;
|
|
14760
|
-
}];
|
|
14761
|
-
// ----- react-hooks/unsupported-syntax -----
|
|
14192
|
+
}]; // ----- react-hooks/unsupported-syntax -----
|
|
14762
14193
|
type ReactHooksUnsupportedSyntax = [] | [{
|
|
14763
14194
|
[k: string]: unknown | undefined;
|
|
14764
|
-
}];
|
|
14765
|
-
// ----- react-hooks/use-memo -----
|
|
14195
|
+
}]; // ----- react-hooks/use-memo -----
|
|
14766
14196
|
type ReactHooksUseMemo = [] | [{
|
|
14767
14197
|
[k: string]: unknown | undefined;
|
|
14768
|
-
}];
|
|
14769
|
-
// ----- react-hooks/void-use-memo -----
|
|
14198
|
+
}]; // ----- react-hooks/void-use-memo -----
|
|
14770
14199
|
type ReactHooksVoidUseMemo = [] | [{
|
|
14771
14200
|
[k: string]: unknown | undefined;
|
|
14772
|
-
}];
|
|
14773
|
-
// ----- react-refresh/only-export-components -----
|
|
14201
|
+
}]; // ----- react-refresh/only-export-components -----
|
|
14774
14202
|
type ReactRefreshOnlyExportComponents = [] | [{
|
|
14775
14203
|
allowExportNames?: string[];
|
|
14776
14204
|
allowConstantExport?: boolean;
|
|
14777
14205
|
customHOCs?: string[];
|
|
14778
14206
|
checkJS?: boolean;
|
|
14779
|
-
}];
|
|
14780
|
-
// ----- regexp/
|
|
14781
|
-
type RegexpHexadecimalEscape = [] | [("always" | "never")];
|
|
14782
|
-
// ----- regexp/letter-case -----
|
|
14207
|
+
}]; // ----- regexp/hexadecimal-escape -----
|
|
14208
|
+
type RegexpHexadecimalEscape = [] | [("always" | "never")]; // ----- regexp/letter-case -----
|
|
14783
14209
|
type RegexpLetterCase = [] | [{
|
|
14784
14210
|
caseInsensitive?: ("lowercase" | "uppercase" | "ignore");
|
|
14785
14211
|
unicodeEscape?: ("lowercase" | "uppercase" | "ignore");
|
|
14786
14212
|
hexadecimalEscape?: ("lowercase" | "uppercase" | "ignore");
|
|
14787
14213
|
controlEscape?: ("lowercase" | "uppercase" | "ignore");
|
|
14788
|
-
}];
|
|
14789
|
-
// ----- regexp/match-any -----
|
|
14214
|
+
}]; // ----- regexp/match-any -----
|
|
14790
14215
|
type RegexpMatchAny = [] | [{
|
|
14791
14216
|
allows?: [("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"), ...(("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"))[]];
|
|
14792
|
-
}];
|
|
14793
|
-
// ----- regexp/no-dupe-disjunctions -----
|
|
14217
|
+
}]; // ----- regexp/no-dupe-disjunctions -----
|
|
14794
14218
|
type RegexpNoDupeDisjunctions = [] | [{
|
|
14795
14219
|
report?: ("all" | "trivial" | "interesting");
|
|
14796
14220
|
reportExponentialBacktracking?: ("none" | "certain" | "potential");
|
|
14797
14221
|
reportUnreachable?: ("certain" | "potential");
|
|
14798
|
-
}];
|
|
14799
|
-
// ----- regexp/no-lazy-ends -----
|
|
14222
|
+
}]; // ----- regexp/no-lazy-ends -----
|
|
14800
14223
|
type RegexpNoLazyEnds = [] | [{
|
|
14801
14224
|
ignorePartial?: boolean;
|
|
14802
|
-
}];
|
|
14803
|
-
// ----- regexp/no-legacy-features -----
|
|
14225
|
+
}]; // ----- regexp/no-legacy-features -----
|
|
14804
14226
|
type RegexpNoLegacyFeatures = [] | [{
|
|
14805
14227
|
staticProperties?: ("input" | "$_" | "lastMatch" | "$&" | "lastParen" | "$+" | "leftContext" | "$`" | "rightContext" | "$'" | "$1" | "$2" | "$3" | "$4" | "$5" | "$6" | "$7" | "$8" | "$9")[];
|
|
14806
14228
|
prototypeMethods?: ("compile")[];
|
|
14807
|
-
}];
|
|
14808
|
-
// ----- regexp/no-misleading-capturing-group -----
|
|
14229
|
+
}]; // ----- regexp/no-misleading-capturing-group -----
|
|
14809
14230
|
type RegexpNoMisleadingCapturingGroup = [] | [{
|
|
14810
14231
|
reportBacktrackingEnds?: boolean;
|
|
14811
|
-
}];
|
|
14812
|
-
// ----- regexp/no-misleading-unicode-character -----
|
|
14232
|
+
}]; // ----- regexp/no-misleading-unicode-character -----
|
|
14813
14233
|
type RegexpNoMisleadingUnicodeCharacter = [] | [{
|
|
14814
14234
|
fixable?: boolean;
|
|
14815
|
-
}];
|
|
14816
|
-
// ----- regexp/no-missing-g-flag -----
|
|
14235
|
+
}]; // ----- regexp/no-missing-g-flag -----
|
|
14817
14236
|
type RegexpNoMissingGFlag = [] | [{
|
|
14818
14237
|
strictTypes?: boolean;
|
|
14819
|
-
}];
|
|
14820
|
-
// ----- regexp/no-obscure-range -----
|
|
14238
|
+
}]; // ----- regexp/no-obscure-range -----
|
|
14821
14239
|
type RegexpNoObscureRange = [] | [{
|
|
14822
14240
|
allowed?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]]);
|
|
14823
|
-
}];
|
|
14824
|
-
// ----- regexp/no-super-linear-backtracking -----
|
|
14241
|
+
}]; // ----- regexp/no-super-linear-backtracking -----
|
|
14825
14242
|
type RegexpNoSuperLinearBacktracking = [] | [{
|
|
14826
14243
|
report?: ("certain" | "potential");
|
|
14827
|
-
}];
|
|
14828
|
-
// ----- regexp/no-super-linear-move -----
|
|
14244
|
+
}]; // ----- regexp/no-super-linear-move -----
|
|
14829
14245
|
type RegexpNoSuperLinearMove = [] | [{
|
|
14830
14246
|
report?: ("certain" | "potential");
|
|
14831
14247
|
ignoreSticky?: boolean;
|
|
14832
14248
|
ignorePartial?: boolean;
|
|
14833
|
-
}];
|
|
14834
|
-
// ----- regexp/no-unused-capturing-group -----
|
|
14249
|
+
}]; // ----- regexp/no-unused-capturing-group -----
|
|
14835
14250
|
type RegexpNoUnusedCapturingGroup = [] | [{
|
|
14836
14251
|
fixable?: boolean;
|
|
14837
14252
|
allowNamed?: boolean;
|
|
14838
|
-
}];
|
|
14839
|
-
// ----- regexp/no-useless-character-class -----
|
|
14253
|
+
}]; // ----- regexp/no-useless-character-class -----
|
|
14840
14254
|
type RegexpNoUselessCharacterClass = [] | [{
|
|
14841
14255
|
ignores?: string[];
|
|
14842
|
-
}];
|
|
14843
|
-
// ----- regexp/no-useless-flag -----
|
|
14256
|
+
}]; // ----- regexp/no-useless-flag -----
|
|
14844
14257
|
type RegexpNoUselessFlag = [] | [{
|
|
14845
14258
|
ignore?: ("i" | "m" | "s" | "g" | "y")[];
|
|
14846
14259
|
strictTypes?: boolean;
|
|
14847
|
-
}];
|
|
14848
|
-
// ----- regexp/no-useless-non-capturing-group -----
|
|
14260
|
+
}]; // ----- regexp/no-useless-non-capturing-group -----
|
|
14849
14261
|
type RegexpNoUselessNonCapturingGroup = [] | [{
|
|
14850
14262
|
allowTop?: (boolean | ("always" | "never" | "partial"));
|
|
14851
|
-
}];
|
|
14852
|
-
// ----- regexp/optimal-quantifier-concatenation -----
|
|
14263
|
+
}]; // ----- regexp/optimal-quantifier-concatenation -----
|
|
14853
14264
|
type RegexpOptimalQuantifierConcatenation = [] | [{
|
|
14854
14265
|
capturingGroups?: ("ignore" | "report");
|
|
14855
|
-
}];
|
|
14856
|
-
// ----- regexp/prefer-character-class -----
|
|
14266
|
+
}]; // ----- regexp/prefer-character-class -----
|
|
14857
14267
|
type RegexpPreferCharacterClass = [] | [{
|
|
14858
14268
|
minAlternatives?: number;
|
|
14859
|
-
}];
|
|
14860
|
-
// ----- regexp/prefer-d -----
|
|
14269
|
+
}]; // ----- regexp/prefer-d -----
|
|
14861
14270
|
type RegexpPreferD = [] | [{
|
|
14862
14271
|
insideCharacterClass?: ("ignore" | "range" | "d");
|
|
14863
|
-
}];
|
|
14864
|
-
// ----- regexp/prefer-lookaround -----
|
|
14272
|
+
}]; // ----- regexp/prefer-lookaround -----
|
|
14865
14273
|
type RegexpPreferLookaround = [] | [{
|
|
14866
14274
|
lookbehind?: boolean;
|
|
14867
14275
|
strictTypes?: boolean;
|
|
14868
|
-
}];
|
|
14869
|
-
// ----- regexp/prefer-named-replacement -----
|
|
14276
|
+
}]; // ----- regexp/prefer-named-replacement -----
|
|
14870
14277
|
type RegexpPreferNamedReplacement = [] | [{
|
|
14871
14278
|
strictTypes?: boolean;
|
|
14872
|
-
}];
|
|
14873
|
-
// ----- regexp/prefer-quantifier -----
|
|
14279
|
+
}]; // ----- regexp/prefer-quantifier -----
|
|
14874
14280
|
type RegexpPreferQuantifier = [] | [{
|
|
14875
14281
|
allows?: string[];
|
|
14876
|
-
}];
|
|
14877
|
-
// ----- regexp/prefer-range -----
|
|
14282
|
+
}]; // ----- regexp/prefer-range -----
|
|
14878
14283
|
type RegexpPreferRange = [] | [{
|
|
14879
14284
|
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]]);
|
|
14880
|
-
}];
|
|
14881
|
-
// ----- regexp/prefer-result-array-groups -----
|
|
14285
|
+
}]; // ----- regexp/prefer-result-array-groups -----
|
|
14882
14286
|
type RegexpPreferResultArrayGroups = [] | [{
|
|
14883
14287
|
strictTypes?: boolean;
|
|
14884
|
-
}];
|
|
14885
|
-
// ----- regexp/sort-character-class-elements -----
|
|
14288
|
+
}]; // ----- regexp/sort-character-class-elements -----
|
|
14886
14289
|
type RegexpSortCharacterClassElements = [] | [{
|
|
14887
14290
|
order?: ("\\s" | "\\w" | "\\d" | "\\p" | "*" | "\\q" | "[]")[];
|
|
14888
|
-
}];
|
|
14889
|
-
// ----- regexp/unicode-
|
|
14890
|
-
type RegexpUnicodeEscape = [] | [("unicodeCodePointEscape" | "unicodeEscape")];
|
|
14891
|
-
// ----- regexp/unicode-property -----
|
|
14291
|
+
}]; // ----- regexp/unicode-escape -----
|
|
14292
|
+
type RegexpUnicodeEscape = [] | [("unicodeCodePointEscape" | "unicodeEscape")]; // ----- regexp/unicode-property -----
|
|
14892
14293
|
type RegexpUnicodeProperty = [] | [{
|
|
14893
14294
|
generalCategory?: ("always" | "never" | "ignore");
|
|
14894
14295
|
key?: ("short" | "long" | "ignore");
|
|
@@ -14897,80 +14298,65 @@ type RegexpUnicodeProperty = [] | [{
|
|
|
14897
14298
|
generalCategory?: ("short" | "long" | "ignore");
|
|
14898
14299
|
script?: ("short" | "long" | "ignore");
|
|
14899
14300
|
});
|
|
14900
|
-
}];
|
|
14901
|
-
// ----- require-atomic-updates -----
|
|
14301
|
+
}]; // ----- require-atomic-updates -----
|
|
14902
14302
|
type RequireAtomicUpdates = [] | [{
|
|
14903
14303
|
allowProperties?: boolean;
|
|
14904
|
-
}];
|
|
14905
|
-
// ----- require-unicode-regexp -----
|
|
14304
|
+
}]; // ----- require-unicode-regexp -----
|
|
14906
14305
|
type RequireUnicodeRegexp = [] | [{
|
|
14907
14306
|
requireFlag?: ("u" | "v");
|
|
14908
|
-
}];
|
|
14909
|
-
// -----
|
|
14910
|
-
type RestSpreadSpacing = [] | [("always" | "never")];
|
|
14911
|
-
// ----- semi -----
|
|
14307
|
+
}]; // ----- rest-spread-spacing -----
|
|
14308
|
+
type RestSpreadSpacing = [] | [("always" | "never")]; // ----- semi -----
|
|
14912
14309
|
type Semi = ([] | ["never"] | ["never", {
|
|
14913
14310
|
beforeStatementContinuationChars?: ("always" | "any" | "never");
|
|
14914
14311
|
}] | [] | ["always"] | ["always", {
|
|
14915
14312
|
omitLastInOneLineBlock?: boolean;
|
|
14916
14313
|
omitLastInOneLineClassBody?: boolean;
|
|
14917
|
-
}]);
|
|
14918
|
-
// ----- semi-spacing -----
|
|
14314
|
+
}]); // ----- semi-spacing -----
|
|
14919
14315
|
type SemiSpacing = [] | [{
|
|
14920
14316
|
before?: boolean;
|
|
14921
14317
|
after?: boolean;
|
|
14922
|
-
}];
|
|
14923
|
-
// -----
|
|
14924
|
-
type SemiStyle = [] | [("last" | "first")];
|
|
14925
|
-
// ----- sort-imports -----
|
|
14318
|
+
}]; // ----- semi-style -----
|
|
14319
|
+
type SemiStyle = [] | [("last" | "first")]; // ----- sort-imports -----
|
|
14926
14320
|
type SortImports = [] | [{
|
|
14927
14321
|
ignoreCase?: boolean;
|
|
14928
14322
|
memberSyntaxSortOrder?: [("none" | "all" | "multiple" | "single"), ("none" | "all" | "multiple" | "single"), ("none" | "all" | "multiple" | "single"), ("none" | "all" | "multiple" | "single")];
|
|
14929
14323
|
ignoreDeclarationSort?: boolean;
|
|
14930
14324
|
ignoreMemberSort?: boolean;
|
|
14931
14325
|
allowSeparatedGroups?: boolean;
|
|
14932
|
-
}];
|
|
14933
|
-
// ----- sort-keys -----
|
|
14326
|
+
}]; // ----- sort-keys -----
|
|
14934
14327
|
type SortKeys = [] | [("asc" | "desc")] | [("asc" | "desc"), {
|
|
14935
14328
|
caseSensitive?: boolean;
|
|
14936
14329
|
natural?: boolean;
|
|
14937
14330
|
minKeys?: number;
|
|
14938
14331
|
allowLineSeparatedGroups?: boolean;
|
|
14939
14332
|
ignoreComputedKeys?: boolean;
|
|
14940
|
-
}];
|
|
14941
|
-
// ----- sort-vars -----
|
|
14333
|
+
}]; // ----- sort-vars -----
|
|
14942
14334
|
type SortVars = [] | [{
|
|
14943
14335
|
ignoreCase?: boolean;
|
|
14944
|
-
}];
|
|
14945
|
-
// ----- space-before-blocks -----
|
|
14336
|
+
}]; // ----- space-before-blocks -----
|
|
14946
14337
|
type SpaceBeforeBlocks = [] | [(("always" | "never") | {
|
|
14947
14338
|
keywords?: ("always" | "never" | "off");
|
|
14948
14339
|
functions?: ("always" | "never" | "off");
|
|
14949
14340
|
classes?: ("always" | "never" | "off");
|
|
14950
|
-
})];
|
|
14951
|
-
// ----- space-before-function-paren -----
|
|
14341
|
+
})]; // ----- space-before-function-paren -----
|
|
14952
14342
|
type SpaceBeforeFunctionParen = [] | [(("always" | "never") | {
|
|
14953
14343
|
anonymous?: ("always" | "never" | "ignore");
|
|
14954
14344
|
named?: ("always" | "never" | "ignore");
|
|
14955
14345
|
asyncArrow?: ("always" | "never" | "ignore");
|
|
14956
|
-
})];
|
|
14957
|
-
// ----- space-in-parens -----
|
|
14346
|
+
})]; // ----- space-in-parens -----
|
|
14958
14347
|
type SpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
|
|
14959
14348
|
exceptions?: ("{}" | "[]" | "()" | "empty")[];
|
|
14960
|
-
}];
|
|
14961
|
-
// ----- space-infix-ops -----
|
|
14349
|
+
}]; // ----- space-infix-ops -----
|
|
14962
14350
|
type SpaceInfixOps = [] | [{
|
|
14963
14351
|
int32Hint?: boolean;
|
|
14964
|
-
}];
|
|
14965
|
-
// ----- space-unary-ops -----
|
|
14352
|
+
}]; // ----- space-unary-ops -----
|
|
14966
14353
|
type SpaceUnaryOps = [] | [{
|
|
14967
14354
|
words?: boolean;
|
|
14968
14355
|
nonwords?: boolean;
|
|
14969
14356
|
overrides?: {
|
|
14970
14357
|
[k: string]: boolean | undefined;
|
|
14971
14358
|
};
|
|
14972
|
-
}];
|
|
14973
|
-
// ----- spaced-comment -----
|
|
14359
|
+
}]; // ----- spaced-comment -----
|
|
14974
14360
|
type SpacedComment = [] | [("always" | "never")] | [("always" | "never"), {
|
|
14975
14361
|
exceptions?: string[];
|
|
14976
14362
|
markers?: string[];
|
|
@@ -14983,48 +14369,36 @@ type SpacedComment = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
14983
14369
|
markers?: string[];
|
|
14984
14370
|
balanced?: boolean;
|
|
14985
14371
|
};
|
|
14986
|
-
}];
|
|
14987
|
-
// -----
|
|
14988
|
-
type Strict = [] | [("never" | "global" | "function" | "safe")];
|
|
14989
|
-
// ----- switch-colon-spacing -----
|
|
14372
|
+
}]; // ----- strict -----
|
|
14373
|
+
type Strict = [] | [("never" | "global" | "function" | "safe")]; // ----- switch-colon-spacing -----
|
|
14990
14374
|
type SwitchColonSpacing = [] | [{
|
|
14991
14375
|
before?: boolean;
|
|
14992
14376
|
after?: boolean;
|
|
14993
|
-
}];
|
|
14994
|
-
// ----- template-
|
|
14995
|
-
type
|
|
14996
|
-
// -----
|
|
14997
|
-
type TemplateTagSpacing = [] | [("always" | "never")];
|
|
14998
|
-
// ----- unicode-bom -----
|
|
14999
|
-
type UnicodeBom = [] | [("always" | "never")];
|
|
15000
|
-
// ----- unicorn/better-regex -----
|
|
14377
|
+
}]; // ----- template-curly-spacing -----
|
|
14378
|
+
type TemplateCurlySpacing = [] | [("always" | "never")]; // ----- template-tag-spacing -----
|
|
14379
|
+
type TemplateTagSpacing = [] | [("always" | "never")]; // ----- unicode-bom -----
|
|
14380
|
+
type UnicodeBom = [] | [("always" | "never")]; // ----- unicorn/better-regex -----
|
|
15001
14381
|
type UnicornBetterRegex = [] | [{
|
|
15002
14382
|
sortCharacterClasses?: boolean;
|
|
15003
|
-
}];
|
|
15004
|
-
// ----- unicorn/catch-error-name -----
|
|
14383
|
+
}]; // ----- unicorn/catch-error-name -----
|
|
15005
14384
|
type UnicornCatchErrorName = [] | [{
|
|
15006
14385
|
name?: string;
|
|
15007
14386
|
ignore?: unknown[];
|
|
15008
|
-
}];
|
|
15009
|
-
// ----- unicorn/consistent-function-scoping -----
|
|
14387
|
+
}]; // ----- unicorn/consistent-function-scoping -----
|
|
15010
14388
|
type UnicornConsistentFunctionScoping = [] | [{
|
|
15011
14389
|
checkArrowFunctions?: boolean;
|
|
15012
|
-
}];
|
|
15013
|
-
// ----- unicorn/
|
|
15014
|
-
type UnicornEscapeCase = [] | [("uppercase" | "lowercase")];
|
|
15015
|
-
// ----- unicorn/expiring-todo-comments -----
|
|
14390
|
+
}]; // ----- unicorn/escape-case -----
|
|
14391
|
+
type UnicornEscapeCase = [] | [("uppercase" | "lowercase")]; // ----- unicorn/expiring-todo-comments -----
|
|
15016
14392
|
type UnicornExpiringTodoComments = [] | [{
|
|
15017
14393
|
terms?: string[];
|
|
15018
14394
|
ignore?: unknown[];
|
|
15019
14395
|
ignoreDatesOnPullRequests?: boolean;
|
|
15020
14396
|
allowWarningComments?: boolean;
|
|
15021
14397
|
date?: string;
|
|
15022
|
-
}];
|
|
15023
|
-
// ----- unicorn/explicit-length-check -----
|
|
14398
|
+
}]; // ----- unicorn/explicit-length-check -----
|
|
15024
14399
|
type UnicornExplicitLengthCheck = [] | [{
|
|
15025
14400
|
"non-zero"?: ("greater-than" | "not-equal");
|
|
15026
|
-
}];
|
|
15027
|
-
// ----- unicorn/filename-case -----
|
|
14401
|
+
}]; // ----- unicorn/filename-case -----
|
|
15028
14402
|
type UnicornFilenameCase = [] | [({
|
|
15029
14403
|
case?: ("camelCase" | "snakeCase" | "kebabCase" | "pascalCase");
|
|
15030
14404
|
ignore?: unknown[];
|
|
@@ -15038,8 +14412,7 @@ type UnicornFilenameCase = [] | [({
|
|
|
15038
14412
|
};
|
|
15039
14413
|
ignore?: unknown[];
|
|
15040
14414
|
multipleFileExtensions?: boolean;
|
|
15041
|
-
})];
|
|
15042
|
-
// ----- unicorn/import-style -----
|
|
14415
|
+
})]; // ----- unicorn/import-style -----
|
|
15043
14416
|
type UnicornImportStyle = [] | [{
|
|
15044
14417
|
checkImport?: boolean;
|
|
15045
14418
|
checkDynamicImport?: boolean;
|
|
@@ -15054,56 +14427,45 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
15054
14427
|
}
|
|
15055
14428
|
interface _UnicornImportStyle_BooleanObject {
|
|
15056
14429
|
[k: string]: boolean | undefined;
|
|
15057
|
-
}
|
|
15058
|
-
// ----- unicorn/no-array-reduce -----
|
|
14430
|
+
} // ----- unicorn/no-array-reduce -----
|
|
15059
14431
|
type UnicornNoArrayReduce = [] | [{
|
|
15060
14432
|
allowSimpleOperations?: boolean;
|
|
15061
|
-
}];
|
|
15062
|
-
// ----- unicorn/no-array-reverse -----
|
|
14433
|
+
}]; // ----- unicorn/no-array-reverse -----
|
|
15063
14434
|
type UnicornNoArrayReverse = [] | [{
|
|
15064
14435
|
allowExpressionStatement?: boolean;
|
|
15065
|
-
}];
|
|
15066
|
-
// ----- unicorn/no-array-sort -----
|
|
14436
|
+
}]; // ----- unicorn/no-array-sort -----
|
|
15067
14437
|
type UnicornNoArraySort = [] | [{
|
|
15068
14438
|
allowExpressionStatement?: boolean;
|
|
15069
|
-
}];
|
|
15070
|
-
// ----- unicorn/no-instanceof-builtins -----
|
|
14439
|
+
}]; // ----- unicorn/no-instanceof-builtins -----
|
|
15071
14440
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
15072
14441
|
useErrorIsError?: boolean;
|
|
15073
14442
|
strategy?: ("loose" | "strict");
|
|
15074
14443
|
include?: string[];
|
|
15075
14444
|
exclude?: string[];
|
|
15076
|
-
}];
|
|
15077
|
-
// ----- unicorn/no-keyword-prefix -----
|
|
14445
|
+
}]; // ----- unicorn/no-keyword-prefix -----
|
|
15078
14446
|
type UnicornNoKeywordPrefix = [] | [{
|
|
15079
14447
|
disallowedPrefixes?: [] | [string];
|
|
15080
14448
|
checkProperties?: boolean;
|
|
15081
14449
|
onlyCamelCase?: boolean;
|
|
15082
|
-
}];
|
|
15083
|
-
// ----- unicorn/no-null -----
|
|
14450
|
+
}]; // ----- unicorn/no-null -----
|
|
15084
14451
|
type UnicornNoNull = [] | [{
|
|
15085
14452
|
checkStrictEquality?: boolean;
|
|
15086
|
-
}];
|
|
15087
|
-
// ----- unicorn/no-typeof-undefined -----
|
|
14453
|
+
}]; // ----- unicorn/no-typeof-undefined -----
|
|
15088
14454
|
type UnicornNoTypeofUndefined = [] | [{
|
|
15089
14455
|
checkGlobalVariables?: boolean;
|
|
15090
|
-
}];
|
|
15091
|
-
// ----- unicorn/no-unnecessary-polyfills -----
|
|
14456
|
+
}]; // ----- unicorn/no-unnecessary-polyfills -----
|
|
15092
14457
|
type UnicornNoUnnecessaryPolyfills = [] | [{
|
|
15093
14458
|
targets: (string | unknown[] | {
|
|
15094
14459
|
[k: string]: unknown | undefined;
|
|
15095
14460
|
});
|
|
15096
|
-
}];
|
|
15097
|
-
// ----- unicorn/no-useless-undefined -----
|
|
14461
|
+
}]; // ----- unicorn/no-useless-undefined -----
|
|
15098
14462
|
type UnicornNoUselessUndefined = [] | [{
|
|
15099
14463
|
checkArguments?: boolean;
|
|
15100
14464
|
checkArrowFunctionBody?: boolean;
|
|
15101
|
-
}];
|
|
15102
|
-
// ----- unicorn/number-literal-case -----
|
|
14465
|
+
}]; // ----- unicorn/number-literal-case -----
|
|
15103
14466
|
type UnicornNumberLiteralCase = [] | [{
|
|
15104
14467
|
hexadecimalValue?: ("uppercase" | "lowercase");
|
|
15105
|
-
}];
|
|
15106
|
-
// ----- unicorn/numeric-separators-style -----
|
|
14468
|
+
}]; // ----- unicorn/numeric-separators-style -----
|
|
15107
14469
|
type UnicornNumericSeparatorsStyle = [] | [{
|
|
15108
14470
|
binary?: {
|
|
15109
14471
|
onlyIfContainsSeparator?: boolean;
|
|
@@ -15126,53 +14488,41 @@ type UnicornNumericSeparatorsStyle = [] | [{
|
|
|
15126
14488
|
groupLength?: number;
|
|
15127
14489
|
};
|
|
15128
14490
|
onlyIfContainsSeparator?: boolean;
|
|
15129
|
-
}];
|
|
15130
|
-
// ----- unicorn/prefer-add-event-listener -----
|
|
14491
|
+
}]; // ----- unicorn/prefer-add-event-listener -----
|
|
15131
14492
|
type UnicornPreferAddEventListener = [] | [{
|
|
15132
14493
|
excludedPackages?: string[];
|
|
15133
|
-
}];
|
|
15134
|
-
// ----- unicorn/prefer-array-find -----
|
|
14494
|
+
}]; // ----- unicorn/prefer-array-find -----
|
|
15135
14495
|
type UnicornPreferArrayFind = [] | [{
|
|
15136
14496
|
checkFromLast?: boolean;
|
|
15137
|
-
}];
|
|
15138
|
-
// ----- unicorn/prefer-array-flat -----
|
|
14497
|
+
}]; // ----- unicorn/prefer-array-flat -----
|
|
15139
14498
|
type UnicornPreferArrayFlat = [] | [{
|
|
15140
14499
|
functions?: unknown[];
|
|
15141
|
-
}];
|
|
15142
|
-
// ----- unicorn/prefer-at -----
|
|
14500
|
+
}]; // ----- unicorn/prefer-at -----
|
|
15143
14501
|
type UnicornPreferAt = [] | [{
|
|
15144
14502
|
getLastElementFunctions?: unknown[];
|
|
15145
14503
|
checkAllIndexAccess?: boolean;
|
|
15146
|
-
}];
|
|
15147
|
-
// ----- unicorn/prefer-export-from -----
|
|
14504
|
+
}]; // ----- unicorn/prefer-export-from -----
|
|
15148
14505
|
type UnicornPreferExportFrom = [] | [{
|
|
15149
14506
|
ignoreUsedVariables?: boolean;
|
|
15150
|
-
}];
|
|
15151
|
-
// ----- unicorn/prefer-number-properties -----
|
|
14507
|
+
}]; // ----- unicorn/prefer-number-properties -----
|
|
15152
14508
|
type UnicornPreferNumberProperties = [] | [{
|
|
15153
14509
|
checkInfinity?: boolean;
|
|
15154
14510
|
checkNaN?: boolean;
|
|
15155
|
-
}];
|
|
15156
|
-
// ----- unicorn/prefer-object-from-entries -----
|
|
14511
|
+
}]; // ----- unicorn/prefer-object-from-entries -----
|
|
15157
14512
|
type UnicornPreferObjectFromEntries = [] | [{
|
|
15158
14513
|
functions?: unknown[];
|
|
15159
|
-
}];
|
|
15160
|
-
// ----- unicorn/prefer-single-call -----
|
|
14514
|
+
}]; // ----- unicorn/prefer-single-call -----
|
|
15161
14515
|
type UnicornPreferSingleCall = [] | [{
|
|
15162
14516
|
ignore?: unknown[];
|
|
15163
|
-
}];
|
|
15164
|
-
// ----- unicorn/prefer-structured-clone -----
|
|
14517
|
+
}]; // ----- unicorn/prefer-structured-clone -----
|
|
15165
14518
|
type UnicornPreferStructuredClone = [] | [{
|
|
15166
14519
|
functions?: unknown[];
|
|
15167
|
-
}];
|
|
15168
|
-
// ----- unicorn/prefer-switch -----
|
|
14520
|
+
}]; // ----- unicorn/prefer-switch -----
|
|
15169
14521
|
type UnicornPreferSwitch = [] | [{
|
|
15170
14522
|
minimumCases?: number;
|
|
15171
14523
|
emptyDefaultCase?: ("no-default-comment" | "do-nothing-comment" | "no-default-case");
|
|
15172
|
-
}];
|
|
15173
|
-
// ----- unicorn/
|
|
15174
|
-
type UnicornPreferTernary = [] | [("always" | "only-single-line")];
|
|
15175
|
-
// ----- unicorn/prevent-abbreviations -----
|
|
14524
|
+
}]; // ----- unicorn/prefer-ternary -----
|
|
14525
|
+
type UnicornPreferTernary = [] | [("always" | "only-single-line")]; // ----- unicorn/prevent-abbreviations -----
|
|
15176
14526
|
type UnicornPreventAbbreviations = [] | [{
|
|
15177
14527
|
checkProperties?: boolean;
|
|
15178
14528
|
checkVariables?: boolean;
|
|
@@ -15192,10 +14542,8 @@ interface _UnicornPreventAbbreviations_Abbreviations {
|
|
|
15192
14542
|
}
|
|
15193
14543
|
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
15194
14544
|
[k: string]: boolean | undefined;
|
|
15195
|
-
}
|
|
15196
|
-
// ----- unicorn/
|
|
15197
|
-
type UnicornRelativeUrlStyle = [] | [("never" | "always")];
|
|
15198
|
-
// ----- unicorn/string-content -----
|
|
14545
|
+
} // ----- unicorn/relative-url-style -----
|
|
14546
|
+
type UnicornRelativeUrlStyle = [] | [("never" | "always")]; // ----- unicorn/string-content -----
|
|
15199
14547
|
type UnicornStringContent = [] | [{
|
|
15200
14548
|
patterns?: {
|
|
15201
14549
|
[k: string]: (string | {
|
|
@@ -15204,22 +14552,18 @@ type UnicornStringContent = [] | [{
|
|
|
15204
14552
|
message?: string;
|
|
15205
14553
|
}) | undefined;
|
|
15206
14554
|
};
|
|
15207
|
-
}];
|
|
15208
|
-
// ----- unicorn/
|
|
15209
|
-
type UnicornSwitchCaseBraces = [] | [("always" | "avoid")];
|
|
15210
|
-
// ----- unicorn/template-indent -----
|
|
14555
|
+
}]; // ----- unicorn/switch-case-braces -----
|
|
14556
|
+
type UnicornSwitchCaseBraces = [] | [("always" | "avoid")]; // ----- unicorn/template-indent -----
|
|
15211
14557
|
type UnicornTemplateIndent = [] | [{
|
|
15212
14558
|
indent?: (string | number);
|
|
15213
14559
|
tags?: string[];
|
|
15214
14560
|
functions?: string[];
|
|
15215
14561
|
selectors?: string[];
|
|
15216
14562
|
comments?: string[];
|
|
15217
|
-
}];
|
|
15218
|
-
// ----- unicorn/text-encoding-identifier-case -----
|
|
14563
|
+
}]; // ----- unicorn/text-encoding-identifier-case -----
|
|
15219
14564
|
type UnicornTextEncodingIdentifierCase = [] | [{
|
|
15220
14565
|
withDash?: boolean;
|
|
15221
|
-
}];
|
|
15222
|
-
// ----- unused-imports/no-unused-imports -----
|
|
14566
|
+
}]; // ----- unused-imports/no-unused-imports -----
|
|
15223
14567
|
type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
15224
14568
|
args?: ("all" | "after-used" | "none");
|
|
15225
14569
|
argsIgnorePattern?: string;
|
|
@@ -15235,8 +14579,7 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
|
15235
14579
|
reportUsedIgnorePattern?: boolean;
|
|
15236
14580
|
vars?: ("all" | "local");
|
|
15237
14581
|
varsIgnorePattern?: string;
|
|
15238
|
-
})];
|
|
15239
|
-
// ----- unused-imports/no-unused-vars -----
|
|
14582
|
+
})]; // ----- unused-imports/no-unused-vars -----
|
|
15240
14583
|
type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
15241
14584
|
args?: ("all" | "after-used" | "none");
|
|
15242
14585
|
argsIgnorePattern?: string;
|
|
@@ -15252,31 +14595,25 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
15252
14595
|
reportUsedIgnorePattern?: boolean;
|
|
15253
14596
|
vars?: ("all" | "local");
|
|
15254
14597
|
varsIgnorePattern?: string;
|
|
15255
|
-
})];
|
|
15256
|
-
// ----- use-isnan -----
|
|
14598
|
+
})]; // ----- use-isnan -----
|
|
15257
14599
|
type UseIsnan = [] | [{
|
|
15258
14600
|
enforceForSwitchCase?: boolean;
|
|
15259
14601
|
enforceForIndexOf?: boolean;
|
|
15260
|
-
}];
|
|
15261
|
-
// ----- valid-typeof -----
|
|
14602
|
+
}]; // ----- valid-typeof -----
|
|
15262
14603
|
type ValidTypeof = [] | [{
|
|
15263
14604
|
requireStringLiterals?: boolean;
|
|
15264
|
-
}];
|
|
15265
|
-
// ----- wrap-iife -----
|
|
14605
|
+
}]; // ----- wrap-iife -----
|
|
15266
14606
|
type WrapIife = [] | [("outside" | "inside" | "any")] | [("outside" | "inside" | "any"), {
|
|
15267
14607
|
functionPrototypeMethods?: boolean;
|
|
15268
|
-
}];
|
|
15269
|
-
// ----- yield-star-spacing -----
|
|
14608
|
+
}]; // ----- yield-star-spacing -----
|
|
15270
14609
|
type YieldStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
|
|
15271
14610
|
before?: boolean;
|
|
15272
14611
|
after?: boolean;
|
|
15273
|
-
})];
|
|
15274
|
-
// ----- yoda -----
|
|
14612
|
+
})]; // ----- yoda -----
|
|
15275
14613
|
type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
15276
14614
|
exceptRange?: boolean;
|
|
15277
14615
|
onlyEquality?: boolean;
|
|
15278
|
-
}];
|
|
15279
|
-
// Names of all the configs
|
|
14616
|
+
}]; // Names of all the configs
|
|
15280
14617
|
type ConfigNames = '@biscuittin/eslint-config/eslint-comments/setup' | '@biscuittin/eslint-config/eslint-comments/rules' | '@biscuittin/eslint-config/disables/script' | '@biscuittin/eslint-config/disables/cli' | '@biscuittin/eslint-config/disables/bin' | '@biscuittin/eslint-config/disables/dts' | '@biscuittin/eslint-config/disables/commonjs' | '@biscuittin/eslint-config/disables/config-files' | '@biscuittin/eslint-config/formatters/setup' | '@biscuittin/eslint-config/formatters/rules/typescript' | '@biscuittin/eslint-config/formatters/rules/json' | '@biscuittin/eslint-config/formatters/rules/markdown' | '@biscuittin/eslint-config/formatters/rules/malva' | '@biscuittin/eslint-config/formatters/rules/markup' | '@biscuittin/eslint-config/formatters/rules/yaml' | '@biscuittin/eslint-config/ignores/files' | '@biscuittin/eslint-config/ignores/gitignore' | '@biscuittin/eslint-config/imports/setup' | '@biscuittin/eslint-config/imports/rules' | '@biscuittin/eslint-config/imports/stylistic' | '@biscuittin/eslint-config/javascript/setup' | '@biscuittin/eslint-config/javascript/commonjs' | '@biscuittin/eslint-config/javascript/module' | '@biscuittin/eslint-config/javascript/rules' | '@biscuittin/eslint-config/json/setup' | '@biscuittin/eslint-config/json/rules' | '@biscuittin/eslint-config/json/stylistic' | '@biscuittin/eslint-config/json/package-json' | '@biscuittin/eslint-config/json/tsconfig-json' | '@biscuittin/eslint-config/jsx/setup' | '@biscuittin/eslint-config/next-js/setup' | '@biscuittin/eslint-config/next-js/rules' | '@biscuittin/eslint-config/node-js/setup' | '@biscuittin/eslint-config/node-js/rules' | '@biscuittin/eslint-config/node-js/script' | '@biscuittin/eslint-config/node-js/commonjs' | '@biscuittin/eslint-config/node-js/module' | '@biscuittin/eslint-config/react/setup' | '@biscuittin/eslint-config/react/rules' | '@biscuittin/eslint-config/react/stylistic' | '@biscuittin/eslint-config/react/type-check' | '@biscuittin/eslint-config/react/react-compiler' | '@biscuittin/eslint-config/regexp/setup' | '@biscuittin/eslint-config/regexp/rules' | '@biscuittin/eslint-config/tailwindcss/setup' | '@biscuittin/eslint-config/tailwindcss/rules' | '@biscuittin/eslint-config/typescript/setup' | '@biscuittin/eslint-config/typescript/rules' | '@biscuittin/eslint-config/unicorn/setup/all-src' | '@biscuittin/eslint-config/unicorn/setup/src' | '@biscuittin/eslint-config/unicorn/rules/all-src' | '@biscuittin/eslint-config/unicorn/rules/src';
|
|
15281
14618
|
//#endregion
|
|
15282
14619
|
//#region src/types.d.ts
|
|
@@ -15610,7 +14947,7 @@ interface ESLintConfigOptions {
|
|
|
15610
14947
|
* The user configurations to be merged with the generated configurations.
|
|
15611
14948
|
* @returns The merged ESLint configurations.
|
|
15612
14949
|
*/
|
|
15613
|
-
declare function config(options?: ESLintConfigOptions, ...userConfigs: Awaitable<UserConfig>[]): Promise<
|
|
14950
|
+
declare function config(options?: ESLintConfigOptions, ...userConfigs: Awaitable<UserConfig>[]): Promise<Linter.Config<RulesConfig>[]>;
|
|
15614
14951
|
//#endregion
|
|
15615
14952
|
//#region src/utils/combine.d.ts
|
|
15616
14953
|
/**
|