@ivanmaxlogiudice/eslint-config 3.0.0-beta.4 → 3.0.0-beta.6
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/cli.js +42 -34
- package/dist/index.d.ts +223 -204
- package/dist/index.js +129 -63
- package/package.json +27 -19
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Linter } from 'eslint';
|
|
2
|
+
import { ParserOptions } from '@typescript-eslint/parser';
|
|
2
3
|
import { SpawnOptionsWithoutStdio } from 'node:child_process';
|
|
3
4
|
|
|
4
5
|
/* eslint-disable */
|
|
@@ -4411,7 +4412,7 @@ interface RuleOptions {
|
|
|
4411
4412
|
*/
|
|
4412
4413
|
'ts/unified-signatures'?: Linter.RuleEntry<TsUnifiedSignatures>
|
|
4413
4414
|
/**
|
|
4414
|
-
* Enforce typing arguments in
|
|
4415
|
+
* Enforce typing arguments in Promise rejection callbacks as `unknown`
|
|
4415
4416
|
* @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
|
|
4416
4417
|
*/
|
|
4417
4418
|
'ts/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
|
|
@@ -6536,24 +6537,25 @@ type AccessorPairs = []|[{
|
|
|
6536
6537
|
// ----- antfu/consistent-list-newline -----
|
|
6537
6538
|
type AntfuConsistentListNewline = []|[{
|
|
6538
6539
|
ArrayExpression?: boolean
|
|
6540
|
+
ArrayPattern?: boolean
|
|
6539
6541
|
ArrowFunctionExpression?: boolean
|
|
6540
6542
|
CallExpression?: boolean
|
|
6541
6543
|
ExportNamedDeclaration?: boolean
|
|
6542
6544
|
FunctionDeclaration?: boolean
|
|
6543
6545
|
FunctionExpression?: boolean
|
|
6544
6546
|
ImportDeclaration?: boolean
|
|
6547
|
+
JSONArrayExpression?: boolean
|
|
6548
|
+
JSONObjectExpression?: boolean
|
|
6549
|
+
JSXOpeningElement?: boolean
|
|
6545
6550
|
NewExpression?: boolean
|
|
6546
6551
|
ObjectExpression?: boolean
|
|
6552
|
+
ObjectPattern?: boolean
|
|
6553
|
+
TSFunctionType?: boolean
|
|
6547
6554
|
TSInterfaceDeclaration?: boolean
|
|
6548
6555
|
TSTupleType?: boolean
|
|
6549
6556
|
TSTypeLiteral?: boolean
|
|
6550
6557
|
TSTypeParameterDeclaration?: boolean
|
|
6551
6558
|
TSTypeParameterInstantiation?: boolean
|
|
6552
|
-
ObjectPattern?: boolean
|
|
6553
|
-
ArrayPattern?: boolean
|
|
6554
|
-
JSXOpeningElement?: boolean
|
|
6555
|
-
JSONArrayExpression?: boolean
|
|
6556
|
-
JSONObjectExpression?: boolean
|
|
6557
6559
|
}]
|
|
6558
6560
|
// ----- antfu/indent-unindent -----
|
|
6559
6561
|
type AntfuIndentUnindent = []|[{
|
|
@@ -6578,11 +6580,11 @@ type ArrayCallbackReturn = []|[{
|
|
|
6578
6580
|
allowVoid?: boolean
|
|
6579
6581
|
}]
|
|
6580
6582
|
// ----- array-element-newline -----
|
|
6581
|
-
type ArrayElementNewline = []|[(
|
|
6582
|
-
ArrayExpression?:
|
|
6583
|
-
ArrayPattern?:
|
|
6583
|
+
type ArrayElementNewline = []|[(_ArrayElementNewlineBasicConfig | {
|
|
6584
|
+
ArrayExpression?: _ArrayElementNewlineBasicConfig
|
|
6585
|
+
ArrayPattern?: _ArrayElementNewlineBasicConfig
|
|
6584
6586
|
})]
|
|
6585
|
-
type
|
|
6587
|
+
type _ArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
6586
6588
|
multiline?: boolean
|
|
6587
6589
|
minItems?: (number | null)
|
|
6588
6590
|
})
|
|
@@ -6639,15 +6641,15 @@ type ClassMethodsUseThis = []|[{
|
|
|
6639
6641
|
enforceForClassFields?: boolean
|
|
6640
6642
|
}]
|
|
6641
6643
|
// ----- comma-dangle -----
|
|
6642
|
-
type CommaDangle = []|[(
|
|
6643
|
-
arrays?:
|
|
6644
|
-
objects?:
|
|
6645
|
-
imports?:
|
|
6646
|
-
exports?:
|
|
6647
|
-
functions?:
|
|
6644
|
+
type CommaDangle = []|[(_CommaDangleValue | {
|
|
6645
|
+
arrays?: _CommaDangleValueWithIgnore
|
|
6646
|
+
objects?: _CommaDangleValueWithIgnore
|
|
6647
|
+
imports?: _CommaDangleValueWithIgnore
|
|
6648
|
+
exports?: _CommaDangleValueWithIgnore
|
|
6649
|
+
functions?: _CommaDangleValueWithIgnore
|
|
6648
6650
|
})]
|
|
6649
|
-
type
|
|
6650
|
-
type
|
|
6651
|
+
type _CommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
6652
|
+
type _CommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline")
|
|
6651
6653
|
// ----- comma-spacing -----
|
|
6652
6654
|
type CommaSpacing = []|[{
|
|
6653
6655
|
before?: boolean
|
|
@@ -6720,10 +6722,10 @@ type FuncNameMatching = ([]|[("always" | "never")]|[("always" | "never"), {
|
|
|
6720
6722
|
includeCommonJSModuleExports?: boolean
|
|
6721
6723
|
}])
|
|
6722
6724
|
// ----- func-names -----
|
|
6723
|
-
type FuncNames = []|[
|
|
6724
|
-
generators?:
|
|
6725
|
+
type FuncNames = []|[_FuncNamesValue]|[_FuncNamesValue, {
|
|
6726
|
+
generators?: _FuncNamesValue
|
|
6725
6727
|
}]
|
|
6726
|
-
type
|
|
6728
|
+
type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
6727
6729
|
// ----- func-style -----
|
|
6728
6730
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
6729
6731
|
allowArrowFunctions?: boolean
|
|
@@ -7541,25 +7543,25 @@ type JsoncArrayBracketSpacing = []|[("always" | "never")]|[("always" | "never"),
|
|
|
7541
7543
|
arraysInArrays?: boolean
|
|
7542
7544
|
}]
|
|
7543
7545
|
// ----- jsonc/array-element-newline -----
|
|
7544
|
-
type JsoncArrayElementNewline = []|[(
|
|
7545
|
-
ArrayExpression?:
|
|
7546
|
-
JSONArrayExpression?:
|
|
7547
|
-
ArrayPattern?:
|
|
7546
|
+
type JsoncArrayElementNewline = []|[(_JsoncArrayElementNewlineBasicConfig | {
|
|
7547
|
+
ArrayExpression?: _JsoncArrayElementNewlineBasicConfig
|
|
7548
|
+
JSONArrayExpression?: _JsoncArrayElementNewlineBasicConfig
|
|
7549
|
+
ArrayPattern?: _JsoncArrayElementNewlineBasicConfig
|
|
7548
7550
|
})]
|
|
7549
|
-
type
|
|
7551
|
+
type _JsoncArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
7550
7552
|
multiline?: boolean
|
|
7551
7553
|
minItems?: (number | null)
|
|
7552
7554
|
})
|
|
7553
7555
|
// ----- jsonc/comma-dangle -----
|
|
7554
|
-
type JsoncCommaDangle = []|[(
|
|
7555
|
-
arrays?:
|
|
7556
|
-
objects?:
|
|
7557
|
-
imports?:
|
|
7558
|
-
exports?:
|
|
7559
|
-
functions?:
|
|
7556
|
+
type JsoncCommaDangle = []|[(_JsoncCommaDangleValue | {
|
|
7557
|
+
arrays?: _JsoncCommaDangleValueWithIgnore
|
|
7558
|
+
objects?: _JsoncCommaDangleValueWithIgnore
|
|
7559
|
+
imports?: _JsoncCommaDangleValueWithIgnore
|
|
7560
|
+
exports?: _JsoncCommaDangleValueWithIgnore
|
|
7561
|
+
functions?: _JsoncCommaDangleValueWithIgnore
|
|
7560
7562
|
})]
|
|
7561
|
-
type
|
|
7562
|
-
type
|
|
7563
|
+
type _JsoncCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
7564
|
+
type _JsoncCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline")
|
|
7563
7565
|
// ----- jsonc/comma-style -----
|
|
7564
7566
|
type JsoncCommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
7565
7567
|
exceptions?: {
|
|
@@ -9018,12 +9020,12 @@ type PaddedBlocks = []|[(("always" | "never") | {
|
|
|
9018
9020
|
allowSingleLineBlocks?: boolean
|
|
9019
9021
|
}]
|
|
9020
9022
|
// ----- padding-line-between-statements -----
|
|
9021
|
-
type
|
|
9022
|
-
type
|
|
9023
|
+
type _PaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
9024
|
+
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"))[]])
|
|
9023
9025
|
type PaddingLineBetweenStatements = {
|
|
9024
|
-
blankLine:
|
|
9025
|
-
prev:
|
|
9026
|
-
next:
|
|
9026
|
+
blankLine: _PaddingLineBetweenStatementsPaddingType
|
|
9027
|
+
prev: _PaddingLineBetweenStatementsStatementType
|
|
9028
|
+
next: _PaddingLineBetweenStatementsStatementType
|
|
9027
9029
|
}[]
|
|
9028
9030
|
// ----- perfectionist/sort-array-includes -----
|
|
9029
9031
|
type PerfectionistSortArrayIncludes = []|[{
|
|
@@ -9077,6 +9079,10 @@ type PerfectionistSortEnums = []|[{
|
|
|
9077
9079
|
|
|
9078
9080
|
ignoreCase?: boolean
|
|
9079
9081
|
|
|
9082
|
+
sortByValue?: boolean
|
|
9083
|
+
|
|
9084
|
+
forceNumericSort?: boolean
|
|
9085
|
+
|
|
9080
9086
|
partitionByComment?: (string[] | boolean | string)
|
|
9081
9087
|
}]
|
|
9082
9088
|
// ----- perfectionist/sort-exports -----
|
|
@@ -9586,11 +9592,11 @@ type StyleArrayBracketSpacing = []|[("always" | "never")]|[("always" | "never"),
|
|
|
9586
9592
|
arraysInArrays?: boolean
|
|
9587
9593
|
}]
|
|
9588
9594
|
// ----- style/array-element-newline -----
|
|
9589
|
-
type StyleArrayElementNewline = []|[(
|
|
9590
|
-
ArrayExpression?:
|
|
9591
|
-
ArrayPattern?:
|
|
9595
|
+
type StyleArrayElementNewline = []|[(_StyleArrayElementNewlineBasicConfig | {
|
|
9596
|
+
ArrayExpression?: _StyleArrayElementNewlineBasicConfig
|
|
9597
|
+
ArrayPattern?: _StyleArrayElementNewlineBasicConfig
|
|
9592
9598
|
})]
|
|
9593
|
-
type
|
|
9599
|
+
type _StyleArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
9594
9600
|
consistent?: boolean
|
|
9595
9601
|
multiline?: boolean
|
|
9596
9602
|
minItems?: (number | null)
|
|
@@ -9611,18 +9617,18 @@ type StyleBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "strou
|
|
|
9611
9617
|
allowSingleLine?: boolean
|
|
9612
9618
|
}]
|
|
9613
9619
|
// ----- style/comma-dangle -----
|
|
9614
|
-
type StyleCommaDangle = []|[(
|
|
9615
|
-
arrays?:
|
|
9616
|
-
objects?:
|
|
9617
|
-
imports?:
|
|
9618
|
-
exports?:
|
|
9619
|
-
functions?:
|
|
9620
|
-
enums?:
|
|
9621
|
-
generics?:
|
|
9622
|
-
tuples?:
|
|
9620
|
+
type StyleCommaDangle = []|[(_StyleCommaDangleValue | {
|
|
9621
|
+
arrays?: _StyleCommaDangleValueWithIgnore
|
|
9622
|
+
objects?: _StyleCommaDangleValueWithIgnore
|
|
9623
|
+
imports?: _StyleCommaDangleValueWithIgnore
|
|
9624
|
+
exports?: _StyleCommaDangleValueWithIgnore
|
|
9625
|
+
functions?: _StyleCommaDangleValueWithIgnore
|
|
9626
|
+
enums?: _StyleCommaDangleValueWithIgnore
|
|
9627
|
+
generics?: _StyleCommaDangleValueWithIgnore
|
|
9628
|
+
tuples?: _StyleCommaDangleValueWithIgnore
|
|
9623
9629
|
})]
|
|
9624
|
-
type
|
|
9625
|
-
type
|
|
9630
|
+
type _StyleCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
9631
|
+
type _StyleCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
9626
9632
|
// ----- style/comma-spacing -----
|
|
9627
9633
|
type StyleCommaSpacing = []|[{
|
|
9628
9634
|
before?: boolean
|
|
@@ -9729,12 +9735,12 @@ type StyleJsxCurlyNewline = []|[(("consistent" | "never") | {
|
|
|
9729
9735
|
})]
|
|
9730
9736
|
// ----- style/jsx-curly-spacing -----
|
|
9731
9737
|
type StyleJsxCurlySpacing = []|[((_StyleJsxCurlySpacing_BasicConfig & {
|
|
9732
|
-
attributes?:
|
|
9733
|
-
children?:
|
|
9738
|
+
attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean
|
|
9739
|
+
children?: _StyleJsxCurlySpacingBasicConfigOrBoolean
|
|
9734
9740
|
[k: string]: unknown | undefined
|
|
9735
9741
|
}) | ("always" | "never"))]|[((_StyleJsxCurlySpacing_BasicConfig & {
|
|
9736
|
-
attributes?:
|
|
9737
|
-
children?:
|
|
9742
|
+
attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean
|
|
9743
|
+
children?: _StyleJsxCurlySpacingBasicConfigOrBoolean
|
|
9738
9744
|
[k: string]: unknown | undefined
|
|
9739
9745
|
}) | ("always" | "never")), {
|
|
9740
9746
|
allowMultiline?: boolean
|
|
@@ -9743,7 +9749,7 @@ type StyleJsxCurlySpacing = []|[((_StyleJsxCurlySpacing_BasicConfig & {
|
|
|
9743
9749
|
[k: string]: unknown | undefined
|
|
9744
9750
|
}
|
|
9745
9751
|
}]
|
|
9746
|
-
type
|
|
9752
|
+
type _StyleJsxCurlySpacingBasicConfigOrBoolean = (_StyleJsxCurlySpacing_BasicConfig | boolean)
|
|
9747
9753
|
interface _StyleJsxCurlySpacing_BasicConfig {
|
|
9748
9754
|
when?: ("always" | "never")
|
|
9749
9755
|
allowMultiline?: boolean
|
|
@@ -10463,12 +10469,12 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
10463
10469
|
allowSingleLineBlocks?: boolean
|
|
10464
10470
|
}]
|
|
10465
10471
|
// ----- style/padding-line-between-statements -----
|
|
10466
|
-
type
|
|
10467
|
-
type
|
|
10472
|
+
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
10473
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
10468
10474
|
type StylePaddingLineBetweenStatements = {
|
|
10469
|
-
blankLine:
|
|
10470
|
-
prev:
|
|
10471
|
-
next:
|
|
10475
|
+
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
10476
|
+
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
10477
|
+
next: _StylePaddingLineBetweenStatementsStatementType
|
|
10472
10478
|
}[]
|
|
10473
10479
|
// ----- style/quote-props -----
|
|
10474
10480
|
type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
@@ -10627,6 +10633,7 @@ type TestNoLargeSnapshots = []|[{
|
|
|
10627
10633
|
type TestNoOnlyTests = []|[{
|
|
10628
10634
|
block?: string[]
|
|
10629
10635
|
focus?: string[]
|
|
10636
|
+
functions?: string[]
|
|
10630
10637
|
fix?: boolean
|
|
10631
10638
|
}]
|
|
10632
10639
|
// ----- test/no-restricted-matchers -----
|
|
@@ -10837,28 +10844,28 @@ type TsMemberOrdering = []|[{
|
|
|
10837
10844
|
// ----- ts/method-signature-style -----
|
|
10838
10845
|
type TsMethodSignatureStyle = []|[("property" | "method")]
|
|
10839
10846
|
// ----- ts/naming-convention -----
|
|
10840
|
-
type
|
|
10841
|
-
type
|
|
10842
|
-
type
|
|
10847
|
+
type _TsNamingConventionFormatOptionsConfig = (_TsNamingConventionPredefinedFormats[] | null)
|
|
10848
|
+
type _TsNamingConventionPredefinedFormats = ("camelCase" | "strictCamelCase" | "PascalCase" | "StrictPascalCase" | "snake_case" | "UPPER_CASE")
|
|
10849
|
+
type _TsNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "requireDouble" | "allowDouble" | "allowSingleOrDouble")
|
|
10843
10850
|
type _TsNamingConvention_PrefixSuffixConfig = string[]
|
|
10844
|
-
type
|
|
10851
|
+
type _TsNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
10845
10852
|
type TsNamingConvention = ({
|
|
10846
|
-
format:
|
|
10853
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10847
10854
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10848
|
-
leadingUnderscore?:
|
|
10849
|
-
trailingUnderscore?:
|
|
10855
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10856
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10850
10857
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10851
10858
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10852
10859
|
failureMessage?: string
|
|
10853
10860
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10854
10861
|
selector: ("default" | "variableLike" | "memberLike" | "typeLike" | "method" | "property" | "accessor" | "variable" | "function" | "parameter" | "parameterProperty" | "classicAccessor" | "enumMember" | "classMethod" | "objectLiteralMethod" | "typeMethod" | "classProperty" | "objectLiteralProperty" | "typeProperty" | "autoAccessor" | "class" | "interface" | "typeAlias" | "enum" | "typeParameter" | "import")[]
|
|
10855
10862
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
10856
|
-
types?:
|
|
10863
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
10857
10864
|
} | {
|
|
10858
|
-
format:
|
|
10865
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10859
10866
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10860
|
-
leadingUnderscore?:
|
|
10861
|
-
trailingUnderscore?:
|
|
10867
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10868
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10862
10869
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10863
10870
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10864
10871
|
failureMessage?: string
|
|
@@ -10866,10 +10873,10 @@ type TsNamingConvention = ({
|
|
|
10866
10873
|
selector: "default"
|
|
10867
10874
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
10868
10875
|
} | {
|
|
10869
|
-
format:
|
|
10876
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10870
10877
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10871
|
-
leadingUnderscore?:
|
|
10872
|
-
trailingUnderscore?:
|
|
10878
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10879
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10873
10880
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10874
10881
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10875
10882
|
failureMessage?: string
|
|
@@ -10877,22 +10884,22 @@ type TsNamingConvention = ({
|
|
|
10877
10884
|
selector: "variableLike"
|
|
10878
10885
|
modifiers?: ("unused" | "async")[]
|
|
10879
10886
|
} | {
|
|
10880
|
-
format:
|
|
10887
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10881
10888
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10882
|
-
leadingUnderscore?:
|
|
10883
|
-
trailingUnderscore?:
|
|
10889
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10890
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10884
10891
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10885
10892
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10886
10893
|
failureMessage?: string
|
|
10887
10894
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10888
10895
|
selector: "variable"
|
|
10889
10896
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
10890
|
-
types?:
|
|
10897
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
10891
10898
|
} | {
|
|
10892
|
-
format:
|
|
10899
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10893
10900
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10894
|
-
leadingUnderscore?:
|
|
10895
|
-
trailingUnderscore?:
|
|
10901
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10902
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10896
10903
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10897
10904
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10898
10905
|
failureMessage?: string
|
|
@@ -10900,22 +10907,22 @@ type TsNamingConvention = ({
|
|
|
10900
10907
|
selector: "function"
|
|
10901
10908
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
10902
10909
|
} | {
|
|
10903
|
-
format:
|
|
10910
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10904
10911
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10905
|
-
leadingUnderscore?:
|
|
10906
|
-
trailingUnderscore?:
|
|
10912
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10913
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10907
10914
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10908
10915
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10909
10916
|
failureMessage?: string
|
|
10910
10917
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10911
10918
|
selector: "parameter"
|
|
10912
10919
|
modifiers?: ("destructured" | "unused")[]
|
|
10913
|
-
types?:
|
|
10920
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
10914
10921
|
} | {
|
|
10915
|
-
format:
|
|
10922
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10916
10923
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10917
|
-
leadingUnderscore?:
|
|
10918
|
-
trailingUnderscore?:
|
|
10924
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10925
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10919
10926
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10920
10927
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10921
10928
|
failureMessage?: string
|
|
@@ -10923,70 +10930,70 @@ type TsNamingConvention = ({
|
|
|
10923
10930
|
selector: "memberLike"
|
|
10924
10931
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
10925
10932
|
} | {
|
|
10926
|
-
format:
|
|
10933
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10927
10934
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10928
|
-
leadingUnderscore?:
|
|
10929
|
-
trailingUnderscore?:
|
|
10935
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10936
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10930
10937
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10931
10938
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10932
10939
|
failureMessage?: string
|
|
10933
10940
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10934
10941
|
selector: "classProperty"
|
|
10935
10942
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
10936
|
-
types?:
|
|
10943
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
10937
10944
|
} | {
|
|
10938
|
-
format:
|
|
10945
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10939
10946
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10940
|
-
leadingUnderscore?:
|
|
10941
|
-
trailingUnderscore?:
|
|
10947
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10948
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10942
10949
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10943
10950
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10944
10951
|
failureMessage?: string
|
|
10945
10952
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10946
10953
|
selector: "objectLiteralProperty"
|
|
10947
10954
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
10948
|
-
types?:
|
|
10955
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
10949
10956
|
} | {
|
|
10950
|
-
format:
|
|
10957
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10951
10958
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10952
|
-
leadingUnderscore?:
|
|
10953
|
-
trailingUnderscore?:
|
|
10959
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10960
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10954
10961
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10955
10962
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10956
10963
|
failureMessage?: string
|
|
10957
10964
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10958
10965
|
selector: "typeProperty"
|
|
10959
10966
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
10960
|
-
types?:
|
|
10967
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
10961
10968
|
} | {
|
|
10962
|
-
format:
|
|
10969
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10963
10970
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10964
|
-
leadingUnderscore?:
|
|
10965
|
-
trailingUnderscore?:
|
|
10971
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10972
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10966
10973
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10967
10974
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10968
10975
|
failureMessage?: string
|
|
10969
10976
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10970
10977
|
selector: "parameterProperty"
|
|
10971
10978
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
10972
|
-
types?:
|
|
10979
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
10973
10980
|
} | {
|
|
10974
|
-
format:
|
|
10981
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10975
10982
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10976
|
-
leadingUnderscore?:
|
|
10977
|
-
trailingUnderscore?:
|
|
10983
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10984
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10978
10985
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10979
10986
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10980
10987
|
failureMessage?: string
|
|
10981
10988
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10982
10989
|
selector: "property"
|
|
10983
10990
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
10984
|
-
types?:
|
|
10991
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
10985
10992
|
} | {
|
|
10986
|
-
format:
|
|
10993
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10987
10994
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10988
|
-
leadingUnderscore?:
|
|
10989
|
-
trailingUnderscore?:
|
|
10995
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10996
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
10990
10997
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10991
10998
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10992
10999
|
failureMessage?: string
|
|
@@ -10994,10 +11001,10 @@ type TsNamingConvention = ({
|
|
|
10994
11001
|
selector: "classMethod"
|
|
10995
11002
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
10996
11003
|
} | {
|
|
10997
|
-
format:
|
|
11004
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
10998
11005
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10999
|
-
leadingUnderscore?:
|
|
11000
|
-
trailingUnderscore?:
|
|
11006
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11007
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11001
11008
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11002
11009
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11003
11010
|
failureMessage?: string
|
|
@@ -11005,10 +11012,10 @@ type TsNamingConvention = ({
|
|
|
11005
11012
|
selector: "objectLiteralMethod"
|
|
11006
11013
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
11007
11014
|
} | {
|
|
11008
|
-
format:
|
|
11015
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11009
11016
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11010
|
-
leadingUnderscore?:
|
|
11011
|
-
trailingUnderscore?:
|
|
11017
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11018
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11012
11019
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11013
11020
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11014
11021
|
failureMessage?: string
|
|
@@ -11016,10 +11023,10 @@ type TsNamingConvention = ({
|
|
|
11016
11023
|
selector: "typeMethod"
|
|
11017
11024
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
11018
11025
|
} | {
|
|
11019
|
-
format:
|
|
11026
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11020
11027
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11021
|
-
leadingUnderscore?:
|
|
11022
|
-
trailingUnderscore?:
|
|
11028
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11029
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11023
11030
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11024
11031
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11025
11032
|
failureMessage?: string
|
|
@@ -11027,46 +11034,46 @@ type TsNamingConvention = ({
|
|
|
11027
11034
|
selector: "method"
|
|
11028
11035
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
11029
11036
|
} | {
|
|
11030
|
-
format:
|
|
11037
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11031
11038
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11032
|
-
leadingUnderscore?:
|
|
11033
|
-
trailingUnderscore?:
|
|
11039
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11040
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11034
11041
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11035
11042
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11036
11043
|
failureMessage?: string
|
|
11037
11044
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
11038
11045
|
selector: "classicAccessor"
|
|
11039
11046
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
11040
|
-
types?:
|
|
11047
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
11041
11048
|
} | {
|
|
11042
|
-
format:
|
|
11049
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11043
11050
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11044
|
-
leadingUnderscore?:
|
|
11045
|
-
trailingUnderscore?:
|
|
11051
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11052
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11046
11053
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11047
11054
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11048
11055
|
failureMessage?: string
|
|
11049
11056
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
11050
11057
|
selector: "autoAccessor"
|
|
11051
11058
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
11052
|
-
types?:
|
|
11059
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
11053
11060
|
} | {
|
|
11054
|
-
format:
|
|
11061
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11055
11062
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11056
|
-
leadingUnderscore?:
|
|
11057
|
-
trailingUnderscore?:
|
|
11063
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11064
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11058
11065
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11059
11066
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11060
11067
|
failureMessage?: string
|
|
11061
11068
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
11062
11069
|
selector: "accessor"
|
|
11063
11070
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
11064
|
-
types?:
|
|
11071
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
11065
11072
|
} | {
|
|
11066
|
-
format:
|
|
11073
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11067
11074
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11068
|
-
leadingUnderscore?:
|
|
11069
|
-
trailingUnderscore?:
|
|
11075
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11076
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11070
11077
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11071
11078
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11072
11079
|
failureMessage?: string
|
|
@@ -11074,10 +11081,10 @@ type TsNamingConvention = ({
|
|
|
11074
11081
|
selector: "enumMember"
|
|
11075
11082
|
modifiers?: ("requiresQuotes")[]
|
|
11076
11083
|
} | {
|
|
11077
|
-
format:
|
|
11084
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11078
11085
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11079
|
-
leadingUnderscore?:
|
|
11080
|
-
trailingUnderscore?:
|
|
11086
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11087
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11081
11088
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11082
11089
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11083
11090
|
failureMessage?: string
|
|
@@ -11085,10 +11092,10 @@ type TsNamingConvention = ({
|
|
|
11085
11092
|
selector: "typeLike"
|
|
11086
11093
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
11087
11094
|
} | {
|
|
11088
|
-
format:
|
|
11095
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11089
11096
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11090
|
-
leadingUnderscore?:
|
|
11091
|
-
trailingUnderscore?:
|
|
11097
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11098
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11092
11099
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11093
11100
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11094
11101
|
failureMessage?: string
|
|
@@ -11096,10 +11103,10 @@ type TsNamingConvention = ({
|
|
|
11096
11103
|
selector: "class"
|
|
11097
11104
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
11098
11105
|
} | {
|
|
11099
|
-
format:
|
|
11106
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11100
11107
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11101
|
-
leadingUnderscore?:
|
|
11102
|
-
trailingUnderscore?:
|
|
11108
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11109
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11103
11110
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11104
11111
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11105
11112
|
failureMessage?: string
|
|
@@ -11107,10 +11114,10 @@ type TsNamingConvention = ({
|
|
|
11107
11114
|
selector: "interface"
|
|
11108
11115
|
modifiers?: ("exported" | "unused")[]
|
|
11109
11116
|
} | {
|
|
11110
|
-
format:
|
|
11117
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11111
11118
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11112
|
-
leadingUnderscore?:
|
|
11113
|
-
trailingUnderscore?:
|
|
11119
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11120
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11114
11121
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11115
11122
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11116
11123
|
failureMessage?: string
|
|
@@ -11118,10 +11125,10 @@ type TsNamingConvention = ({
|
|
|
11118
11125
|
selector: "typeAlias"
|
|
11119
11126
|
modifiers?: ("exported" | "unused")[]
|
|
11120
11127
|
} | {
|
|
11121
|
-
format:
|
|
11128
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11122
11129
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11123
|
-
leadingUnderscore?:
|
|
11124
|
-
trailingUnderscore?:
|
|
11130
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11131
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11125
11132
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11126
11133
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11127
11134
|
failureMessage?: string
|
|
@@ -11129,10 +11136,10 @@ type TsNamingConvention = ({
|
|
|
11129
11136
|
selector: "enum"
|
|
11130
11137
|
modifiers?: ("exported" | "unused")[]
|
|
11131
11138
|
} | {
|
|
11132
|
-
format:
|
|
11139
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11133
11140
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11134
|
-
leadingUnderscore?:
|
|
11135
|
-
trailingUnderscore?:
|
|
11141
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11142
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11136
11143
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11137
11144
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11138
11145
|
failureMessage?: string
|
|
@@ -11140,10 +11147,10 @@ type TsNamingConvention = ({
|
|
|
11140
11147
|
selector: "typeParameter"
|
|
11141
11148
|
modifiers?: ("unused")[]
|
|
11142
11149
|
} | {
|
|
11143
|
-
format:
|
|
11150
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11144
11151
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11145
|
-
leadingUnderscore?:
|
|
11146
|
-
trailingUnderscore?:
|
|
11152
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11153
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11147
11154
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11148
11155
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11149
11156
|
failureMessage?: string
|
|
@@ -11698,9 +11705,9 @@ type UnicornImportStyle = []|[{
|
|
|
11698
11705
|
extendDefaultStyles?: boolean
|
|
11699
11706
|
styles?: _UnicornImportStyle_ModuleStyles
|
|
11700
11707
|
}]
|
|
11701
|
-
type
|
|
11708
|
+
type _UnicornImportStyleStyles = (false | _UnicornImportStyle_BooleanObject) | undefined
|
|
11702
11709
|
interface _UnicornImportStyle_ModuleStyles {
|
|
11703
|
-
[k: string]:
|
|
11710
|
+
[k: string]: _UnicornImportStyleStyles | undefined
|
|
11704
11711
|
}
|
|
11705
11712
|
interface _UnicornImportStyle_BooleanObject {
|
|
11706
11713
|
[k: string]: boolean | undefined
|
|
@@ -11818,9 +11825,9 @@ type UnicornPreventAbbreviations = []|[{
|
|
|
11818
11825
|
allowList?: _UnicornPreventAbbreviations_BooleanObject
|
|
11819
11826
|
ignore?: unknown[]
|
|
11820
11827
|
}]
|
|
11821
|
-
type
|
|
11828
|
+
type _UnicornPreventAbbreviationsReplacements = (false | _UnicornPreventAbbreviations_BooleanObject) | undefined
|
|
11822
11829
|
interface _UnicornPreventAbbreviations_Abbreviations {
|
|
11823
|
-
[k: string]:
|
|
11830
|
+
[k: string]: _UnicornPreventAbbreviationsReplacements | undefined
|
|
11824
11831
|
}
|
|
11825
11832
|
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
11826
11833
|
[k: string]: boolean | undefined
|
|
@@ -11899,11 +11906,11 @@ type VueArrayBracketSpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
11899
11906
|
arraysInArrays?: boolean
|
|
11900
11907
|
}]
|
|
11901
11908
|
// ----- vue/array-element-newline -----
|
|
11902
|
-
type VueArrayElementNewline = []|[(
|
|
11903
|
-
ArrayExpression?:
|
|
11904
|
-
ArrayPattern?:
|
|
11909
|
+
type VueArrayElementNewline = []|[(_VueArrayElementNewlineBasicConfig | {
|
|
11910
|
+
ArrayExpression?: _VueArrayElementNewlineBasicConfig
|
|
11911
|
+
ArrayPattern?: _VueArrayElementNewlineBasicConfig
|
|
11905
11912
|
})]
|
|
11906
|
-
type
|
|
11913
|
+
type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
11907
11914
|
consistent?: boolean
|
|
11908
11915
|
multiline?: boolean
|
|
11909
11916
|
minItems?: (number | null)
|
|
@@ -11966,18 +11973,18 @@ type VueCamelcase = []|[{
|
|
|
11966
11973
|
allow?: string[]
|
|
11967
11974
|
}]
|
|
11968
11975
|
// ----- vue/comma-dangle -----
|
|
11969
|
-
type VueCommaDangle = []|[(
|
|
11970
|
-
arrays?:
|
|
11971
|
-
objects?:
|
|
11972
|
-
imports?:
|
|
11973
|
-
exports?:
|
|
11974
|
-
functions?:
|
|
11975
|
-
enums?:
|
|
11976
|
-
generics?:
|
|
11977
|
-
tuples?:
|
|
11976
|
+
type VueCommaDangle = []|[(_VueCommaDangleValue | {
|
|
11977
|
+
arrays?: _VueCommaDangleValueWithIgnore
|
|
11978
|
+
objects?: _VueCommaDangleValueWithIgnore
|
|
11979
|
+
imports?: _VueCommaDangleValueWithIgnore
|
|
11980
|
+
exports?: _VueCommaDangleValueWithIgnore
|
|
11981
|
+
functions?: _VueCommaDangleValueWithIgnore
|
|
11982
|
+
enums?: _VueCommaDangleValueWithIgnore
|
|
11983
|
+
generics?: _VueCommaDangleValueWithIgnore
|
|
11984
|
+
tuples?: _VueCommaDangleValueWithIgnore
|
|
11978
11985
|
})]
|
|
11979
|
-
type
|
|
11980
|
-
type
|
|
11986
|
+
type _VueCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
11987
|
+
type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
11981
11988
|
// ----- vue/comma-spacing -----
|
|
11982
11989
|
type VueCommaSpacing = []|[{
|
|
11983
11990
|
before?: boolean
|
|
@@ -12110,14 +12117,14 @@ type VueHtmlQuotes = []|[("double" | "single")]|[("double" | "single"), {
|
|
|
12110
12117
|
// ----- vue/html-self-closing -----
|
|
12111
12118
|
type VueHtmlSelfClosing = []|[{
|
|
12112
12119
|
html?: {
|
|
12113
|
-
normal?:
|
|
12114
|
-
void?:
|
|
12115
|
-
component?:
|
|
12120
|
+
normal?: _VueHtmlSelfClosingOptionValue
|
|
12121
|
+
void?: _VueHtmlSelfClosingOptionValue
|
|
12122
|
+
component?: _VueHtmlSelfClosingOptionValue
|
|
12116
12123
|
}
|
|
12117
|
-
svg?:
|
|
12118
|
-
math?:
|
|
12124
|
+
svg?: _VueHtmlSelfClosingOptionValue
|
|
12125
|
+
math?: _VueHtmlSelfClosingOptionValue
|
|
12119
12126
|
}]
|
|
12120
|
-
type
|
|
12127
|
+
type _VueHtmlSelfClosingOptionValue = ("always" | "never" | "any")
|
|
12121
12128
|
// ----- vue/key-spacing -----
|
|
12122
12129
|
type VueKeySpacing = []|[({
|
|
12123
12130
|
align?: (("colon" | "value") | {
|
|
@@ -13301,6 +13308,33 @@ interface OptionsComponentExts {
|
|
|
13301
13308
|
*/
|
|
13302
13309
|
componentExts?: string[];
|
|
13303
13310
|
}
|
|
13311
|
+
interface OptionsTypeScriptParserOptions {
|
|
13312
|
+
/**
|
|
13313
|
+
* Additional parser options for TypeScript.
|
|
13314
|
+
*/
|
|
13315
|
+
parserOptions?: Partial<ParserOptions>;
|
|
13316
|
+
/**
|
|
13317
|
+
* Glob patterns for files that should be type aware.
|
|
13318
|
+
* @default ['**\/*.{ts,tsx}']
|
|
13319
|
+
*/
|
|
13320
|
+
filesTypeAware?: string[];
|
|
13321
|
+
/**
|
|
13322
|
+
* Glob patterns for files that should not be type aware.
|
|
13323
|
+
* @default ['**\/*.md\/**', '**\/*.astro/*.ts']
|
|
13324
|
+
*/
|
|
13325
|
+
ignoresTypeAware?: string[];
|
|
13326
|
+
}
|
|
13327
|
+
interface OptionsTypeScriptWithTypes {
|
|
13328
|
+
/**
|
|
13329
|
+
* When this options is provided, type aware rules will be enabled.
|
|
13330
|
+
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
13331
|
+
*/
|
|
13332
|
+
tsconfigPath?: string;
|
|
13333
|
+
/**
|
|
13334
|
+
* Override type aware rules.
|
|
13335
|
+
*/
|
|
13336
|
+
overridesTypeAware?: TypedFlatConfigItem['rules'];
|
|
13337
|
+
}
|
|
13304
13338
|
interface OptionsOverrides {
|
|
13305
13339
|
overrides?: TypedFlatConfigItem['rules'];
|
|
13306
13340
|
}
|
|
@@ -13403,21 +13437,6 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
13403
13437
|
* @default auto-detect based on the process.env
|
|
13404
13438
|
*/
|
|
13405
13439
|
isInEditor?: boolean;
|
|
13406
|
-
/**
|
|
13407
|
-
* Provide overrides for rules for each integration.
|
|
13408
|
-
*
|
|
13409
|
-
* @deprecated use `overrides` option in each integration key instead
|
|
13410
|
-
*/
|
|
13411
|
-
overrides?: {
|
|
13412
|
-
stylistic?: TypedFlatConfigItem['rules'];
|
|
13413
|
-
javascript?: TypedFlatConfigItem['rules'];
|
|
13414
|
-
typescript?: TypedFlatConfigItem['rules'];
|
|
13415
|
-
test?: TypedFlatConfigItem['rules'];
|
|
13416
|
-
vue?: TypedFlatConfigItem['rules'];
|
|
13417
|
-
jsonc?: TypedFlatConfigItem['rules'];
|
|
13418
|
-
markdown?: TypedFlatConfigItem['rules'];
|
|
13419
|
-
yaml?: TypedFlatConfigItem['rules'];
|
|
13420
|
-
};
|
|
13421
13440
|
}
|
|
13422
13441
|
|
|
13423
13442
|
declare function config(options?: OptionsConfig, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | Linter.Config[]>[]): Promise<Linter.Config[]>;
|
|
@@ -13453,7 +13472,7 @@ declare function stylistic(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
|
13453
13472
|
|
|
13454
13473
|
declare function test(options?: OptionsIsInEditor & OptionsFiles & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
13455
13474
|
|
|
13456
|
-
declare function typescript(options?: OptionsFiles & OptionsOverrides & OptionsComponentExts & OptionsProjectType): TypedFlatConfigItem[]
|
|
13475
|
+
declare function typescript(options?: OptionsFiles & OptionsOverrides & OptionsComponentExts & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
|
|
13457
13476
|
|
|
13458
13477
|
declare function unicorn(): TypedFlatConfigItem[];
|
|
13459
13478
|
|
|
@@ -13483,18 +13502,18 @@ declare const GLOB_EXCLUDE: string[];
|
|
|
13483
13502
|
*/
|
|
13484
13503
|
declare function combine(...configs: Awaitable<Linter.Config | Linter.Config[]>[]): Promise<Linter.Config[]>;
|
|
13485
13504
|
declare function renameRules(rules: Record<string, any>, from: string, to: string): Record<string, any>;
|
|
13486
|
-
declare function clearPackageCache(): void;
|
|
13487
13505
|
declare function hasSomePackage(names: string[]): boolean;
|
|
13506
|
+
declare function isPackageInScope(name: string): boolean;
|
|
13488
13507
|
declare function findUp(file: string, cwd?: string, depth?: number): string | null;
|
|
13489
|
-
declare function packageExists(name: string): boolean;
|
|
13490
13508
|
declare function ensurePackages(packages: string[]): Promise<void>;
|
|
13491
13509
|
declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
13492
13510
|
default: infer U;
|
|
13493
13511
|
} ? U : T>;
|
|
13494
13512
|
declare function isInEditorEnv(): boolean;
|
|
13513
|
+
declare function isInGitHooksOrLintStaged(): boolean;
|
|
13495
13514
|
declare function spawnAsync(command: string, args?: readonly string[], options?: SpawnOptionsWithoutStdio): Promise<{
|
|
13496
13515
|
stdout: string;
|
|
13497
13516
|
stderr: string;
|
|
13498
13517
|
}>;
|
|
13499
13518
|
|
|
13500
|
-
export { GLOB_ALL_SRC, GLOB_EXCLUDE, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TS, GLOB_VUE, GLOB_YAML, type ResolvedOptions,
|
|
13519
|
+
export { GLOB_ALL_SRC, GLOB_EXCLUDE, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TS, GLOB_VUE, GLOB_YAML, type ResolvedOptions, combine, comments, config, config as default, ensurePackages, findUp, getOverrides, hasSomePackage, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, markdown, node, perfectionist, regexp, renameRules, resolveSubOptions, restrictedSyntaxJs, sortPackageJson, sortTsconfig, spawnAsync, stylistic, test, typescript, unicorn, unocss, vue, yaml };
|