@ivanmaxlogiudice/eslint-config 3.0.0-beta.2 → 3.0.0-beta.3
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 +11 -13
- package/dist/index.d.ts +181 -180
- package/package.json +11 -13
package/dist/cli.js
CHANGED
|
@@ -11,8 +11,8 @@ import c from "picocolors";
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@ivanmaxlogiudice/eslint-config",
|
|
14
|
-
version: "3.0.0-beta.
|
|
15
|
-
packageManager: "bun@1.1.
|
|
14
|
+
version: "3.0.0-beta.3",
|
|
15
|
+
packageManager: "bun@1.1.24",
|
|
16
16
|
description: "Personal ESLint config",
|
|
17
17
|
type: "module",
|
|
18
18
|
keywords: ["eslint-config"],
|
|
@@ -44,7 +44,7 @@ var package_default = {
|
|
|
44
44
|
build: "bun run typegen && tsup --format esm --clean --dts",
|
|
45
45
|
test: "vitest",
|
|
46
46
|
lint: "eslint . --fix",
|
|
47
|
-
typegen: "
|
|
47
|
+
typegen: "bun scripts/typegen.ts",
|
|
48
48
|
prepack: "bun run build",
|
|
49
49
|
release: "bumpp && npm publish",
|
|
50
50
|
typecheck: "tsc --noEmit"
|
|
@@ -87,12 +87,12 @@ var package_default = {
|
|
|
87
87
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
|
|
88
88
|
"@ivanmaxlogiudice/gitignore": "^0.0.2",
|
|
89
89
|
"@stylistic/eslint-plugin": "^2.6.2",
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^8.0
|
|
91
|
-
"@typescript-eslint/parser": "^8.0
|
|
92
|
-
"@vitest/eslint-plugin": "^1.0.
|
|
93
|
-
"eslint-plugin-antfu": "^2.3.
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
91
|
+
"@typescript-eslint/parser": "^8.1.0",
|
|
92
|
+
"@vitest/eslint-plugin": "^1.0.2",
|
|
93
|
+
"eslint-plugin-antfu": "^2.3.5",
|
|
94
94
|
"eslint-plugin-import-x": "^3.1.0",
|
|
95
|
-
"eslint-plugin-jsdoc": "^50.
|
|
95
|
+
"eslint-plugin-jsdoc": "^50.2.2",
|
|
96
96
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
97
97
|
"eslint-plugin-n": "^17.10.2",
|
|
98
98
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
@@ -107,13 +107,12 @@ var package_default = {
|
|
|
107
107
|
devDependencies: {
|
|
108
108
|
"@eslint/config-inspector": "^0.5.2",
|
|
109
109
|
"@stylistic/eslint-plugin-migrate": "^2.6.2",
|
|
110
|
-
"@types/bun": "^1.1.6",
|
|
111
110
|
"@types/eslint": "^9.6.0",
|
|
112
|
-
"@types/node": "^22.
|
|
111
|
+
"@types/node": "^22.3.0",
|
|
113
112
|
"@types/yargs": "^17.0.33",
|
|
114
|
-
"@unocss/eslint-plugin": "^0.
|
|
113
|
+
"@unocss/eslint-plugin": "^0.62.1",
|
|
115
114
|
bumpp: "^9.5.1",
|
|
116
|
-
"bun-types": "^1.1.
|
|
115
|
+
"bun-types": "^1.1.24",
|
|
117
116
|
"bundle-require": "^5.0.0",
|
|
118
117
|
eslint: "^9.9.0",
|
|
119
118
|
"eslint-plugin-markdown": "^5.1.0",
|
|
@@ -121,7 +120,6 @@ var package_default = {
|
|
|
121
120
|
"eslint-plugin-vue": "^9.27.0",
|
|
122
121
|
"eslint-plugin-yml": "^1.14.0",
|
|
123
122
|
"eslint-typegen": "^0.3.0",
|
|
124
|
-
esno: "^4.7.0",
|
|
125
123
|
tsup: "^8.2.4",
|
|
126
124
|
typescript: "^5.5.4",
|
|
127
125
|
unbuild: "^2.0.0",
|
package/dist/index.d.ts
CHANGED
|
@@ -4148,7 +4148,7 @@ interface RuleOptions {
|
|
|
4148
4148
|
*/
|
|
4149
4149
|
'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
4150
4150
|
/**
|
|
4151
|
-
* Disallow type parameters that
|
|
4151
|
+
* Disallow type parameters that aren't used multiple times
|
|
4152
4152
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
4153
4153
|
*/
|
|
4154
4154
|
'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
|
|
@@ -6578,11 +6578,11 @@ type ArrayCallbackReturn = []|[{
|
|
|
6578
6578
|
allowVoid?: boolean
|
|
6579
6579
|
}]
|
|
6580
6580
|
// ----- array-element-newline -----
|
|
6581
|
-
type ArrayElementNewline = []|[(
|
|
6582
|
-
ArrayExpression?:
|
|
6583
|
-
ArrayPattern?:
|
|
6581
|
+
type ArrayElementNewline = []|[(_ArrayElementNewline_basicConfig | {
|
|
6582
|
+
ArrayExpression?: _ArrayElementNewline_basicConfig
|
|
6583
|
+
ArrayPattern?: _ArrayElementNewline_basicConfig
|
|
6584
6584
|
})]
|
|
6585
|
-
type
|
|
6585
|
+
type _ArrayElementNewline_basicConfig = (("always" | "never" | "consistent") | {
|
|
6586
6586
|
multiline?: boolean
|
|
6587
6587
|
minItems?: (number | null)
|
|
6588
6588
|
})
|
|
@@ -6639,15 +6639,15 @@ type ClassMethodsUseThis = []|[{
|
|
|
6639
6639
|
enforceForClassFields?: boolean
|
|
6640
6640
|
}]
|
|
6641
6641
|
// ----- comma-dangle -----
|
|
6642
|
-
type CommaDangle = []|[(
|
|
6643
|
-
arrays?:
|
|
6644
|
-
objects?:
|
|
6645
|
-
imports?:
|
|
6646
|
-
exports?:
|
|
6647
|
-
functions?:
|
|
6642
|
+
type CommaDangle = []|[(_CommaDangle_value | {
|
|
6643
|
+
arrays?: _CommaDangle_valueWithIgnore
|
|
6644
|
+
objects?: _CommaDangle_valueWithIgnore
|
|
6645
|
+
imports?: _CommaDangle_valueWithIgnore
|
|
6646
|
+
exports?: _CommaDangle_valueWithIgnore
|
|
6647
|
+
functions?: _CommaDangle_valueWithIgnore
|
|
6648
6648
|
})]
|
|
6649
|
-
type
|
|
6650
|
-
type
|
|
6649
|
+
type _CommaDangle_value = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
6650
|
+
type _CommaDangle_valueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline")
|
|
6651
6651
|
// ----- comma-spacing -----
|
|
6652
6652
|
type CommaSpacing = []|[{
|
|
6653
6653
|
before?: boolean
|
|
@@ -6720,10 +6720,10 @@ type FuncNameMatching = ([]|[("always" | "never")]|[("always" | "never"), {
|
|
|
6720
6720
|
includeCommonJSModuleExports?: boolean
|
|
6721
6721
|
}])
|
|
6722
6722
|
// ----- func-names -----
|
|
6723
|
-
type FuncNames = []|[
|
|
6724
|
-
generators?:
|
|
6723
|
+
type FuncNames = []|[_FuncNames_value]|[_FuncNames_value, {
|
|
6724
|
+
generators?: _FuncNames_value
|
|
6725
6725
|
}]
|
|
6726
|
-
type
|
|
6726
|
+
type _FuncNames_value = ("always" | "as-needed" | "never")
|
|
6727
6727
|
// ----- func-style -----
|
|
6728
6728
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
6729
6729
|
allowArrowFunctions?: boolean
|
|
@@ -7541,25 +7541,25 @@ type JsoncArrayBracketSpacing = []|[("always" | "never")]|[("always" | "never"),
|
|
|
7541
7541
|
arraysInArrays?: boolean
|
|
7542
7542
|
}]
|
|
7543
7543
|
// ----- jsonc/array-element-newline -----
|
|
7544
|
-
type JsoncArrayElementNewline = []|[(
|
|
7545
|
-
ArrayExpression?:
|
|
7546
|
-
JSONArrayExpression?:
|
|
7547
|
-
ArrayPattern?:
|
|
7544
|
+
type JsoncArrayElementNewline = []|[(_JsoncArrayElementNewline_basicConfig | {
|
|
7545
|
+
ArrayExpression?: _JsoncArrayElementNewline_basicConfig
|
|
7546
|
+
JSONArrayExpression?: _JsoncArrayElementNewline_basicConfig
|
|
7547
|
+
ArrayPattern?: _JsoncArrayElementNewline_basicConfig
|
|
7548
7548
|
})]
|
|
7549
|
-
type
|
|
7549
|
+
type _JsoncArrayElementNewline_basicConfig = (("always" | "never" | "consistent") | {
|
|
7550
7550
|
multiline?: boolean
|
|
7551
7551
|
minItems?: (number | null)
|
|
7552
7552
|
})
|
|
7553
7553
|
// ----- jsonc/comma-dangle -----
|
|
7554
|
-
type JsoncCommaDangle = []|[(
|
|
7555
|
-
arrays?:
|
|
7556
|
-
objects?:
|
|
7557
|
-
imports?:
|
|
7558
|
-
exports?:
|
|
7559
|
-
functions?:
|
|
7554
|
+
type JsoncCommaDangle = []|[(_JsoncCommaDangle_value | {
|
|
7555
|
+
arrays?: _JsoncCommaDangle_valueWithIgnore
|
|
7556
|
+
objects?: _JsoncCommaDangle_valueWithIgnore
|
|
7557
|
+
imports?: _JsoncCommaDangle_valueWithIgnore
|
|
7558
|
+
exports?: _JsoncCommaDangle_valueWithIgnore
|
|
7559
|
+
functions?: _JsoncCommaDangle_valueWithIgnore
|
|
7560
7560
|
})]
|
|
7561
|
-
type
|
|
7562
|
-
type
|
|
7561
|
+
type _JsoncCommaDangle_value = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
7562
|
+
type _JsoncCommaDangle_valueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline")
|
|
7563
7563
|
// ----- jsonc/comma-style -----
|
|
7564
7564
|
type JsoncCommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
7565
7565
|
exceptions?: {
|
|
@@ -9018,12 +9018,12 @@ type PaddedBlocks = []|[(("always" | "never") | {
|
|
|
9018
9018
|
allowSingleLineBlocks?: boolean
|
|
9019
9019
|
}]
|
|
9020
9020
|
// ----- padding-line-between-statements -----
|
|
9021
|
-
type
|
|
9022
|
-
type
|
|
9021
|
+
type _PaddingLineBetweenStatements_paddingType = ("any" | "never" | "always")
|
|
9022
|
+
type _PaddingLineBetweenStatements_statementType = (("*" | "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
9023
|
type PaddingLineBetweenStatements = {
|
|
9024
|
-
blankLine:
|
|
9025
|
-
prev:
|
|
9026
|
-
next:
|
|
9024
|
+
blankLine: _PaddingLineBetweenStatements_paddingType
|
|
9025
|
+
prev: _PaddingLineBetweenStatements_statementType
|
|
9026
|
+
next: _PaddingLineBetweenStatements_statementType
|
|
9027
9027
|
}[]
|
|
9028
9028
|
// ----- perfectionist/sort-array-includes -----
|
|
9029
9029
|
type PerfectionistSortArrayIncludes = []|[{
|
|
@@ -9586,11 +9586,11 @@ type StyleArrayBracketSpacing = []|[("always" | "never")]|[("always" | "never"),
|
|
|
9586
9586
|
arraysInArrays?: boolean
|
|
9587
9587
|
}]
|
|
9588
9588
|
// ----- style/array-element-newline -----
|
|
9589
|
-
type StyleArrayElementNewline = []|[(
|
|
9590
|
-
ArrayExpression?:
|
|
9591
|
-
ArrayPattern?:
|
|
9589
|
+
type StyleArrayElementNewline = []|[(_StyleArrayElementNewline_basicConfig | {
|
|
9590
|
+
ArrayExpression?: _StyleArrayElementNewline_basicConfig
|
|
9591
|
+
ArrayPattern?: _StyleArrayElementNewline_basicConfig
|
|
9592
9592
|
})]
|
|
9593
|
-
type
|
|
9593
|
+
type _StyleArrayElementNewline_basicConfig = (("always" | "never" | "consistent") | {
|
|
9594
9594
|
consistent?: boolean
|
|
9595
9595
|
multiline?: boolean
|
|
9596
9596
|
minItems?: (number | null)
|
|
@@ -9611,18 +9611,18 @@ type StyleBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "strou
|
|
|
9611
9611
|
allowSingleLine?: boolean
|
|
9612
9612
|
}]
|
|
9613
9613
|
// ----- style/comma-dangle -----
|
|
9614
|
-
type StyleCommaDangle = []|[(
|
|
9615
|
-
arrays?:
|
|
9616
|
-
objects?:
|
|
9617
|
-
imports?:
|
|
9618
|
-
exports?:
|
|
9619
|
-
functions?:
|
|
9620
|
-
enums?:
|
|
9621
|
-
generics?:
|
|
9622
|
-
tuples?:
|
|
9614
|
+
type StyleCommaDangle = []|[(_StyleCommaDangle_value | {
|
|
9615
|
+
arrays?: _StyleCommaDangle_valueWithIgnore
|
|
9616
|
+
objects?: _StyleCommaDangle_valueWithIgnore
|
|
9617
|
+
imports?: _StyleCommaDangle_valueWithIgnore
|
|
9618
|
+
exports?: _StyleCommaDangle_valueWithIgnore
|
|
9619
|
+
functions?: _StyleCommaDangle_valueWithIgnore
|
|
9620
|
+
enums?: _StyleCommaDangle_valueWithIgnore
|
|
9621
|
+
generics?: _StyleCommaDangle_valueWithIgnore
|
|
9622
|
+
tuples?: _StyleCommaDangle_valueWithIgnore
|
|
9623
9623
|
})]
|
|
9624
|
-
type
|
|
9625
|
-
type
|
|
9624
|
+
type _StyleCommaDangle_value = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
9625
|
+
type _StyleCommaDangle_valueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
9626
9626
|
// ----- style/comma-spacing -----
|
|
9627
9627
|
type StyleCommaSpacing = []|[{
|
|
9628
9628
|
before?: boolean
|
|
@@ -9729,12 +9729,12 @@ type StyleJsxCurlyNewline = []|[(("consistent" | "never") | {
|
|
|
9729
9729
|
})]
|
|
9730
9730
|
// ----- style/jsx-curly-spacing -----
|
|
9731
9731
|
type StyleJsxCurlySpacing = []|[((_StyleJsxCurlySpacing_BasicConfig & {
|
|
9732
|
-
attributes?:
|
|
9733
|
-
children?:
|
|
9732
|
+
attributes?: _StyleJsxCurlySpacing_basicConfigOrBoolean
|
|
9733
|
+
children?: _StyleJsxCurlySpacing_basicConfigOrBoolean
|
|
9734
9734
|
[k: string]: unknown | undefined
|
|
9735
9735
|
}) | ("always" | "never"))]|[((_StyleJsxCurlySpacing_BasicConfig & {
|
|
9736
|
-
attributes?:
|
|
9737
|
-
children?:
|
|
9736
|
+
attributes?: _StyleJsxCurlySpacing_basicConfigOrBoolean
|
|
9737
|
+
children?: _StyleJsxCurlySpacing_basicConfigOrBoolean
|
|
9738
9738
|
[k: string]: unknown | undefined
|
|
9739
9739
|
}) | ("always" | "never")), {
|
|
9740
9740
|
allowMultiline?: boolean
|
|
@@ -9743,7 +9743,7 @@ type StyleJsxCurlySpacing = []|[((_StyleJsxCurlySpacing_BasicConfig & {
|
|
|
9743
9743
|
[k: string]: unknown | undefined
|
|
9744
9744
|
}
|
|
9745
9745
|
}]
|
|
9746
|
-
type
|
|
9746
|
+
type _StyleJsxCurlySpacing_basicConfigOrBoolean = (_StyleJsxCurlySpacing_BasicConfig | boolean)
|
|
9747
9747
|
interface _StyleJsxCurlySpacing_BasicConfig {
|
|
9748
9748
|
when?: ("always" | "never")
|
|
9749
9749
|
allowMultiline?: boolean
|
|
@@ -10463,12 +10463,12 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
10463
10463
|
allowSingleLineBlocks?: boolean
|
|
10464
10464
|
}]
|
|
10465
10465
|
// ----- style/padding-line-between-statements -----
|
|
10466
|
-
type
|
|
10467
|
-
type
|
|
10466
|
+
type _StylePaddingLineBetweenStatements_paddingType = ("any" | "never" | "always")
|
|
10467
|
+
type _StylePaddingLineBetweenStatements_statementType = (("*" | "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" | "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" | "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" | "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
10468
|
type StylePaddingLineBetweenStatements = {
|
|
10469
|
-
blankLine:
|
|
10470
|
-
prev:
|
|
10471
|
-
next:
|
|
10469
|
+
blankLine: _StylePaddingLineBetweenStatements_paddingType
|
|
10470
|
+
prev: _StylePaddingLineBetweenStatements_statementType
|
|
10471
|
+
next: _StylePaddingLineBetweenStatements_statementType
|
|
10472
10472
|
}[]
|
|
10473
10473
|
// ----- style/quote-props -----
|
|
10474
10474
|
type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
@@ -10837,28 +10837,28 @@ type TsMemberOrdering = []|[{
|
|
|
10837
10837
|
// ----- ts/method-signature-style -----
|
|
10838
10838
|
type TsMethodSignatureStyle = []|[("property" | "method")]
|
|
10839
10839
|
// ----- ts/naming-convention -----
|
|
10840
|
-
type
|
|
10841
|
-
type
|
|
10842
|
-
type
|
|
10840
|
+
type _TsNamingConvention_formatOptionsConfig = (_TsNamingConvention_predefinedFormats[] | null)
|
|
10841
|
+
type _TsNamingConvention_predefinedFormats = ("camelCase" | "strictCamelCase" | "PascalCase" | "StrictPascalCase" | "snake_case" | "UPPER_CASE")
|
|
10842
|
+
type _TsNamingConvention_underscoreOptions = ("forbid" | "allow" | "require" | "requireDouble" | "allowDouble" | "allowSingleOrDouble")
|
|
10843
10843
|
type _TsNamingConvention_PrefixSuffixConfig = string[]
|
|
10844
|
-
type
|
|
10844
|
+
type _TsNamingConvention_typeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
10845
10845
|
type TsNamingConvention = ({
|
|
10846
|
-
format:
|
|
10846
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10847
10847
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10848
|
-
leadingUnderscore?:
|
|
10849
|
-
trailingUnderscore?:
|
|
10848
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10849
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10850
10850
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10851
10851
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10852
10852
|
failureMessage?: string
|
|
10853
10853
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10854
10854
|
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
10855
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
10856
|
-
types?:
|
|
10856
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
10857
10857
|
} | {
|
|
10858
|
-
format:
|
|
10858
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10859
10859
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10860
|
-
leadingUnderscore?:
|
|
10861
|
-
trailingUnderscore?:
|
|
10860
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10861
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10862
10862
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10863
10863
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10864
10864
|
failureMessage?: string
|
|
@@ -10866,10 +10866,10 @@ type TsNamingConvention = ({
|
|
|
10866
10866
|
selector: "default"
|
|
10867
10867
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
10868
10868
|
} | {
|
|
10869
|
-
format:
|
|
10869
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10870
10870
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10871
|
-
leadingUnderscore?:
|
|
10872
|
-
trailingUnderscore?:
|
|
10871
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10872
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10873
10873
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10874
10874
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10875
10875
|
failureMessage?: string
|
|
@@ -10877,22 +10877,22 @@ type TsNamingConvention = ({
|
|
|
10877
10877
|
selector: "variableLike"
|
|
10878
10878
|
modifiers?: ("unused" | "async")[]
|
|
10879
10879
|
} | {
|
|
10880
|
-
format:
|
|
10880
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10881
10881
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10882
|
-
leadingUnderscore?:
|
|
10883
|
-
trailingUnderscore?:
|
|
10882
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10883
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10884
10884
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10885
10885
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10886
10886
|
failureMessage?: string
|
|
10887
10887
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10888
10888
|
selector: "variable"
|
|
10889
10889
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
10890
|
-
types?:
|
|
10890
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
10891
10891
|
} | {
|
|
10892
|
-
format:
|
|
10892
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10893
10893
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10894
|
-
leadingUnderscore?:
|
|
10895
|
-
trailingUnderscore?:
|
|
10894
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10895
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10896
10896
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10897
10897
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10898
10898
|
failureMessage?: string
|
|
@@ -10900,22 +10900,22 @@ type TsNamingConvention = ({
|
|
|
10900
10900
|
selector: "function"
|
|
10901
10901
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
10902
10902
|
} | {
|
|
10903
|
-
format:
|
|
10903
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10904
10904
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10905
|
-
leadingUnderscore?:
|
|
10906
|
-
trailingUnderscore?:
|
|
10905
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10906
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10907
10907
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10908
10908
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10909
10909
|
failureMessage?: string
|
|
10910
10910
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10911
10911
|
selector: "parameter"
|
|
10912
10912
|
modifiers?: ("destructured" | "unused")[]
|
|
10913
|
-
types?:
|
|
10913
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
10914
10914
|
} | {
|
|
10915
|
-
format:
|
|
10915
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10916
10916
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10917
|
-
leadingUnderscore?:
|
|
10918
|
-
trailingUnderscore?:
|
|
10917
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10918
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10919
10919
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10920
10920
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10921
10921
|
failureMessage?: string
|
|
@@ -10923,70 +10923,70 @@ type TsNamingConvention = ({
|
|
|
10923
10923
|
selector: "memberLike"
|
|
10924
10924
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
10925
10925
|
} | {
|
|
10926
|
-
format:
|
|
10926
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10927
10927
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10928
|
-
leadingUnderscore?:
|
|
10929
|
-
trailingUnderscore?:
|
|
10928
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10929
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10930
10930
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10931
10931
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10932
10932
|
failureMessage?: string
|
|
10933
10933
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10934
10934
|
selector: "classProperty"
|
|
10935
10935
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
10936
|
-
types?:
|
|
10936
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
10937
10937
|
} | {
|
|
10938
|
-
format:
|
|
10938
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10939
10939
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10940
|
-
leadingUnderscore?:
|
|
10941
|
-
trailingUnderscore?:
|
|
10940
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10941
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10942
10942
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10943
10943
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10944
10944
|
failureMessage?: string
|
|
10945
10945
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10946
10946
|
selector: "objectLiteralProperty"
|
|
10947
10947
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
10948
|
-
types?:
|
|
10948
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
10949
10949
|
} | {
|
|
10950
|
-
format:
|
|
10950
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10951
10951
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10952
|
-
leadingUnderscore?:
|
|
10953
|
-
trailingUnderscore?:
|
|
10952
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10953
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10954
10954
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10955
10955
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10956
10956
|
failureMessage?: string
|
|
10957
10957
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10958
10958
|
selector: "typeProperty"
|
|
10959
10959
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
10960
|
-
types?:
|
|
10960
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
10961
10961
|
} | {
|
|
10962
|
-
format:
|
|
10962
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10963
10963
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10964
|
-
leadingUnderscore?:
|
|
10965
|
-
trailingUnderscore?:
|
|
10964
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10965
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10966
10966
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10967
10967
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10968
10968
|
failureMessage?: string
|
|
10969
10969
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10970
10970
|
selector: "parameterProperty"
|
|
10971
10971
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
10972
|
-
types?:
|
|
10972
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
10973
10973
|
} | {
|
|
10974
|
-
format:
|
|
10974
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10975
10975
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10976
|
-
leadingUnderscore?:
|
|
10977
|
-
trailingUnderscore?:
|
|
10976
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10977
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10978
10978
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10979
10979
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10980
10980
|
failureMessage?: string
|
|
10981
10981
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
10982
10982
|
selector: "property"
|
|
10983
10983
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
10984
|
-
types?:
|
|
10984
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
10985
10985
|
} | {
|
|
10986
|
-
format:
|
|
10986
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10987
10987
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10988
|
-
leadingUnderscore?:
|
|
10989
|
-
trailingUnderscore?:
|
|
10988
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10989
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
10990
10990
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10991
10991
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
10992
10992
|
failureMessage?: string
|
|
@@ -10994,10 +10994,10 @@ type TsNamingConvention = ({
|
|
|
10994
10994
|
selector: "classMethod"
|
|
10995
10995
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
10996
10996
|
} | {
|
|
10997
|
-
format:
|
|
10997
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
10998
10998
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
10999
|
-
leadingUnderscore?:
|
|
11000
|
-
trailingUnderscore?:
|
|
10999
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11000
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11001
11001
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11002
11002
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11003
11003
|
failureMessage?: string
|
|
@@ -11005,10 +11005,10 @@ type TsNamingConvention = ({
|
|
|
11005
11005
|
selector: "objectLiteralMethod"
|
|
11006
11006
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
11007
11007
|
} | {
|
|
11008
|
-
format:
|
|
11008
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11009
11009
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11010
|
-
leadingUnderscore?:
|
|
11011
|
-
trailingUnderscore?:
|
|
11010
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11011
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11012
11012
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11013
11013
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11014
11014
|
failureMessage?: string
|
|
@@ -11016,10 +11016,10 @@ type TsNamingConvention = ({
|
|
|
11016
11016
|
selector: "typeMethod"
|
|
11017
11017
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
11018
11018
|
} | {
|
|
11019
|
-
format:
|
|
11019
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11020
11020
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11021
|
-
leadingUnderscore?:
|
|
11022
|
-
trailingUnderscore?:
|
|
11021
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11022
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11023
11023
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11024
11024
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11025
11025
|
failureMessage?: string
|
|
@@ -11027,46 +11027,46 @@ type TsNamingConvention = ({
|
|
|
11027
11027
|
selector: "method"
|
|
11028
11028
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
11029
11029
|
} | {
|
|
11030
|
-
format:
|
|
11030
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11031
11031
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11032
|
-
leadingUnderscore?:
|
|
11033
|
-
trailingUnderscore?:
|
|
11032
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11033
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11034
11034
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11035
11035
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11036
11036
|
failureMessage?: string
|
|
11037
11037
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
11038
11038
|
selector: "classicAccessor"
|
|
11039
11039
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
11040
|
-
types?:
|
|
11040
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
11041
11041
|
} | {
|
|
11042
|
-
format:
|
|
11042
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11043
11043
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11044
|
-
leadingUnderscore?:
|
|
11045
|
-
trailingUnderscore?:
|
|
11044
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11045
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11046
11046
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11047
11047
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11048
11048
|
failureMessage?: string
|
|
11049
11049
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
11050
11050
|
selector: "autoAccessor"
|
|
11051
11051
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
11052
|
-
types?:
|
|
11052
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
11053
11053
|
} | {
|
|
11054
|
-
format:
|
|
11054
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11055
11055
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11056
|
-
leadingUnderscore?:
|
|
11057
|
-
trailingUnderscore?:
|
|
11056
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11057
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11058
11058
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11059
11059
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11060
11060
|
failureMessage?: string
|
|
11061
11061
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
11062
11062
|
selector: "accessor"
|
|
11063
11063
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
11064
|
-
types?:
|
|
11064
|
+
types?: _TsNamingConvention_typeModifiers[]
|
|
11065
11065
|
} | {
|
|
11066
|
-
format:
|
|
11066
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11067
11067
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11068
|
-
leadingUnderscore?:
|
|
11069
|
-
trailingUnderscore?:
|
|
11068
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11069
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11070
11070
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11071
11071
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11072
11072
|
failureMessage?: string
|
|
@@ -11074,10 +11074,10 @@ type TsNamingConvention = ({
|
|
|
11074
11074
|
selector: "enumMember"
|
|
11075
11075
|
modifiers?: ("requiresQuotes")[]
|
|
11076
11076
|
} | {
|
|
11077
|
-
format:
|
|
11077
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11078
11078
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11079
|
-
leadingUnderscore?:
|
|
11080
|
-
trailingUnderscore?:
|
|
11079
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11080
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11081
11081
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11082
11082
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11083
11083
|
failureMessage?: string
|
|
@@ -11085,10 +11085,10 @@ type TsNamingConvention = ({
|
|
|
11085
11085
|
selector: "typeLike"
|
|
11086
11086
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
11087
11087
|
} | {
|
|
11088
|
-
format:
|
|
11088
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11089
11089
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11090
|
-
leadingUnderscore?:
|
|
11091
|
-
trailingUnderscore?:
|
|
11090
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11091
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11092
11092
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11093
11093
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11094
11094
|
failureMessage?: string
|
|
@@ -11096,10 +11096,10 @@ type TsNamingConvention = ({
|
|
|
11096
11096
|
selector: "class"
|
|
11097
11097
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
11098
11098
|
} | {
|
|
11099
|
-
format:
|
|
11099
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11100
11100
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11101
|
-
leadingUnderscore?:
|
|
11102
|
-
trailingUnderscore?:
|
|
11101
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11102
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11103
11103
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11104
11104
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11105
11105
|
failureMessage?: string
|
|
@@ -11107,10 +11107,10 @@ type TsNamingConvention = ({
|
|
|
11107
11107
|
selector: "interface"
|
|
11108
11108
|
modifiers?: ("exported" | "unused")[]
|
|
11109
11109
|
} | {
|
|
11110
|
-
format:
|
|
11110
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11111
11111
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11112
|
-
leadingUnderscore?:
|
|
11113
|
-
trailingUnderscore?:
|
|
11112
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11113
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11114
11114
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11115
11115
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11116
11116
|
failureMessage?: string
|
|
@@ -11118,10 +11118,10 @@ type TsNamingConvention = ({
|
|
|
11118
11118
|
selector: "typeAlias"
|
|
11119
11119
|
modifiers?: ("exported" | "unused")[]
|
|
11120
11120
|
} | {
|
|
11121
|
-
format:
|
|
11121
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11122
11122
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11123
|
-
leadingUnderscore?:
|
|
11124
|
-
trailingUnderscore?:
|
|
11123
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11124
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11125
11125
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11126
11126
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11127
11127
|
failureMessage?: string
|
|
@@ -11129,10 +11129,10 @@ type TsNamingConvention = ({
|
|
|
11129
11129
|
selector: "enum"
|
|
11130
11130
|
modifiers?: ("exported" | "unused")[]
|
|
11131
11131
|
} | {
|
|
11132
|
-
format:
|
|
11132
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11133
11133
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11134
|
-
leadingUnderscore?:
|
|
11135
|
-
trailingUnderscore?:
|
|
11134
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11135
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11136
11136
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11137
11137
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11138
11138
|
failureMessage?: string
|
|
@@ -11140,10 +11140,10 @@ type TsNamingConvention = ({
|
|
|
11140
11140
|
selector: "typeParameter"
|
|
11141
11141
|
modifiers?: ("unused")[]
|
|
11142
11142
|
} | {
|
|
11143
|
-
format:
|
|
11143
|
+
format: _TsNamingConvention_formatOptionsConfig
|
|
11144
11144
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11145
|
-
leadingUnderscore?:
|
|
11146
|
-
trailingUnderscore?:
|
|
11145
|
+
leadingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11146
|
+
trailingUnderscore?: _TsNamingConvention_underscoreOptions
|
|
11147
11147
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11148
11148
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11149
11149
|
failureMessage?: string
|
|
@@ -11271,6 +11271,7 @@ type TsNoMisusedPromises = []|[{
|
|
|
11271
11271
|
checksVoidReturn?: (boolean | {
|
|
11272
11272
|
arguments?: boolean
|
|
11273
11273
|
attributes?: boolean
|
|
11274
|
+
inheritedMethods?: boolean
|
|
11274
11275
|
properties?: boolean
|
|
11275
11276
|
returns?: boolean
|
|
11276
11277
|
variables?: boolean
|
|
@@ -11697,9 +11698,9 @@ type UnicornImportStyle = []|[{
|
|
|
11697
11698
|
extendDefaultStyles?: boolean
|
|
11698
11699
|
styles?: _UnicornImportStyle_ModuleStyles
|
|
11699
11700
|
}]
|
|
11700
|
-
type
|
|
11701
|
+
type _UnicornImportStyle_styles = (false | _UnicornImportStyle_BooleanObject) | undefined
|
|
11701
11702
|
interface _UnicornImportStyle_ModuleStyles {
|
|
11702
|
-
[k: string]:
|
|
11703
|
+
[k: string]: _UnicornImportStyle_styles | undefined
|
|
11703
11704
|
}
|
|
11704
11705
|
interface _UnicornImportStyle_BooleanObject {
|
|
11705
11706
|
[k: string]: boolean | undefined
|
|
@@ -11817,9 +11818,9 @@ type UnicornPreventAbbreviations = []|[{
|
|
|
11817
11818
|
allowList?: _UnicornPreventAbbreviations_BooleanObject
|
|
11818
11819
|
ignore?: unknown[]
|
|
11819
11820
|
}]
|
|
11820
|
-
type
|
|
11821
|
+
type _UnicornPreventAbbreviations_replacements = (false | _UnicornPreventAbbreviations_BooleanObject) | undefined
|
|
11821
11822
|
interface _UnicornPreventAbbreviations_Abbreviations {
|
|
11822
|
-
[k: string]:
|
|
11823
|
+
[k: string]: _UnicornPreventAbbreviations_replacements | undefined
|
|
11823
11824
|
}
|
|
11824
11825
|
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
11825
11826
|
[k: string]: boolean | undefined
|
|
@@ -11898,11 +11899,11 @@ type VueArrayBracketSpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
11898
11899
|
arraysInArrays?: boolean
|
|
11899
11900
|
}]
|
|
11900
11901
|
// ----- vue/array-element-newline -----
|
|
11901
|
-
type VueArrayElementNewline = []|[(
|
|
11902
|
-
ArrayExpression?:
|
|
11903
|
-
ArrayPattern?:
|
|
11902
|
+
type VueArrayElementNewline = []|[(_VueArrayElementNewline_basicConfig | {
|
|
11903
|
+
ArrayExpression?: _VueArrayElementNewline_basicConfig
|
|
11904
|
+
ArrayPattern?: _VueArrayElementNewline_basicConfig
|
|
11904
11905
|
})]
|
|
11905
|
-
type
|
|
11906
|
+
type _VueArrayElementNewline_basicConfig = (("always" | "never" | "consistent") | {
|
|
11906
11907
|
consistent?: boolean
|
|
11907
11908
|
multiline?: boolean
|
|
11908
11909
|
minItems?: (number | null)
|
|
@@ -11965,18 +11966,18 @@ type VueCamelcase = []|[{
|
|
|
11965
11966
|
allow?: string[]
|
|
11966
11967
|
}]
|
|
11967
11968
|
// ----- vue/comma-dangle -----
|
|
11968
|
-
type VueCommaDangle = []|[(
|
|
11969
|
-
arrays?:
|
|
11970
|
-
objects?:
|
|
11971
|
-
imports?:
|
|
11972
|
-
exports?:
|
|
11973
|
-
functions?:
|
|
11974
|
-
enums?:
|
|
11975
|
-
generics?:
|
|
11976
|
-
tuples?:
|
|
11969
|
+
type VueCommaDangle = []|[(_VueCommaDangle_value | {
|
|
11970
|
+
arrays?: _VueCommaDangle_valueWithIgnore
|
|
11971
|
+
objects?: _VueCommaDangle_valueWithIgnore
|
|
11972
|
+
imports?: _VueCommaDangle_valueWithIgnore
|
|
11973
|
+
exports?: _VueCommaDangle_valueWithIgnore
|
|
11974
|
+
functions?: _VueCommaDangle_valueWithIgnore
|
|
11975
|
+
enums?: _VueCommaDangle_valueWithIgnore
|
|
11976
|
+
generics?: _VueCommaDangle_valueWithIgnore
|
|
11977
|
+
tuples?: _VueCommaDangle_valueWithIgnore
|
|
11977
11978
|
})]
|
|
11978
|
-
type
|
|
11979
|
-
type
|
|
11979
|
+
type _VueCommaDangle_value = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
11980
|
+
type _VueCommaDangle_valueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
11980
11981
|
// ----- vue/comma-spacing -----
|
|
11981
11982
|
type VueCommaSpacing = []|[{
|
|
11982
11983
|
before?: boolean
|
|
@@ -12109,14 +12110,14 @@ type VueHtmlQuotes = []|[("double" | "single")]|[("double" | "single"), {
|
|
|
12109
12110
|
// ----- vue/html-self-closing -----
|
|
12110
12111
|
type VueHtmlSelfClosing = []|[{
|
|
12111
12112
|
html?: {
|
|
12112
|
-
normal?:
|
|
12113
|
-
void?:
|
|
12114
|
-
component?:
|
|
12113
|
+
normal?: _VueHtmlSelfClosing_optionValue
|
|
12114
|
+
void?: _VueHtmlSelfClosing_optionValue
|
|
12115
|
+
component?: _VueHtmlSelfClosing_optionValue
|
|
12115
12116
|
}
|
|
12116
|
-
svg?:
|
|
12117
|
-
math?:
|
|
12117
|
+
svg?: _VueHtmlSelfClosing_optionValue
|
|
12118
|
+
math?: _VueHtmlSelfClosing_optionValue
|
|
12118
12119
|
}]
|
|
12119
|
-
type
|
|
12120
|
+
type _VueHtmlSelfClosing_optionValue = ("always" | "never" | "any")
|
|
12120
12121
|
// ----- vue/key-spacing -----
|
|
12121
12122
|
type VueKeySpacing = []|[({
|
|
12122
12123
|
align?: (("colon" | "value") | {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ivanmaxlogiudice/eslint-config",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
4
|
-
"packageManager": "bun@1.1.
|
|
3
|
+
"version": "3.0.0-beta.3",
|
|
4
|
+
"packageManager": "bun@1.1.24",
|
|
5
5
|
"description": "Personal ESLint config",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"keywords": ["eslint-config"],
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"build": "bun run typegen && tsup --format esm --clean --dts",
|
|
34
34
|
"test": "vitest",
|
|
35
35
|
"lint": "eslint . --fix",
|
|
36
|
-
"typegen": "
|
|
36
|
+
"typegen": "bun scripts/typegen.ts",
|
|
37
37
|
"prepack": "bun run build",
|
|
38
38
|
"release": "bumpp && npm publish",
|
|
39
39
|
"typecheck": "tsc --noEmit"
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
|
|
77
77
|
"@ivanmaxlogiudice/gitignore": "^0.0.2",
|
|
78
78
|
"@stylistic/eslint-plugin": "^2.6.2",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "^8.0
|
|
80
|
-
"@typescript-eslint/parser": "^8.0
|
|
81
|
-
"@vitest/eslint-plugin": "^1.0.
|
|
82
|
-
"eslint-plugin-antfu": "^2.3.
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
80
|
+
"@typescript-eslint/parser": "^8.1.0",
|
|
81
|
+
"@vitest/eslint-plugin": "^1.0.2",
|
|
82
|
+
"eslint-plugin-antfu": "^2.3.5",
|
|
83
83
|
"eslint-plugin-import-x": "^3.1.0",
|
|
84
|
-
"eslint-plugin-jsdoc": "^50.
|
|
84
|
+
"eslint-plugin-jsdoc": "^50.2.2",
|
|
85
85
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
86
86
|
"eslint-plugin-n": "^17.10.2",
|
|
87
87
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
@@ -96,13 +96,12 @@
|
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@eslint/config-inspector": "^0.5.2",
|
|
98
98
|
"@stylistic/eslint-plugin-migrate": "^2.6.2",
|
|
99
|
-
"@types/bun": "^1.1.6",
|
|
100
99
|
"@types/eslint": "^9.6.0",
|
|
101
|
-
"@types/node": "^22.
|
|
100
|
+
"@types/node": "^22.3.0",
|
|
102
101
|
"@types/yargs": "^17.0.33",
|
|
103
|
-
"@unocss/eslint-plugin": "^0.
|
|
102
|
+
"@unocss/eslint-plugin": "^0.62.1",
|
|
104
103
|
"bumpp": "^9.5.1",
|
|
105
|
-
"bun-types": "^1.1.
|
|
104
|
+
"bun-types": "^1.1.24",
|
|
106
105
|
"bundle-require": "^5.0.0",
|
|
107
106
|
"eslint": "^9.9.0",
|
|
108
107
|
"eslint-plugin-markdown": "^5.1.0",
|
|
@@ -110,7 +109,6 @@
|
|
|
110
109
|
"eslint-plugin-vue": "^9.27.0",
|
|
111
110
|
"eslint-plugin-yml": "^1.14.0",
|
|
112
111
|
"eslint-typegen": "^0.3.0",
|
|
113
|
-
"esno": "^4.7.0",
|
|
114
112
|
"tsup": "^8.2.4",
|
|
115
113
|
"typescript": "^5.5.4",
|
|
116
114
|
"unbuild": "^2.0.0",
|