@cany748/eslint-config 3.0.2 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +112 -81
- package/dist/index.d.cts +788 -437
- package/dist/index.d.ts +788 -437
- package/dist/index.js +107 -78
- package/package.json +34 -33
package/dist/index.d.cts
CHANGED
|
@@ -184,7 +184,7 @@ interface RuleOptions {
|
|
|
184
184
|
*/
|
|
185
185
|
'@typescript-eslint/no-array-delete'?: Linter.RuleEntry<[]>
|
|
186
186
|
/**
|
|
187
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
187
|
+
* Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
|
|
188
188
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
189
189
|
*/
|
|
190
190
|
'@typescript-eslint/no-base-to-string'?: Linter.RuleEntry<TypescriptEslintNoBaseToString>
|
|
@@ -202,7 +202,7 @@ interface RuleOptions {
|
|
|
202
202
|
* Disallow using code marked as `@deprecated`
|
|
203
203
|
* @see https://typescript-eslint.io/rules/no-deprecated
|
|
204
204
|
*/
|
|
205
|
-
'@typescript-eslint/no-deprecated'?: Linter.RuleEntry<
|
|
205
|
+
'@typescript-eslint/no-deprecated'?: Linter.RuleEntry<TypescriptEslintNoDeprecated>
|
|
206
206
|
/**
|
|
207
207
|
* Disallow duplicate class members
|
|
208
208
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -320,6 +320,11 @@ interface RuleOptions {
|
|
|
320
320
|
* @see https://typescript-eslint.io/rules/no-misused-promises
|
|
321
321
|
*/
|
|
322
322
|
'@typescript-eslint/no-misused-promises'?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>
|
|
323
|
+
/**
|
|
324
|
+
* Disallow using the spread operator when it might cause unexpected behavior
|
|
325
|
+
* @see https://typescript-eslint.io/rules/no-misused-spread
|
|
326
|
+
*/
|
|
327
|
+
'@typescript-eslint/no-misused-spread'?: Linter.RuleEntry<TypescriptEslintNoMisusedSpread>
|
|
323
328
|
/**
|
|
324
329
|
* Disallow enums from having both number and string members
|
|
325
330
|
* @see https://typescript-eslint.io/rules/no-mixed-enums
|
|
@@ -471,6 +476,11 @@ interface RuleOptions {
|
|
|
471
476
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
472
477
|
*/
|
|
473
478
|
'@typescript-eslint/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
479
|
+
/**
|
|
480
|
+
* Disallow type assertions that narrow a type
|
|
481
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
482
|
+
*/
|
|
483
|
+
'@typescript-eslint/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
474
484
|
/**
|
|
475
485
|
* Require unary negation to take a number
|
|
476
486
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -513,7 +523,7 @@ interface RuleOptions {
|
|
|
513
523
|
*/
|
|
514
524
|
'@typescript-eslint/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
515
525
|
/**
|
|
516
|
-
* Enforce non-null assertions over explicit type
|
|
526
|
+
* Enforce non-null assertions over explicit type assertions
|
|
517
527
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
518
528
|
*/
|
|
519
529
|
'@typescript-eslint/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
@@ -598,7 +608,7 @@ interface RuleOptions {
|
|
|
598
608
|
*/
|
|
599
609
|
'@typescript-eslint/prefer-readonly-parameter-types'?: Linter.RuleEntry<TypescriptEslintPreferReadonlyParameterTypes>
|
|
600
610
|
/**
|
|
601
|
-
* Enforce using type parameter when calling `Array#reduce` instead of
|
|
611
|
+
* Enforce using type parameter when calling `Array#reduce` instead of using a type assertion
|
|
602
612
|
* @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
|
|
603
613
|
*/
|
|
604
614
|
'@typescript-eslint/prefer-reduce-type-parameter'?: Linter.RuleEntry<[]>
|
|
@@ -628,6 +638,11 @@ interface RuleOptions {
|
|
|
628
638
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
629
639
|
*/
|
|
630
640
|
'@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>
|
|
641
|
+
/**
|
|
642
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
643
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
644
|
+
*/
|
|
645
|
+
'@typescript-eslint/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
631
646
|
/**
|
|
632
647
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
633
648
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -832,7 +847,7 @@ interface RuleOptions {
|
|
|
832
847
|
*/
|
|
833
848
|
'default-case'?: Linter.RuleEntry<DefaultCase>
|
|
834
849
|
/**
|
|
835
|
-
* Enforce default clauses in switch statements to be last
|
|
850
|
+
* Enforce `default` clauses in `switch` statements to be last
|
|
836
851
|
* @see https://eslint.org/docs/latest/rules/default-case-last
|
|
837
852
|
*/
|
|
838
853
|
'default-case-last'?: Linter.RuleEntry<[]>
|
|
@@ -864,7 +879,7 @@ interface RuleOptions {
|
|
|
864
879
|
*/
|
|
865
880
|
'eqeqeq'?: Linter.RuleEntry<Eqeqeq>
|
|
866
881
|
/**
|
|
867
|
-
* Enforce
|
|
882
|
+
* Enforce `for` loop update clause moving the counter in the right direction
|
|
868
883
|
* @see https://eslint.org/docs/latest/rules/for-direction
|
|
869
884
|
*/
|
|
870
885
|
'for-direction'?: Linter.RuleEntry<[]>
|
|
@@ -963,233 +978,233 @@ interface RuleOptions {
|
|
|
963
978
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
964
979
|
/**
|
|
965
980
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
966
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
981
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
|
|
967
982
|
*/
|
|
968
983
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
969
984
|
/**
|
|
970
985
|
* Ensure a default export is present, given a default import.
|
|
971
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
986
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
|
|
972
987
|
*/
|
|
973
988
|
'import/default'?: Linter.RuleEntry<[]>
|
|
974
989
|
/**
|
|
975
990
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
976
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
991
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
|
|
977
992
|
*/
|
|
978
993
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
979
994
|
/**
|
|
980
995
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
981
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
996
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
|
|
982
997
|
*/
|
|
983
998
|
'import/export'?: Linter.RuleEntry<[]>
|
|
984
999
|
/**
|
|
985
1000
|
* Ensure all exports appear after other statements.
|
|
986
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1001
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
|
|
987
1002
|
*/
|
|
988
1003
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
989
1004
|
/**
|
|
990
1005
|
* Ensure consistent use of file extension within the import path.
|
|
991
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1006
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
|
|
992
1007
|
*/
|
|
993
1008
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
994
1009
|
/**
|
|
995
1010
|
* Ensure all imports appear before other statements.
|
|
996
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1011
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
|
|
997
1012
|
*/
|
|
998
1013
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
999
1014
|
/**
|
|
1000
1015
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1001
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1016
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
|
|
1002
1017
|
*/
|
|
1003
1018
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1004
1019
|
/**
|
|
1005
1020
|
* Replaced by `import-x/first`.
|
|
1006
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1021
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
|
|
1007
1022
|
* @deprecated
|
|
1008
1023
|
*/
|
|
1009
1024
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1010
1025
|
/**
|
|
1011
1026
|
* Enforce the maximum number of dependencies a module can have.
|
|
1012
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1027
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
|
|
1013
1028
|
*/
|
|
1014
1029
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1015
1030
|
/**
|
|
1016
1031
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1017
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1032
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
|
|
1018
1033
|
*/
|
|
1019
1034
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1020
1035
|
/**
|
|
1021
1036
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1022
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1037
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
|
|
1023
1038
|
*/
|
|
1024
1039
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1025
1040
|
/**
|
|
1026
1041
|
* Enforce a newline after import statements.
|
|
1027
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1042
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
|
|
1028
1043
|
*/
|
|
1029
1044
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1030
1045
|
/**
|
|
1031
1046
|
* Forbid import of modules using absolute paths.
|
|
1032
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1047
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
|
|
1033
1048
|
*/
|
|
1034
1049
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1035
1050
|
/**
|
|
1036
1051
|
* Forbid AMD `require` and `define` calls.
|
|
1037
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1052
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
|
|
1038
1053
|
*/
|
|
1039
1054
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1040
1055
|
/**
|
|
1041
1056
|
* Forbid anonymous values as default exports.
|
|
1042
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1057
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
|
|
1043
1058
|
*/
|
|
1044
1059
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1045
1060
|
/**
|
|
1046
1061
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1047
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1062
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
|
|
1048
1063
|
*/
|
|
1049
1064
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1050
1065
|
/**
|
|
1051
1066
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1052
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1067
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
|
|
1053
1068
|
*/
|
|
1054
1069
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1055
1070
|
/**
|
|
1056
1071
|
* Forbid default exports.
|
|
1057
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1072
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
|
|
1058
1073
|
*/
|
|
1059
1074
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1060
1075
|
/**
|
|
1061
1076
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1062
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1077
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
|
|
1063
1078
|
*/
|
|
1064
1079
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1065
1080
|
/**
|
|
1066
1081
|
* Forbid repeated import of the same module in multiple places.
|
|
1067
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1082
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
|
|
1068
1083
|
*/
|
|
1069
1084
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1070
1085
|
/**
|
|
1071
1086
|
* Forbid `require()` calls with expressions.
|
|
1072
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1087
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
|
|
1073
1088
|
*/
|
|
1074
1089
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1075
1090
|
/**
|
|
1076
1091
|
* Forbid empty named import blocks.
|
|
1077
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1092
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
|
|
1078
1093
|
*/
|
|
1079
1094
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1080
1095
|
/**
|
|
1081
1096
|
* Forbid the use of extraneous packages.
|
|
1082
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1097
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
|
|
1083
1098
|
*/
|
|
1084
1099
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1085
1100
|
/**
|
|
1086
1101
|
* Forbid import statements with CommonJS module.exports.
|
|
1087
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1102
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
|
|
1088
1103
|
*/
|
|
1089
1104
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1090
1105
|
/**
|
|
1091
1106
|
* Forbid importing the submodules of other modules.
|
|
1092
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1107
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
|
|
1093
1108
|
*/
|
|
1094
1109
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1095
1110
|
/**
|
|
1096
1111
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1097
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1112
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
|
|
1098
1113
|
*/
|
|
1099
1114
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1100
1115
|
/**
|
|
1101
1116
|
* Forbid use of exported name as identifier of default export.
|
|
1102
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1117
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
|
|
1103
1118
|
*/
|
|
1104
1119
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1105
1120
|
/**
|
|
1106
1121
|
* Forbid use of exported name as property of default export.
|
|
1107
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1122
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
|
|
1108
1123
|
*/
|
|
1109
1124
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1110
1125
|
/**
|
|
1111
1126
|
* Forbid named default exports.
|
|
1112
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1127
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
|
|
1113
1128
|
*/
|
|
1114
1129
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1115
1130
|
/**
|
|
1116
1131
|
* Forbid named exports.
|
|
1117
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1132
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
|
|
1118
1133
|
*/
|
|
1119
1134
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1120
1135
|
/**
|
|
1121
1136
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1122
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1137
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
|
|
1123
1138
|
*/
|
|
1124
1139
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1125
1140
|
/**
|
|
1126
1141
|
* Forbid Node.js builtin modules.
|
|
1127
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1142
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
|
|
1128
1143
|
*/
|
|
1129
1144
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1130
1145
|
/**
|
|
1131
1146
|
* Forbid importing packages through relative paths.
|
|
1132
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1147
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
|
|
1133
1148
|
*/
|
|
1134
1149
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1135
1150
|
/**
|
|
1136
1151
|
* Forbid importing modules from parent directories.
|
|
1137
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1152
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
|
|
1138
1153
|
*/
|
|
1139
1154
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1140
1155
|
/**
|
|
1141
1156
|
* Forbid importing a default export by a different name.
|
|
1142
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1157
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
|
|
1143
1158
|
*/
|
|
1144
1159
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1145
1160
|
/**
|
|
1146
1161
|
* Enforce which files can be imported in a given folder.
|
|
1147
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1162
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
|
|
1148
1163
|
*/
|
|
1149
1164
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1150
1165
|
/**
|
|
1151
1166
|
* Forbid a module from importing itself.
|
|
1152
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1167
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
|
|
1153
1168
|
*/
|
|
1154
1169
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1155
1170
|
/**
|
|
1156
1171
|
* Forbid unassigned imports.
|
|
1157
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1172
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
|
|
1158
1173
|
*/
|
|
1159
1174
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1160
1175
|
/**
|
|
1161
1176
|
* Ensure imports point to a file/module that can be resolved.
|
|
1162
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1177
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
|
|
1163
1178
|
*/
|
|
1164
1179
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1165
1180
|
/**
|
|
1166
1181
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1167
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1182
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
|
|
1168
1183
|
*/
|
|
1169
1184
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1170
1185
|
/**
|
|
1171
1186
|
* Forbid unnecessary path segments in import and require statements.
|
|
1172
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1187
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
|
|
1173
1188
|
*/
|
|
1174
1189
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1175
1190
|
/**
|
|
1176
1191
|
* Forbid webpack loader syntax in imports.
|
|
1177
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1192
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
|
|
1178
1193
|
*/
|
|
1179
1194
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1180
1195
|
/**
|
|
1181
1196
|
* Enforce a convention in module import order.
|
|
1182
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1197
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
|
|
1183
1198
|
*/
|
|
1184
1199
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1185
1200
|
/**
|
|
1186
1201
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1187
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1202
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
|
|
1188
1203
|
*/
|
|
1189
1204
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1190
1205
|
/**
|
|
1191
1206
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1192
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1
|
|
1207
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
|
|
1193
1208
|
*/
|
|
1194
1209
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1195
1210
|
/**
|
|
@@ -1631,7 +1646,7 @@ interface RuleOptions {
|
|
|
1631
1646
|
* disallow the use of `process.env`
|
|
1632
1647
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
|
|
1633
1648
|
*/
|
|
1634
|
-
'n/no-process-env'?: Linter.RuleEntry<
|
|
1649
|
+
'n/no-process-env'?: Linter.RuleEntry<NNoProcessEnv>
|
|
1635
1650
|
/**
|
|
1636
1651
|
* disallow the use of `process.exit()`
|
|
1637
1652
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
|
|
@@ -1825,7 +1840,7 @@ interface RuleOptions {
|
|
|
1825
1840
|
*/
|
|
1826
1841
|
'no-class-assign'?: Linter.RuleEntry<[]>
|
|
1827
1842
|
/**
|
|
1828
|
-
* Disallow comparing against
|
|
1843
|
+
* Disallow comparing against `-0`
|
|
1829
1844
|
* @see https://eslint.org/docs/latest/rules/no-compare-neg-zero
|
|
1830
1845
|
*/
|
|
1831
1846
|
'no-compare-neg-zero'?: Linter.RuleEntry<[]>
|
|
@@ -2234,7 +2249,7 @@ interface RuleOptions {
|
|
|
2234
2249
|
*/
|
|
2235
2250
|
'no-octal-escape'?: Linter.RuleEntry<[]>
|
|
2236
2251
|
/**
|
|
2237
|
-
* Disallow reassigning
|
|
2252
|
+
* Disallow reassigning function parameters
|
|
2238
2253
|
* @see https://eslint.org/docs/latest/rules/no-param-reassign
|
|
2239
2254
|
*/
|
|
2240
2255
|
'no-param-reassign'?: Linter.RuleEntry<NoParamReassign>
|
|
@@ -2329,7 +2344,7 @@ interface RuleOptions {
|
|
|
2329
2344
|
*/
|
|
2330
2345
|
'no-return-await'?: Linter.RuleEntry<[]>
|
|
2331
2346
|
/**
|
|
2332
|
-
* Disallow `javascript:`
|
|
2347
|
+
* Disallow `javascript:` URLs
|
|
2333
2348
|
* @see https://eslint.org/docs/latest/rules/no-script-url
|
|
2334
2349
|
*/
|
|
2335
2350
|
'no-script-url'?: Linter.RuleEntry<[]>
|
|
@@ -2672,7 +2687,7 @@ interface RuleOptions {
|
|
|
2672
2687
|
*/
|
|
2673
2688
|
'prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
2674
2689
|
/**
|
|
2675
|
-
* Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead
|
|
2690
|
+
* Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead
|
|
2676
2691
|
* @see https://eslint.org/docs/latest/rules/prefer-object-spread
|
|
2677
2692
|
*/
|
|
2678
2693
|
'prefer-object-spread'?: Linter.RuleEntry<[]>
|
|
@@ -3149,10 +3164,10 @@ interface RuleOptions {
|
|
|
3149
3164
|
*/
|
|
3150
3165
|
'require-await'?: Linter.RuleEntry<[]>
|
|
3151
3166
|
/**
|
|
3152
|
-
* Enforce the use of `u` or `v` flag on
|
|
3167
|
+
* Enforce the use of `u` or `v` flag on regular expressions
|
|
3153
3168
|
* @see https://eslint.org/docs/latest/rules/require-unicode-regexp
|
|
3154
3169
|
*/
|
|
3155
|
-
'require-unicode-regexp'?: Linter.RuleEntry<
|
|
3170
|
+
'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
|
|
3156
3171
|
/**
|
|
3157
3172
|
* Require generator functions to contain `yield`
|
|
3158
3173
|
* @see https://eslint.org/docs/latest/rules/require-yield
|
|
@@ -3183,7 +3198,7 @@ interface RuleOptions {
|
|
|
3183
3198
|
*/
|
|
3184
3199
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3185
3200
|
/**
|
|
3186
|
-
* Enforce sorted import declarations within modules
|
|
3201
|
+
* Enforce sorted `import` declarations within modules
|
|
3187
3202
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
3188
3203
|
*/
|
|
3189
3204
|
'sort-imports'?: Linter.RuleEntry<SortImports>
|
|
@@ -3263,103 +3278,103 @@ interface RuleOptions {
|
|
|
3263
3278
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>
|
|
3264
3279
|
/**
|
|
3265
3280
|
* require .spec test file pattern
|
|
3266
|
-
* @see https://github.com/
|
|
3281
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
3267
3282
|
*/
|
|
3268
3283
|
'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>
|
|
3269
3284
|
/**
|
|
3270
3285
|
* enforce using test or it but not both
|
|
3271
|
-
* @see https://github.com/
|
|
3286
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
3272
3287
|
*/
|
|
3273
3288
|
'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>
|
|
3274
3289
|
/**
|
|
3275
3290
|
* enforce having expectation in test body
|
|
3276
|
-
* @see https://github.com/
|
|
3291
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
3277
3292
|
*/
|
|
3278
3293
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
|
|
3279
3294
|
/**
|
|
3280
3295
|
* enforce a maximum number of expect per test
|
|
3281
|
-
* @see https://github.com/
|
|
3296
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
3282
3297
|
*/
|
|
3283
3298
|
'test/max-expects'?: Linter.RuleEntry<TestMaxExpects>
|
|
3284
3299
|
/**
|
|
3285
3300
|
* require describe block to be less than set max value or default value
|
|
3286
|
-
* @see https://github.com/
|
|
3301
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
|
|
3287
3302
|
*/
|
|
3288
3303
|
'test/max-nested-describe'?: Linter.RuleEntry<TestMaxNestedDescribe>
|
|
3289
3304
|
/**
|
|
3290
3305
|
* disallow alias methods
|
|
3291
|
-
* @see https://github.com/
|
|
3306
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-alias-methods.md
|
|
3292
3307
|
*/
|
|
3293
3308
|
'test/no-alias-methods'?: Linter.RuleEntry<[]>
|
|
3294
3309
|
/**
|
|
3295
3310
|
* disallow commented out tests
|
|
3296
|
-
* @see https://github.com/
|
|
3311
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-commented-out-tests.md
|
|
3297
3312
|
*/
|
|
3298
3313
|
'test/no-commented-out-tests'?: Linter.RuleEntry<[]>
|
|
3299
3314
|
/**
|
|
3300
3315
|
* disallow conditional expects
|
|
3301
|
-
* @see https://github.com/
|
|
3316
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
|
|
3302
3317
|
*/
|
|
3303
3318
|
'test/no-conditional-expect'?: Linter.RuleEntry<[]>
|
|
3304
3319
|
/**
|
|
3305
3320
|
* disallow conditional tests
|
|
3306
|
-
* @see https://github.com/
|
|
3321
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
|
|
3307
3322
|
*/
|
|
3308
3323
|
'test/no-conditional-in-test'?: Linter.RuleEntry<[]>
|
|
3309
3324
|
/**
|
|
3310
3325
|
* disallow conditional tests
|
|
3311
|
-
* @see https://github.com/
|
|
3326
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-tests.md
|
|
3312
3327
|
*/
|
|
3313
3328
|
'test/no-conditional-tests'?: Linter.RuleEntry<[]>
|
|
3314
3329
|
/**
|
|
3315
3330
|
* disallow disabled tests
|
|
3316
|
-
* @see https://github.com/
|
|
3331
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-disabled-tests.md
|
|
3317
3332
|
*/
|
|
3318
3333
|
'test/no-disabled-tests'?: Linter.RuleEntry<[]>
|
|
3319
3334
|
/**
|
|
3320
3335
|
* disallow using a callback in asynchronous tests and hooks
|
|
3321
|
-
* @see https://github.com/
|
|
3336
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-done-callback.md
|
|
3322
3337
|
* @deprecated
|
|
3323
3338
|
*/
|
|
3324
3339
|
'test/no-done-callback'?: Linter.RuleEntry<[]>
|
|
3325
3340
|
/**
|
|
3326
3341
|
* disallow duplicate hooks and teardown hooks
|
|
3327
|
-
* @see https://github.com/
|
|
3342
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-duplicate-hooks.md
|
|
3328
3343
|
*/
|
|
3329
3344
|
'test/no-duplicate-hooks'?: Linter.RuleEntry<[]>
|
|
3330
3345
|
/**
|
|
3331
3346
|
* disallow focused tests
|
|
3332
|
-
* @see https://github.com/
|
|
3347
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
|
|
3333
3348
|
*/
|
|
3334
3349
|
'test/no-focused-tests'?: Linter.RuleEntry<TestNoFocusedTests>
|
|
3335
3350
|
/**
|
|
3336
3351
|
* disallow setup and teardown hooks
|
|
3337
|
-
* @see https://github.com/
|
|
3352
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
|
|
3338
3353
|
*/
|
|
3339
3354
|
'test/no-hooks'?: Linter.RuleEntry<TestNoHooks>
|
|
3340
3355
|
/**
|
|
3341
3356
|
* disallow identical titles
|
|
3342
|
-
* @see https://github.com/
|
|
3357
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
|
|
3343
3358
|
*/
|
|
3344
3359
|
'test/no-identical-title'?: Linter.RuleEntry<[]>
|
|
3345
3360
|
/**
|
|
3346
3361
|
* disallow importing `node:test`
|
|
3347
|
-
* @see https://github.com/
|
|
3362
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
3348
3363
|
*/
|
|
3349
3364
|
'test/no-import-node-test'?: Linter.RuleEntry<[]>
|
|
3350
3365
|
/**
|
|
3351
3366
|
* disallow string interpolation in snapshots
|
|
3352
|
-
* @see https://github.com/
|
|
3367
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
3353
3368
|
*/
|
|
3354
3369
|
'test/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>
|
|
3355
3370
|
/**
|
|
3356
3371
|
* disallow large snapshots
|
|
3357
|
-
* @see https://github.com/
|
|
3372
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
|
|
3358
3373
|
*/
|
|
3359
3374
|
'test/no-large-snapshots'?: Linter.RuleEntry<TestNoLargeSnapshots>
|
|
3360
3375
|
/**
|
|
3361
3376
|
* disallow importing from __mocks__ directory
|
|
3362
|
-
* @see https://github.com/
|
|
3377
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
|
|
3363
3378
|
*/
|
|
3364
3379
|
'test/no-mocks-import'?: Linter.RuleEntry<[]>
|
|
3365
3380
|
/**
|
|
@@ -3369,202 +3384,212 @@ interface RuleOptions {
|
|
|
3369
3384
|
'test/no-only-tests'?: Linter.RuleEntry<TestNoOnlyTests>
|
|
3370
3385
|
/**
|
|
3371
3386
|
* disallow the use of certain matchers
|
|
3372
|
-
* @see https://github.com/
|
|
3387
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
|
|
3373
3388
|
*/
|
|
3374
3389
|
'test/no-restricted-matchers'?: Linter.RuleEntry<TestNoRestrictedMatchers>
|
|
3375
3390
|
/**
|
|
3376
3391
|
* disallow specific `vi.` methods
|
|
3377
|
-
* @see https://github.com/
|
|
3392
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
|
|
3378
3393
|
*/
|
|
3379
3394
|
'test/no-restricted-vi-methods'?: Linter.RuleEntry<TestNoRestrictedViMethods>
|
|
3380
3395
|
/**
|
|
3381
3396
|
* disallow using `expect` outside of `it` or `test` blocks
|
|
3382
|
-
* @see https://github.com/
|
|
3397
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
|
|
3383
3398
|
*/
|
|
3384
3399
|
'test/no-standalone-expect'?: Linter.RuleEntry<TestNoStandaloneExpect>
|
|
3385
3400
|
/**
|
|
3386
3401
|
* disallow using `test` as a prefix
|
|
3387
|
-
* @see https://github.com/
|
|
3402
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
3388
3403
|
*/
|
|
3389
3404
|
'test/no-test-prefixes'?: Linter.RuleEntry<[]>
|
|
3390
3405
|
/**
|
|
3391
3406
|
* disallow return statements in tests
|
|
3392
|
-
* @see https://github.com/
|
|
3407
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
|
|
3393
3408
|
*/
|
|
3394
3409
|
'test/no-test-return-statement'?: Linter.RuleEntry<[]>
|
|
3395
3410
|
/**
|
|
3396
3411
|
* Enforce padding around `afterAll` blocks
|
|
3397
|
-
* @see https://github.com/
|
|
3412
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
|
|
3398
3413
|
*/
|
|
3399
3414
|
'test/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
|
|
3400
3415
|
/**
|
|
3401
3416
|
* Enforce padding around `afterEach` blocks
|
|
3402
|
-
* @see https://github.com/
|
|
3417
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md
|
|
3403
3418
|
*/
|
|
3404
3419
|
'test/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
|
|
3405
3420
|
/**
|
|
3406
3421
|
* Enforce padding around vitest functions
|
|
3407
|
-
* @see https://github.com/
|
|
3422
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-all.md
|
|
3408
3423
|
*/
|
|
3409
3424
|
'test/padding-around-all'?: Linter.RuleEntry<[]>
|
|
3410
3425
|
/**
|
|
3411
3426
|
* Enforce padding around `beforeAll` blocks
|
|
3412
|
-
* @see https://github.com/
|
|
3427
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-all-blocks.md
|
|
3413
3428
|
*/
|
|
3414
3429
|
'test/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
|
|
3415
3430
|
/**
|
|
3416
3431
|
* Enforce padding around `beforeEach` blocks
|
|
3417
|
-
* @see https://github.com/
|
|
3432
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-each-blocks.md
|
|
3418
3433
|
*/
|
|
3419
3434
|
'test/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
|
|
3420
3435
|
/**
|
|
3421
3436
|
* Enforce padding around `describe` blocks
|
|
3422
|
-
* @see https://github.com/
|
|
3437
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-describe-blocks.md
|
|
3423
3438
|
*/
|
|
3424
3439
|
'test/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
|
|
3425
3440
|
/**
|
|
3426
3441
|
* Enforce padding around `expect` groups
|
|
3427
|
-
* @see https://github.com/
|
|
3442
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-expect-groups.md
|
|
3428
3443
|
*/
|
|
3429
3444
|
'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
|
|
3430
3445
|
/**
|
|
3431
|
-
* Enforce padding around
|
|
3432
|
-
* @see https://github.com/
|
|
3446
|
+
* Enforce padding around `test` blocks
|
|
3447
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
3433
3448
|
*/
|
|
3434
3449
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
3435
3450
|
/**
|
|
3436
3451
|
* enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
3437
|
-
* @see https://github.com/
|
|
3452
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
|
|
3438
3453
|
*/
|
|
3439
3454
|
'test/prefer-called-with'?: Linter.RuleEntry<[]>
|
|
3440
3455
|
/**
|
|
3441
3456
|
* enforce using the built-in comparison matchers
|
|
3442
|
-
* @see https://github.com/
|
|
3457
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
|
|
3443
3458
|
*/
|
|
3444
3459
|
'test/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
|
|
3445
3460
|
/**
|
|
3446
3461
|
* enforce using `each` rather than manual loops
|
|
3447
|
-
* @see https://github.com/
|
|
3462
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
|
|
3448
3463
|
*/
|
|
3449
3464
|
'test/prefer-each'?: Linter.RuleEntry<[]>
|
|
3450
3465
|
/**
|
|
3451
3466
|
* enforce using the built-in quality matchers
|
|
3452
|
-
* @see https://github.com/
|
|
3467
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
|
|
3453
3468
|
*/
|
|
3454
3469
|
'test/prefer-equality-matcher'?: Linter.RuleEntry<[]>
|
|
3455
3470
|
/**
|
|
3456
3471
|
* enforce using expect assertions instead of callbacks
|
|
3457
|
-
* @see https://github.com/
|
|
3472
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
|
|
3458
3473
|
*/
|
|
3459
3474
|
'test/prefer-expect-assertions'?: Linter.RuleEntry<TestPreferExpectAssertions>
|
|
3460
3475
|
/**
|
|
3461
3476
|
* enforce using `expect().resolves` over `expect(await ...)` syntax
|
|
3462
|
-
* @see https://github.com/
|
|
3477
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
3463
3478
|
*/
|
|
3464
3479
|
'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>
|
|
3465
3480
|
/**
|
|
3466
3481
|
* enforce having hooks in consistent order
|
|
3467
|
-
* @see https://github.com/
|
|
3482
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
3468
3483
|
*/
|
|
3469
3484
|
'test/prefer-hooks-in-order'?: Linter.RuleEntry<[]>
|
|
3470
3485
|
/**
|
|
3471
3486
|
* enforce having hooks before any test cases
|
|
3472
|
-
* @see https://github.com/
|
|
3487
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
3473
3488
|
*/
|
|
3474
3489
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
3475
3490
|
/**
|
|
3476
3491
|
* enforce lowercase titles
|
|
3477
|
-
* @see https://github.com/
|
|
3492
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
3478
3493
|
*/
|
|
3479
3494
|
'test/prefer-lowercase-title'?: Linter.RuleEntry<TestPreferLowercaseTitle>
|
|
3480
3495
|
/**
|
|
3481
3496
|
* enforce mock resolved/rejected shorthands for promises
|
|
3482
|
-
* @see https://github.com/
|
|
3497
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
|
|
3483
3498
|
*/
|
|
3484
3499
|
'test/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>
|
|
3485
3500
|
/**
|
|
3486
3501
|
* enforce including a hint with external snapshots
|
|
3487
|
-
* @see https://github.com/
|
|
3502
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
|
|
3488
3503
|
*/
|
|
3489
3504
|
'test/prefer-snapshot-hint'?: Linter.RuleEntry<TestPreferSnapshotHint>
|
|
3490
3505
|
/**
|
|
3491
3506
|
* enforce using `vi.spyOn`
|
|
3492
|
-
* @see https://github.com/
|
|
3507
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
|
|
3493
3508
|
*/
|
|
3494
3509
|
'test/prefer-spy-on'?: Linter.RuleEntry<[]>
|
|
3495
3510
|
/**
|
|
3496
3511
|
* enforce strict equal over equal
|
|
3497
|
-
* @see https://github.com/
|
|
3512
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
|
|
3498
3513
|
*/
|
|
3499
3514
|
'test/prefer-strict-equal'?: Linter.RuleEntry<[]>
|
|
3500
3515
|
/**
|
|
3501
3516
|
* enforce using toBe()
|
|
3502
|
-
* @see https://github.com/
|
|
3517
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
|
|
3503
3518
|
*/
|
|
3504
3519
|
'test/prefer-to-be'?: Linter.RuleEntry<[]>
|
|
3505
3520
|
/**
|
|
3506
3521
|
* enforce using toBeFalsy()
|
|
3507
|
-
* @see https://github.com/
|
|
3522
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
|
|
3508
3523
|
*/
|
|
3509
3524
|
'test/prefer-to-be-falsy'?: Linter.RuleEntry<[]>
|
|
3510
3525
|
/**
|
|
3511
3526
|
* enforce using toBeObject()
|
|
3512
|
-
* @see https://github.com/
|
|
3527
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
|
|
3513
3528
|
*/
|
|
3514
3529
|
'test/prefer-to-be-object'?: Linter.RuleEntry<[]>
|
|
3515
3530
|
/**
|
|
3516
3531
|
* enforce using `toBeTruthy`
|
|
3517
|
-
* @see https://github.com/
|
|
3532
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
|
|
3518
3533
|
*/
|
|
3519
3534
|
'test/prefer-to-be-truthy'?: Linter.RuleEntry<[]>
|
|
3520
3535
|
/**
|
|
3521
3536
|
* enforce using toContain()
|
|
3522
|
-
* @see https://github.com/
|
|
3537
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
|
|
3523
3538
|
*/
|
|
3524
3539
|
'test/prefer-to-contain'?: Linter.RuleEntry<[]>
|
|
3525
3540
|
/**
|
|
3526
3541
|
* enforce using toHaveLength()
|
|
3527
|
-
* @see https://github.com/
|
|
3542
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
|
|
3528
3543
|
*/
|
|
3529
3544
|
'test/prefer-to-have-length'?: Linter.RuleEntry<[]>
|
|
3530
3545
|
/**
|
|
3531
3546
|
* enforce using `test.todo`
|
|
3532
|
-
* @see https://github.com/
|
|
3547
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
|
|
3533
3548
|
*/
|
|
3534
3549
|
'test/prefer-todo'?: Linter.RuleEntry<[]>
|
|
3550
|
+
/**
|
|
3551
|
+
* require `vi.mocked()` over `fn as Mock`
|
|
3552
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
3553
|
+
*/
|
|
3554
|
+
'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>
|
|
3535
3555
|
/**
|
|
3536
3556
|
* require setup and teardown to be within a hook
|
|
3537
|
-
* @see https://github.com/
|
|
3557
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
3538
3558
|
*/
|
|
3539
3559
|
'test/require-hook'?: Linter.RuleEntry<TestRequireHook>
|
|
3540
3560
|
/**
|
|
3541
3561
|
* require local Test Context for concurrent snapshot tests
|
|
3542
|
-
* @see https://github.com/
|
|
3562
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
3543
3563
|
*/
|
|
3544
3564
|
'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
|
|
3545
3565
|
/**
|
|
3546
3566
|
* require toThrow() to be called with an error message
|
|
3547
|
-
* @see https://github.com/
|
|
3567
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
|
|
3548
3568
|
*/
|
|
3549
3569
|
'test/require-to-throw-message'?: Linter.RuleEntry<[]>
|
|
3550
3570
|
/**
|
|
3551
3571
|
* enforce that all tests are in a top-level describe
|
|
3552
|
-
* @see https://github.com/
|
|
3572
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
3553
3573
|
*/
|
|
3554
3574
|
'test/require-top-level-describe'?: Linter.RuleEntry<TestRequireTopLevelDescribe>
|
|
3555
3575
|
/**
|
|
3556
3576
|
* enforce valid describe callback
|
|
3557
|
-
* @see https://github.com/
|
|
3577
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
3558
3578
|
*/
|
|
3559
3579
|
'test/valid-describe-callback'?: Linter.RuleEntry<[]>
|
|
3560
3580
|
/**
|
|
3561
3581
|
* enforce valid `expect()` usage
|
|
3562
|
-
* @see https://github.com/
|
|
3582
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
3563
3583
|
*/
|
|
3564
3584
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
3585
|
+
/**
|
|
3586
|
+
* require promises that have expectations in their chain to be valid
|
|
3587
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
3588
|
+
*/
|
|
3589
|
+
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
3565
3590
|
/**
|
|
3566
3591
|
* enforce valid titles
|
|
3567
|
-
* @see https://github.com/
|
|
3592
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
3568
3593
|
*/
|
|
3569
3594
|
'test/valid-title'?: Linter.RuleEntry<TestValidTitle>
|
|
3570
3595
|
/**
|
|
@@ -3574,687 +3599,702 @@ interface RuleOptions {
|
|
|
3574
3599
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
3575
3600
|
/**
|
|
3576
3601
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
3577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
3578
3603
|
*/
|
|
3579
3604
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
3580
3605
|
/**
|
|
3581
3606
|
* Enforce a specific parameter name in catch clauses.
|
|
3582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
3583
3608
|
*/
|
|
3584
3609
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
3585
3610
|
/**
|
|
3586
3611
|
* Use destructured variables over properties.
|
|
3587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
3588
3613
|
*/
|
|
3589
3614
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
3590
3615
|
/**
|
|
3591
3616
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
3593
3618
|
*/
|
|
3594
3619
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
3620
|
+
/**
|
|
3621
|
+
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
3623
|
+
*/
|
|
3624
|
+
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
3595
3625
|
/**
|
|
3596
3626
|
* Move function definitions to the highest possible scope.
|
|
3597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
3598
3628
|
*/
|
|
3599
3629
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
3600
3630
|
/**
|
|
3601
3631
|
* Enforce correct `Error` subclassing.
|
|
3602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
3603
3633
|
*/
|
|
3604
3634
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
3605
3635
|
/**
|
|
3606
3636
|
* Enforce no spaces between braces.
|
|
3607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
3608
3638
|
*/
|
|
3609
3639
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
3610
3640
|
/**
|
|
3611
3641
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
3613
3643
|
*/
|
|
3614
3644
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
3615
3645
|
/**
|
|
3616
3646
|
* Require escape sequences to use uppercase values.
|
|
3617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
3618
3648
|
*/
|
|
3619
3649
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
3620
3650
|
/**
|
|
3621
3651
|
* Add expiration conditions to TODO comments.
|
|
3622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
3623
3653
|
*/
|
|
3624
3654
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
3625
3655
|
/**
|
|
3626
3656
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
3628
3658
|
*/
|
|
3629
3659
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
3630
3660
|
/**
|
|
3631
3661
|
* Enforce a case style for filenames.
|
|
3632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
3633
3663
|
*/
|
|
3634
3664
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
3635
3665
|
/**
|
|
3636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
3637
3667
|
* @deprecated
|
|
3638
3668
|
*/
|
|
3639
3669
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
3640
3670
|
/**
|
|
3641
3671
|
* Enforce specific import styles per module.
|
|
3642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
3643
3673
|
*/
|
|
3644
3674
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
3645
3675
|
/**
|
|
3646
3676
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
3647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
3648
3678
|
*/
|
|
3649
3679
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
3650
3680
|
/**
|
|
3651
3681
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
3653
3683
|
*/
|
|
3654
3684
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
3655
3685
|
/**
|
|
3656
3686
|
* Disallow anonymous functions and classes as the default export.
|
|
3657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
3658
3688
|
*/
|
|
3659
3689
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
3660
3690
|
/**
|
|
3661
3691
|
* Prevent passing a function reference directly to iterator methods.
|
|
3662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
3663
3693
|
*/
|
|
3664
3694
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
3665
3695
|
/**
|
|
3666
3696
|
* Prefer `for…of` over the `forEach` method.
|
|
3667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
3668
3698
|
*/
|
|
3669
3699
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
3670
3700
|
/**
|
|
3671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3701
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
3672
3702
|
* @deprecated
|
|
3673
3703
|
*/
|
|
3674
3704
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
3675
3705
|
/**
|
|
3676
3706
|
* Disallow using the `this` argument in array methods.
|
|
3677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
3678
3708
|
*/
|
|
3679
3709
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
3680
3710
|
/**
|
|
3681
3711
|
* Enforce combining multiple `Array#push()` into one call.
|
|
3682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
3683
3713
|
*/
|
|
3684
3714
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
3685
3715
|
/**
|
|
3686
3716
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
3687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
3688
3718
|
*/
|
|
3689
3719
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
3690
3720
|
/**
|
|
3691
3721
|
* Disallow member access from await expression.
|
|
3692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
3693
3723
|
*/
|
|
3694
3724
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
3695
3725
|
/**
|
|
3696
3726
|
* Disallow using `await` in `Promise` method parameters.
|
|
3697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
3698
3728
|
*/
|
|
3699
3729
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
3700
3730
|
/**
|
|
3701
3731
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
3702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
3703
3733
|
*/
|
|
3704
3734
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
3705
3735
|
/**
|
|
3706
3736
|
* Do not use `document.cookie` directly.
|
|
3707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
3708
3738
|
*/
|
|
3709
3739
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
3710
3740
|
/**
|
|
3711
3741
|
* Disallow empty files.
|
|
3712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
3713
3743
|
*/
|
|
3714
3744
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
3715
3745
|
/**
|
|
3716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
3717
3747
|
* @deprecated
|
|
3718
3748
|
*/
|
|
3719
3749
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
3720
3750
|
/**
|
|
3721
3751
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
3722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
3723
3753
|
*/
|
|
3724
3754
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
3725
3755
|
/**
|
|
3726
3756
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
3727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
3728
3758
|
*/
|
|
3729
3759
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
3730
3760
|
/**
|
|
3731
3761
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
3732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
3733
3763
|
*/
|
|
3734
3764
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
3735
3765
|
/**
|
|
3736
3766
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
3737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
3738
3768
|
*/
|
|
3739
3769
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
3740
3770
|
/**
|
|
3741
3771
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
3742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
3743
3773
|
*/
|
|
3744
3774
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
3745
3775
|
/**
|
|
3746
3776
|
* Disallow identifiers starting with `new` or `class`.
|
|
3747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
3748
3778
|
*/
|
|
3749
3779
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
3750
3780
|
/**
|
|
3751
3781
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
3752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
3753
3783
|
*/
|
|
3754
3784
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
3755
3785
|
/**
|
|
3756
3786
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
3757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
3758
3788
|
*/
|
|
3759
3789
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
3760
3790
|
/**
|
|
3761
3791
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
3762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
3763
3793
|
*/
|
|
3764
3794
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
3765
3795
|
/**
|
|
3766
3796
|
* Disallow negated conditions.
|
|
3767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
3768
3798
|
*/
|
|
3769
3799
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
3770
3800
|
/**
|
|
3771
3801
|
* Disallow negated expression in equality check.
|
|
3772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
3773
3803
|
*/
|
|
3774
3804
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
3775
3805
|
/**
|
|
3776
3806
|
* Disallow nested ternary expressions.
|
|
3777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
3778
3808
|
*/
|
|
3779
3809
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
3780
3810
|
/**
|
|
3781
3811
|
* Disallow `new Array()`.
|
|
3782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
3783
3813
|
*/
|
|
3784
3814
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
3785
3815
|
/**
|
|
3786
3816
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
3787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
3788
3818
|
*/
|
|
3789
3819
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
3790
3820
|
/**
|
|
3791
3821
|
* Disallow the use of the `null` literal.
|
|
3792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
3793
3823
|
*/
|
|
3794
3824
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
3795
3825
|
/**
|
|
3796
3826
|
* Disallow the use of objects as default parameters.
|
|
3797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
3798
3828
|
*/
|
|
3799
3829
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
3800
3830
|
/**
|
|
3801
3831
|
* Disallow `process.exit()`.
|
|
3802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
3803
3833
|
*/
|
|
3804
3834
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
3805
3835
|
/**
|
|
3806
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
3807
3837
|
* @deprecated
|
|
3808
3838
|
*/
|
|
3809
3839
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
3810
3840
|
/**
|
|
3811
3841
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
3812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
3813
3843
|
*/
|
|
3814
3844
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
3815
3845
|
/**
|
|
3816
3846
|
* Disallow classes that only have static members.
|
|
3817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
3818
3848
|
*/
|
|
3819
3849
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
3820
3850
|
/**
|
|
3821
3851
|
* Disallow `then` property.
|
|
3822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
3823
3853
|
*/
|
|
3824
3854
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
3825
3855
|
/**
|
|
3826
3856
|
* Disallow assigning `this` to a variable.
|
|
3827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
3828
3858
|
*/
|
|
3829
3859
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
3830
3860
|
/**
|
|
3831
3861
|
* Disallow comparing `undefined` using `typeof`.
|
|
3832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
3833
3863
|
*/
|
|
3834
3864
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
3835
3865
|
/**
|
|
3836
3866
|
* Disallow awaiting non-promise values.
|
|
3837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
3838
3868
|
*/
|
|
3839
3869
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
3840
3870
|
/**
|
|
3841
3871
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
3842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
3843
3873
|
*/
|
|
3844
3874
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
3845
3875
|
/**
|
|
3846
3876
|
* Disallow unreadable array destructuring.
|
|
3847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
3848
3878
|
*/
|
|
3849
3879
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
3850
3880
|
/**
|
|
3851
3881
|
* Disallow unreadable IIFEs.
|
|
3852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3882
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
3853
3883
|
*/
|
|
3854
3884
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
3855
3885
|
/**
|
|
3856
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
3857
3887
|
* @deprecated
|
|
3858
3888
|
*/
|
|
3859
3889
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
3860
3890
|
/**
|
|
3861
3891
|
* Disallow unused object properties.
|
|
3862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
3863
3893
|
*/
|
|
3864
3894
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
3865
3895
|
/**
|
|
3866
3896
|
* Disallow useless fallback when spreading in object literals.
|
|
3867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
3868
3898
|
*/
|
|
3869
3899
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
3870
3900
|
/**
|
|
3871
3901
|
* Disallow useless array length check.
|
|
3872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
3873
3903
|
*/
|
|
3874
3904
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
3875
3905
|
/**
|
|
3876
3906
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
3877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
3878
3908
|
*/
|
|
3879
3909
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
3880
3910
|
/**
|
|
3881
3911
|
* Disallow unnecessary spread.
|
|
3882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
3883
3913
|
*/
|
|
3884
3914
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
3885
3915
|
/**
|
|
3886
3916
|
* Disallow useless case in switch statements.
|
|
3887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3917
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
3888
3918
|
*/
|
|
3889
3919
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
3890
3920
|
/**
|
|
3891
3921
|
* Disallow useless `undefined`.
|
|
3892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3922
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
3893
3923
|
*/
|
|
3894
3924
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
3895
3925
|
/**
|
|
3896
3926
|
* Disallow number literals with zero fractions or dangling dots.
|
|
3897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3927
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
3898
3928
|
*/
|
|
3899
3929
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
3900
3930
|
/**
|
|
3901
3931
|
* Enforce proper case for numeric literals.
|
|
3902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3932
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
3903
3933
|
*/
|
|
3904
3934
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
3905
3935
|
/**
|
|
3906
3936
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
3907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3937
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
3908
3938
|
*/
|
|
3909
3939
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
3910
3940
|
/**
|
|
3911
3941
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
3912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3942
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
3913
3943
|
*/
|
|
3914
3944
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
3915
3945
|
/**
|
|
3916
3946
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
3917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3947
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
3918
3948
|
*/
|
|
3919
3949
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
3920
3950
|
/**
|
|
3921
3951
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
3922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3952
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
3923
3953
|
*/
|
|
3924
3954
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
3925
3955
|
/**
|
|
3926
3956
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
3927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3957
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
3928
3958
|
*/
|
|
3929
3959
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
3930
3960
|
/**
|
|
3931
3961
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
3932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3962
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
3933
3963
|
*/
|
|
3934
3964
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
3935
3965
|
/**
|
|
3936
3966
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
3937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3967
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
3938
3968
|
*/
|
|
3939
3969
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
3940
3970
|
/**
|
|
3941
3971
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
3942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3972
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
3943
3973
|
*/
|
|
3944
3974
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
3945
3975
|
/**
|
|
3946
3976
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
3947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3977
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
3948
3978
|
*/
|
|
3949
3979
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
3950
3980
|
/**
|
|
3951
3981
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
3952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3982
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
3953
3983
|
*/
|
|
3954
3984
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
3955
3985
|
/**
|
|
3956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
3957
3987
|
* @deprecated
|
|
3958
3988
|
*/
|
|
3959
3989
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
3960
3990
|
/**
|
|
3961
3991
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
3962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3992
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
3963
3993
|
*/
|
|
3964
3994
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
3965
3995
|
/**
|
|
3966
3996
|
* Prefer default parameters over reassignment.
|
|
3967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3997
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
3968
3998
|
*/
|
|
3969
3999
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
3970
4000
|
/**
|
|
3971
4001
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
3972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4002
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
3973
4003
|
*/
|
|
3974
4004
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
3975
4005
|
/**
|
|
3976
4006
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
3977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4007
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
3978
4008
|
*/
|
|
3979
4009
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
3980
4010
|
/**
|
|
3981
4011
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
3982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4012
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
3983
4013
|
*/
|
|
3984
4014
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
3985
4015
|
/**
|
|
3986
4016
|
* Prefer `.textContent` over `.innerText`.
|
|
3987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4017
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
3988
4018
|
*/
|
|
3989
4019
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
3990
4020
|
/**
|
|
3991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
3992
4022
|
* @deprecated
|
|
3993
4023
|
*/
|
|
3994
4024
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
3995
4025
|
/**
|
|
3996
4026
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
3997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4027
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
3998
4028
|
*/
|
|
3999
4029
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4000
4030
|
/**
|
|
4001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4002
4032
|
* @deprecated
|
|
4003
4033
|
*/
|
|
4004
4034
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4005
4035
|
/**
|
|
4006
4036
|
* Prefer `export…from` when re-exporting.
|
|
4007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4037
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
4008
4038
|
*/
|
|
4009
4039
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4010
4040
|
/**
|
|
4011
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
4012
4042
|
* @deprecated
|
|
4013
4043
|
*/
|
|
4014
4044
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4045
|
+
/**
|
|
4046
|
+
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4047
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
4048
|
+
*/
|
|
4049
|
+
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4015
4050
|
/**
|
|
4016
4051
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4052
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
4018
4053
|
*/
|
|
4019
4054
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4020
4055
|
/**
|
|
4021
4056
|
* Prefer reading a JSON file as a buffer.
|
|
4022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4057
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
4023
4058
|
*/
|
|
4024
4059
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4025
4060
|
/**
|
|
4026
4061
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4062
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
4028
4063
|
*/
|
|
4029
4064
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4030
4065
|
/**
|
|
4031
4066
|
* Prefer using a logical operator over a ternary.
|
|
4032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4067
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4033
4068
|
*/
|
|
4034
4069
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4070
|
+
/**
|
|
4071
|
+
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4072
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
4073
|
+
*/
|
|
4074
|
+
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4035
4075
|
/**
|
|
4036
4076
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4077
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
4038
4078
|
*/
|
|
4039
4079
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4040
4080
|
/**
|
|
4041
4081
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4082
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
4043
4083
|
*/
|
|
4044
4084
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4045
4085
|
/**
|
|
4046
4086
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4087
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
4048
4088
|
*/
|
|
4049
4089
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4050
4090
|
/**
|
|
4051
4091
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4092
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
4053
4093
|
*/
|
|
4054
4094
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4055
4095
|
/**
|
|
4056
4096
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4097
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
4058
4098
|
*/
|
|
4059
4099
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4060
4100
|
/**
|
|
4061
4101
|
* Prefer negative index over `.length - index` when possible.
|
|
4062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4102
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
4063
4103
|
*/
|
|
4064
4104
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4065
4105
|
/**
|
|
4066
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
4067
4107
|
* @deprecated
|
|
4068
4108
|
*/
|
|
4069
4109
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
4070
4110
|
/**
|
|
4071
4111
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4112
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
4073
4113
|
*/
|
|
4074
4114
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4075
4115
|
/**
|
|
4076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
4077
4117
|
* @deprecated
|
|
4078
4118
|
*/
|
|
4079
4119
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
4080
4120
|
/**
|
|
4081
4121
|
* Prefer `Number` static properties over global ones.
|
|
4082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4122
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
4083
4123
|
*/
|
|
4084
4124
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4085
4125
|
/**
|
|
4086
4126
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4127
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
4088
4128
|
*/
|
|
4089
4129
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4090
4130
|
/**
|
|
4091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
4092
4132
|
* @deprecated
|
|
4093
4133
|
*/
|
|
4094
4134
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
4095
4135
|
/**
|
|
4096
4136
|
* Prefer omitting the `catch` binding parameter.
|
|
4097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4137
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
4098
4138
|
*/
|
|
4099
4139
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4100
4140
|
/**
|
|
4101
4141
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
4103
4143
|
*/
|
|
4104
4144
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4105
4145
|
/**
|
|
4106
|
-
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
4107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4146
|
+
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
4108
4148
|
*/
|
|
4109
4149
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4110
4150
|
/**
|
|
4111
4151
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
4113
4153
|
*/
|
|
4114
4154
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4115
4155
|
/**
|
|
4116
4156
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
4118
4158
|
*/
|
|
4119
4159
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4120
4160
|
/**
|
|
4121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
4122
4162
|
* @deprecated
|
|
4123
4163
|
*/
|
|
4124
4164
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
4125
4165
|
/**
|
|
4126
4166
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4167
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
4128
4168
|
*/
|
|
4129
4169
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4130
4170
|
/**
|
|
4131
4171
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4172
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
4133
4173
|
*/
|
|
4134
4174
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4135
4175
|
/**
|
|
4136
4176
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
4138
4178
|
*/
|
|
4139
4179
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4140
4180
|
/**
|
|
4141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
4142
4182
|
* @deprecated
|
|
4143
4183
|
*/
|
|
4144
4184
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4145
4185
|
/**
|
|
4146
4186
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
4148
4188
|
*/
|
|
4149
4189
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4150
4190
|
/**
|
|
4151
4191
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
4153
4193
|
*/
|
|
4154
4194
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4155
4195
|
/**
|
|
4156
4196
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
4158
4198
|
*/
|
|
4159
4199
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4160
4200
|
/**
|
|
4161
4201
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
4163
4203
|
*/
|
|
4164
4204
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4165
4205
|
/**
|
|
4166
4206
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
4168
4208
|
*/
|
|
4169
4209
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4170
4210
|
/**
|
|
4171
4211
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4212
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
4173
4213
|
*/
|
|
4174
4214
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4175
4215
|
/**
|
|
4176
4216
|
* Prefer `switch` over multiple `else-if`.
|
|
4177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
4178
4218
|
*/
|
|
4179
4219
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4180
4220
|
/**
|
|
4181
4221
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
4183
4223
|
*/
|
|
4184
4224
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4185
4225
|
/**
|
|
4186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
4187
4227
|
* @deprecated
|
|
4188
4228
|
*/
|
|
4189
4229
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
4190
4230
|
/**
|
|
4191
4231
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
4193
4233
|
*/
|
|
4194
4234
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4195
4235
|
/**
|
|
4196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
4197
4237
|
* @deprecated
|
|
4198
4238
|
*/
|
|
4199
4239
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4200
4240
|
/**
|
|
4201
4241
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
4203
4243
|
*/
|
|
4204
4244
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4205
4245
|
/**
|
|
4206
4246
|
* Prevent abbreviations.
|
|
4207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
4208
4248
|
*/
|
|
4209
4249
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4210
4250
|
/**
|
|
4211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
4212
4252
|
* @deprecated
|
|
4213
4253
|
*/
|
|
4214
4254
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
4215
4255
|
/**
|
|
4216
4256
|
* Enforce consistent relative URL style.
|
|
4217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
4218
4258
|
*/
|
|
4219
4259
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4220
4260
|
/**
|
|
4221
4261
|
* Enforce using the separator argument with `Array#join()`.
|
|
4222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
4223
4263
|
*/
|
|
4224
4264
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4225
4265
|
/**
|
|
4226
4266
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4228
4268
|
*/
|
|
4229
4269
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4230
4270
|
/**
|
|
4231
4271
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
4233
4273
|
*/
|
|
4234
4274
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4235
4275
|
/**
|
|
4236
4276
|
* Enforce better string content.
|
|
4237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
4238
4278
|
*/
|
|
4239
4279
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4240
4280
|
/**
|
|
4241
4281
|
* Enforce consistent brace style for `case` clauses.
|
|
4242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
4243
4283
|
*/
|
|
4244
4284
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4245
4285
|
/**
|
|
4246
4286
|
* Fix whitespace-insensitive template indentation.
|
|
4247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
4248
4288
|
*/
|
|
4249
4289
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4250
4290
|
/**
|
|
4251
4291
|
* Enforce consistent case for text encoding identifiers.
|
|
4252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4292
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
4253
4293
|
*/
|
|
4254
4294
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4255
4295
|
/**
|
|
4256
4296
|
* Require `new` when creating an error.
|
|
4257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
4258
4298
|
*/
|
|
4259
4299
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4260
4300
|
/**
|
|
@@ -4419,7 +4459,7 @@ interface RuleOptions {
|
|
|
4419
4459
|
*/
|
|
4420
4460
|
'vue/define-emits-declaration'?: Linter.RuleEntry<VueDefineEmitsDeclaration>
|
|
4421
4461
|
/**
|
|
4422
|
-
* enforce order of
|
|
4462
|
+
* enforce order of compiler macros (`defineProps`, `defineEmits`, etc.)
|
|
4423
4463
|
* @see https://eslint.vuejs.org/rules/define-macros-order.html
|
|
4424
4464
|
*/
|
|
4425
4465
|
'vue/define-macros-order'?: Linter.RuleEntry<VueDefineMacrosOrder>
|
|
@@ -4548,6 +4588,16 @@ interface RuleOptions {
|
|
|
4548
4588
|
* @see https://eslint.vuejs.org/rules/max-lines-per-block.html
|
|
4549
4589
|
*/
|
|
4550
4590
|
'vue/max-lines-per-block'?: Linter.RuleEntry<VueMaxLinesPerBlock>
|
|
4591
|
+
/**
|
|
4592
|
+
* enforce maximum number of props in Vue component
|
|
4593
|
+
* @see https://eslint.vuejs.org/rules/max-props.html
|
|
4594
|
+
*/
|
|
4595
|
+
'vue/max-props'?: Linter.RuleEntry<VueMaxProps>
|
|
4596
|
+
/**
|
|
4597
|
+
* enforce maximum depth of template
|
|
4598
|
+
* @see https://eslint.vuejs.org/rules/max-template-depth.html
|
|
4599
|
+
*/
|
|
4600
|
+
'vue/max-template-depth'?: Linter.RuleEntry<VueMaxTemplateDepth>
|
|
4551
4601
|
/**
|
|
4552
4602
|
* require component names to be always multi-word
|
|
4553
4603
|
* @see https://eslint.vuejs.org/rules/multi-word-component-names.html
|
|
@@ -4604,7 +4654,7 @@ interface RuleOptions {
|
|
|
4604
4654
|
*/
|
|
4605
4655
|
'vue/no-child-content'?: Linter.RuleEntry<VueNoChildContent>
|
|
4606
4656
|
/**
|
|
4607
|
-
* disallow accessing computed properties in `data
|
|
4657
|
+
* disallow accessing computed properties in `data`
|
|
4608
4658
|
* @see https://eslint.vuejs.org/rules/no-computed-properties-in-data.html
|
|
4609
4659
|
*/
|
|
4610
4660
|
'vue/no-computed-properties-in-data'?: Linter.RuleEntry<[]>
|
|
@@ -4628,6 +4678,11 @@ interface RuleOptions {
|
|
|
4628
4678
|
* @see https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html
|
|
4629
4679
|
*/
|
|
4630
4680
|
'vue/no-deprecated-data-object-declaration'?: Linter.RuleEntry<[]>
|
|
4681
|
+
/**
|
|
4682
|
+
* disallow using deprecated `$delete` and `$set` (in Vue.js 3.0.0+)
|
|
4683
|
+
* @see https://eslint.vuejs.org/rules/no-deprecated-delete-set.html
|
|
4684
|
+
*/
|
|
4685
|
+
'vue/no-deprecated-delete-set'?: Linter.RuleEntry<[]>
|
|
4631
4686
|
/**
|
|
4632
4687
|
* disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+)
|
|
4633
4688
|
* @see https://eslint.vuejs.org/rules/no-deprecated-destroyed-lifecycle.html
|
|
@@ -4737,7 +4792,7 @@ interface RuleOptions {
|
|
|
4737
4792
|
* enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
|
|
4738
4793
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html
|
|
4739
4794
|
*/
|
|
4740
|
-
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<
|
|
4795
|
+
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<VueNoDuplicateAttrInheritance>
|
|
4741
4796
|
/**
|
|
4742
4797
|
* disallow duplication of attributes
|
|
4743
4798
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
@@ -5152,7 +5207,7 @@ interface RuleOptions {
|
|
|
5152
5207
|
*/
|
|
5153
5208
|
'vue/padding-lines-in-component-definition'?: Linter.RuleEntry<VuePaddingLinesInComponentDefinition>
|
|
5154
5209
|
/**
|
|
5155
|
-
* enforce use of `defineOptions` instead of default export
|
|
5210
|
+
* enforce use of `defineOptions` instead of default export
|
|
5156
5211
|
* @see https://eslint.vuejs.org/rules/prefer-define-options.html
|
|
5157
5212
|
*/
|
|
5158
5213
|
'vue/prefer-define-options'?: Linter.RuleEntry<[]>
|
|
@@ -5181,6 +5236,11 @@ interface RuleOptions {
|
|
|
5181
5236
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
5182
5237
|
*/
|
|
5183
5238
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
5239
|
+
/**
|
|
5240
|
+
* require using `useTemplateRef` instead of `ref`/`shallowRef` for template refs
|
|
5241
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
5242
|
+
*/
|
|
5243
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
5184
5244
|
/**
|
|
5185
5245
|
* enforce specific casing for the Prop name in Vue components
|
|
5186
5246
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -5196,6 +5256,11 @@ interface RuleOptions {
|
|
|
5196
5256
|
* @see https://eslint.vuejs.org/rules/require-component-is.html
|
|
5197
5257
|
*/
|
|
5198
5258
|
'vue/require-component-is'?: Linter.RuleEntry<[]>
|
|
5259
|
+
/**
|
|
5260
|
+
* require components to be the default export
|
|
5261
|
+
* @see https://eslint.vuejs.org/rules/require-default-export.html
|
|
5262
|
+
*/
|
|
5263
|
+
'vue/require-default-export'?: Linter.RuleEntry<[]>
|
|
5199
5264
|
/**
|
|
5200
5265
|
* require default value for props
|
|
5201
5266
|
* @see https://eslint.vuejs.org/rules/require-default-prop.html
|
|
@@ -5265,7 +5330,7 @@ interface RuleOptions {
|
|
|
5265
5330
|
* require control the display of the content inside `<transition>`
|
|
5266
5331
|
* @see https://eslint.vuejs.org/rules/require-toggle-inside-transition.html
|
|
5267
5332
|
*/
|
|
5268
|
-
'vue/require-toggle-inside-transition'?: Linter.RuleEntry<
|
|
5333
|
+
'vue/require-toggle-inside-transition'?: Linter.RuleEntry<VueRequireToggleInsideTransition>
|
|
5269
5334
|
/**
|
|
5270
5335
|
* enforce adding type declarations to object props
|
|
5271
5336
|
* @see https://eslint.vuejs.org/rules/require-typed-object-prop.html
|
|
@@ -5286,6 +5351,11 @@ interface RuleOptions {
|
|
|
5286
5351
|
* @see https://eslint.vuejs.org/rules/require-valid-default-prop.html
|
|
5287
5352
|
*/
|
|
5288
5353
|
'vue/require-valid-default-prop'?: Linter.RuleEntry<[]>
|
|
5354
|
+
/**
|
|
5355
|
+
* enforce using only specific component names
|
|
5356
|
+
* @see https://eslint.vuejs.org/rules/restricted-component-names.html
|
|
5357
|
+
*/
|
|
5358
|
+
'vue/restricted-component-names'?: Linter.RuleEntry<VueRestrictedComponentNames>
|
|
5289
5359
|
/**
|
|
5290
5360
|
* enforce that a return statement is present in computed property
|
|
5291
5361
|
* @see https://eslint.vuejs.org/rules/return-in-computed-property.html
|
|
@@ -5312,6 +5382,11 @@ interface RuleOptions {
|
|
|
5312
5382
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
5313
5383
|
*/
|
|
5314
5384
|
'vue/singleline-html-element-content-newline'?: Linter.RuleEntry<VueSinglelineHtmlElementContentNewline>
|
|
5385
|
+
/**
|
|
5386
|
+
* enforce specific casing for slot names
|
|
5387
|
+
* @see https://eslint.vuejs.org/rules/slot-name-casing.html
|
|
5388
|
+
*/
|
|
5389
|
+
'vue/slot-name-casing'?: Linter.RuleEntry<VueSlotNameCasing>
|
|
5315
5390
|
/**
|
|
5316
5391
|
* enforce sort-keys in a manner that is compatible with order-in-components
|
|
5317
5392
|
* @see https://eslint.vuejs.org/rules/sort-keys.html
|
|
@@ -5562,6 +5637,11 @@ type TypescriptEslintArrayType = []|[{
|
|
|
5562
5637
|
}]
|
|
5563
5638
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
5564
5639
|
type TypescriptEslintBanTsComment = []|[{
|
|
5640
|
+
|
|
5641
|
+
minimumDescriptionLength?: number
|
|
5642
|
+
"ts-check"?: (boolean | "allow-with-description" | {
|
|
5643
|
+
descriptionFormat?: string
|
|
5644
|
+
})
|
|
5565
5645
|
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
5566
5646
|
descriptionFormat?: string
|
|
5567
5647
|
})
|
|
@@ -5571,23 +5651,19 @@ type TypescriptEslintBanTsComment = []|[{
|
|
|
5571
5651
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
5572
5652
|
descriptionFormat?: string
|
|
5573
5653
|
})
|
|
5574
|
-
"ts-check"?: (boolean | "allow-with-description" | {
|
|
5575
|
-
descriptionFormat?: string
|
|
5576
|
-
})
|
|
5577
|
-
minimumDescriptionLength?: number
|
|
5578
5654
|
}]
|
|
5579
5655
|
// ----- @typescript-eslint/class-literal-property-style -----
|
|
5580
5656
|
type TypescriptEslintClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
5581
5657
|
// ----- @typescript-eslint/class-methods-use-this -----
|
|
5582
5658
|
type TypescriptEslintClassMethodsUseThis = []|[{
|
|
5583
5659
|
|
|
5584
|
-
exceptMethods?: string[]
|
|
5585
|
-
|
|
5586
5660
|
enforceForClassFields?: boolean
|
|
5587
5661
|
|
|
5588
|
-
|
|
5662
|
+
exceptMethods?: string[]
|
|
5589
5663
|
|
|
5590
5664
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
5665
|
+
|
|
5666
|
+
ignoreOverrideMethods?: boolean
|
|
5591
5667
|
}]
|
|
5592
5668
|
// ----- @typescript-eslint/consistent-generic-constructors -----
|
|
5593
5669
|
type TypescriptEslintConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
@@ -5599,61 +5675,78 @@ type TypescriptEslintConsistentReturn = []|[{
|
|
|
5599
5675
|
}]
|
|
5600
5676
|
// ----- @typescript-eslint/consistent-type-assertions -----
|
|
5601
5677
|
type TypescriptEslintConsistentTypeAssertions = []|[({
|
|
5678
|
+
|
|
5602
5679
|
assertionStyle: "never"
|
|
5603
5680
|
} | {
|
|
5604
|
-
|
|
5681
|
+
|
|
5682
|
+
arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
5683
|
+
|
|
5684
|
+
assertionStyle?: ("as" | "angle-bracket")
|
|
5685
|
+
|
|
5605
5686
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
5606
5687
|
})]
|
|
5607
5688
|
// ----- @typescript-eslint/consistent-type-definitions -----
|
|
5608
5689
|
type TypescriptEslintConsistentTypeDefinitions = []|[("interface" | "type")]
|
|
5609
5690
|
// ----- @typescript-eslint/consistent-type-exports -----
|
|
5610
5691
|
type TypescriptEslintConsistentTypeExports = []|[{
|
|
5692
|
+
|
|
5611
5693
|
fixMixedExportsWithInlineTypeSpecifier?: boolean
|
|
5612
5694
|
}]
|
|
5613
5695
|
// ----- @typescript-eslint/consistent-type-imports -----
|
|
5614
5696
|
type TypescriptEslintConsistentTypeImports = []|[{
|
|
5697
|
+
|
|
5615
5698
|
disallowTypeAnnotations?: boolean
|
|
5699
|
+
|
|
5616
5700
|
fixStyle?: ("separate-type-imports" | "inline-type-imports")
|
|
5701
|
+
|
|
5617
5702
|
prefer?: ("type-imports" | "no-type-imports")
|
|
5618
5703
|
}]
|
|
5619
5704
|
// ----- @typescript-eslint/dot-notation -----
|
|
5620
5705
|
type TypescriptEslintDotNotation = []|[{
|
|
5706
|
+
|
|
5707
|
+
allowIndexSignaturePropertyAccess?: boolean
|
|
5708
|
+
|
|
5621
5709
|
allowKeywords?: boolean
|
|
5710
|
+
|
|
5622
5711
|
allowPattern?: string
|
|
5712
|
+
|
|
5623
5713
|
allowPrivateClassPropertyAccess?: boolean
|
|
5714
|
+
|
|
5624
5715
|
allowProtectedClassPropertyAccess?: boolean
|
|
5625
|
-
allowIndexSignaturePropertyAccess?: boolean
|
|
5626
5716
|
}]
|
|
5627
5717
|
// ----- @typescript-eslint/explicit-function-return-type -----
|
|
5628
5718
|
type TypescriptEslintExplicitFunctionReturnType = []|[{
|
|
5629
5719
|
|
|
5630
5720
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
|
|
5631
5721
|
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
allowHigherOrderFunctions?: boolean
|
|
5722
|
+
allowDirectConstAssertionInArrowFunctions?: boolean
|
|
5635
5723
|
|
|
5636
|
-
|
|
5724
|
+
allowedNames?: string[]
|
|
5637
5725
|
|
|
5638
|
-
|
|
5726
|
+
allowExpressions?: boolean
|
|
5639
5727
|
|
|
5640
5728
|
allowFunctionsWithoutTypeParameters?: boolean
|
|
5641
5729
|
|
|
5642
|
-
|
|
5730
|
+
allowHigherOrderFunctions?: boolean
|
|
5643
5731
|
|
|
5644
5732
|
allowIIFEs?: boolean
|
|
5733
|
+
|
|
5734
|
+
allowTypedFunctionExpressions?: boolean
|
|
5645
5735
|
}]
|
|
5646
5736
|
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
5647
5737
|
type TypescriptEslintExplicitMemberAccessibility = []|[{
|
|
5738
|
+
|
|
5648
5739
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
5740
|
+
|
|
5741
|
+
ignoredMethodNames?: string[]
|
|
5742
|
+
|
|
5649
5743
|
overrides?: {
|
|
5650
5744
|
accessors?: ("explicit" | "no-public" | "off")
|
|
5651
5745
|
constructors?: ("explicit" | "no-public" | "off")
|
|
5652
5746
|
methods?: ("explicit" | "no-public" | "off")
|
|
5653
|
-
properties?: ("explicit" | "no-public" | "off")
|
|
5654
5747
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
5748
|
+
properties?: ("explicit" | "no-public" | "off")
|
|
5655
5749
|
}
|
|
5656
|
-
ignoredMethodNames?: string[]
|
|
5657
5750
|
}]
|
|
5658
5751
|
// ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
5659
5752
|
type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
@@ -5674,36 +5767,39 @@ type TypescriptEslintInitDeclarations = ([]|["always"] | []|["never"]|["never",
|
|
|
5674
5767
|
}])
|
|
5675
5768
|
// ----- @typescript-eslint/max-params -----
|
|
5676
5769
|
type TypescriptEslintMaxParams = []|[{
|
|
5677
|
-
|
|
5678
|
-
max?: number
|
|
5770
|
+
|
|
5679
5771
|
countVoidThis?: boolean
|
|
5772
|
+
|
|
5773
|
+
max?: number
|
|
5774
|
+
|
|
5775
|
+
maximum?: number
|
|
5680
5776
|
}]
|
|
5681
5777
|
// ----- @typescript-eslint/member-ordering -----
|
|
5682
5778
|
type TypescriptEslintMemberOrdering = []|[{
|
|
5683
|
-
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
5684
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
5685
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5686
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
5687
|
-
})
|
|
5688
5779
|
classes?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
5689
5780
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
5690
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5691
5781
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5782
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5692
5783
|
})
|
|
5693
5784
|
classExpressions?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
5694
5785
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
5786
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
5695
5787
|
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5788
|
+
})
|
|
5789
|
+
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
5790
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
5696
5791
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5792
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5697
5793
|
})
|
|
5698
5794
|
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
5699
5795
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
5700
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5701
5796
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5797
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5702
5798
|
})
|
|
5703
5799
|
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
5704
5800
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
5705
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5706
5801
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5802
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5707
5803
|
})
|
|
5708
5804
|
}]
|
|
5709
5805
|
// ----- @typescript-eslint/method-signature-style -----
|
|
@@ -5715,310 +5811,310 @@ type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" |
|
|
|
5715
5811
|
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[]
|
|
5716
5812
|
type _TypescriptEslintNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
5717
5813
|
type TypescriptEslintNamingConvention = ({
|
|
5718
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5719
5814
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5815
|
+
failureMessage?: string
|
|
5816
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5720
5817
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5721
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5722
5818
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5723
5819
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5724
|
-
|
|
5820
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5725
5821
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5726
|
-
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")[]
|
|
5727
5822
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
5823
|
+
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")[]
|
|
5728
5824
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5729
5825
|
} | {
|
|
5730
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5731
5826
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5827
|
+
failureMessage?: string
|
|
5828
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5732
5829
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5733
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5734
5830
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5735
5831
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5736
|
-
|
|
5832
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5737
5833
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5738
5834
|
selector: "default"
|
|
5739
5835
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
5740
5836
|
} | {
|
|
5741
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5742
5837
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5838
|
+
failureMessage?: string
|
|
5839
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5743
5840
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5744
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5745
5841
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5746
5842
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5747
|
-
|
|
5843
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5748
5844
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5749
5845
|
selector: "variableLike"
|
|
5750
5846
|
modifiers?: ("unused" | "async")[]
|
|
5751
5847
|
} | {
|
|
5752
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5753
5848
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5849
|
+
failureMessage?: string
|
|
5850
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5754
5851
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5755
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5756
5852
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5757
5853
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5758
|
-
|
|
5854
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5759
5855
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5760
5856
|
selector: "variable"
|
|
5761
5857
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
5762
5858
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5763
5859
|
} | {
|
|
5764
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5765
5860
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5861
|
+
failureMessage?: string
|
|
5862
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5766
5863
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5767
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5768
5864
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5769
5865
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5770
|
-
|
|
5866
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5771
5867
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5772
5868
|
selector: "function"
|
|
5773
5869
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
5774
5870
|
} | {
|
|
5775
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5776
5871
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5872
|
+
failureMessage?: string
|
|
5873
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5777
5874
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5778
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5779
5875
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5780
5876
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5781
|
-
|
|
5877
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5782
5878
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5783
5879
|
selector: "parameter"
|
|
5784
5880
|
modifiers?: ("destructured" | "unused")[]
|
|
5785
5881
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5786
5882
|
} | {
|
|
5787
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5788
5883
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5884
|
+
failureMessage?: string
|
|
5885
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5789
5886
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5790
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5791
5887
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5792
5888
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5793
|
-
|
|
5889
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5794
5890
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5795
5891
|
selector: "memberLike"
|
|
5796
5892
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5797
5893
|
} | {
|
|
5798
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5799
5894
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5895
|
+
failureMessage?: string
|
|
5896
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5800
5897
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5801
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5802
5898
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5803
5899
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5804
|
-
|
|
5900
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5805
5901
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5806
5902
|
selector: "classProperty"
|
|
5807
5903
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
5808
5904
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5809
5905
|
} | {
|
|
5810
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5811
5906
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5907
|
+
failureMessage?: string
|
|
5908
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5812
5909
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5813
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5814
5910
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5815
5911
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5816
|
-
|
|
5912
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5817
5913
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5818
5914
|
selector: "objectLiteralProperty"
|
|
5819
5915
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
5820
5916
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5821
5917
|
} | {
|
|
5822
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5823
5918
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5919
|
+
failureMessage?: string
|
|
5920
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5824
5921
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5825
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5826
5922
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5827
5923
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5828
|
-
|
|
5924
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5829
5925
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5830
5926
|
selector: "typeProperty"
|
|
5831
5927
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
5832
5928
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5833
5929
|
} | {
|
|
5834
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5835
5930
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5931
|
+
failureMessage?: string
|
|
5932
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5836
5933
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5837
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5838
5934
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5839
5935
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5840
|
-
|
|
5936
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5841
5937
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5842
5938
|
selector: "parameterProperty"
|
|
5843
5939
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
5844
5940
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5845
5941
|
} | {
|
|
5846
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5847
5942
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5943
|
+
failureMessage?: string
|
|
5944
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5848
5945
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5849
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5850
5946
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5851
5947
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5852
|
-
|
|
5948
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5853
5949
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5854
5950
|
selector: "property"
|
|
5855
5951
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5856
5952
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5857
5953
|
} | {
|
|
5858
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5859
5954
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5955
|
+
failureMessage?: string
|
|
5956
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5860
5957
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5861
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5862
5958
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5863
5959
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5864
|
-
|
|
5960
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5865
5961
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5866
5962
|
selector: "classMethod"
|
|
5867
5963
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5868
5964
|
} | {
|
|
5869
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5870
5965
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5966
|
+
failureMessage?: string
|
|
5967
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5871
5968
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5872
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5873
5969
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5874
5970
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5875
|
-
|
|
5971
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5876
5972
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5877
5973
|
selector: "objectLiteralMethod"
|
|
5878
5974
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
5879
5975
|
} | {
|
|
5880
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5881
5976
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5977
|
+
failureMessage?: string
|
|
5978
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5882
5979
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5883
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5884
5980
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5885
5981
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5886
|
-
|
|
5982
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5887
5983
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5888
5984
|
selector: "typeMethod"
|
|
5889
5985
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
5890
5986
|
} | {
|
|
5891
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5892
5987
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5988
|
+
failureMessage?: string
|
|
5989
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5893
5990
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5894
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5895
5991
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5896
5992
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5897
|
-
|
|
5993
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5898
5994
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5899
5995
|
selector: "method"
|
|
5900
5996
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5901
5997
|
} | {
|
|
5902
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5903
5998
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5999
|
+
failureMessage?: string
|
|
6000
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5904
6001
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5905
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5906
6002
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5907
6003
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5908
|
-
|
|
6004
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5909
6005
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5910
6006
|
selector: "classicAccessor"
|
|
5911
6007
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5912
6008
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5913
6009
|
} | {
|
|
5914
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5915
6010
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6011
|
+
failureMessage?: string
|
|
6012
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5916
6013
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5917
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5918
6014
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5919
6015
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5920
|
-
|
|
6016
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5921
6017
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5922
6018
|
selector: "autoAccessor"
|
|
5923
6019
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5924
6020
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5925
6021
|
} | {
|
|
5926
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5927
6022
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6023
|
+
failureMessage?: string
|
|
6024
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5928
6025
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5929
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5930
6026
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5931
6027
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5932
|
-
|
|
6028
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5933
6029
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5934
6030
|
selector: "accessor"
|
|
5935
6031
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5936
6032
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5937
6033
|
} | {
|
|
5938
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5939
6034
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6035
|
+
failureMessage?: string
|
|
6036
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5940
6037
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5941
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5942
6038
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5943
6039
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5944
|
-
|
|
6040
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5945
6041
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5946
6042
|
selector: "enumMember"
|
|
5947
6043
|
modifiers?: ("requiresQuotes")[]
|
|
5948
6044
|
} | {
|
|
5949
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5950
6045
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6046
|
+
failureMessage?: string
|
|
6047
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5951
6048
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5952
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5953
6049
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5954
6050
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5955
|
-
|
|
6051
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5956
6052
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5957
6053
|
selector: "typeLike"
|
|
5958
6054
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
5959
6055
|
} | {
|
|
5960
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5961
6056
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6057
|
+
failureMessage?: string
|
|
6058
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5962
6059
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5963
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5964
6060
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5965
6061
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5966
|
-
|
|
6062
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5967
6063
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5968
6064
|
selector: "class"
|
|
5969
6065
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
5970
6066
|
} | {
|
|
5971
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5972
6067
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6068
|
+
failureMessage?: string
|
|
6069
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5973
6070
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5974
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5975
6071
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5976
6072
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5977
|
-
|
|
6073
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5978
6074
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5979
6075
|
selector: "interface"
|
|
5980
6076
|
modifiers?: ("exported" | "unused")[]
|
|
5981
6077
|
} | {
|
|
5982
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5983
6078
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6079
|
+
failureMessage?: string
|
|
6080
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5984
6081
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5985
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5986
6082
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5987
6083
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5988
|
-
|
|
6084
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5989
6085
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5990
6086
|
selector: "typeAlias"
|
|
5991
6087
|
modifiers?: ("exported" | "unused")[]
|
|
5992
6088
|
} | {
|
|
5993
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5994
6089
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6090
|
+
failureMessage?: string
|
|
6091
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5995
6092
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5996
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5997
6093
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5998
6094
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5999
|
-
|
|
6095
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6000
6096
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6001
6097
|
selector: "enum"
|
|
6002
6098
|
modifiers?: ("exported" | "unused")[]
|
|
6003
6099
|
} | {
|
|
6004
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6005
6100
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6006
|
-
|
|
6007
|
-
|
|
6101
|
+
failureMessage?: string
|
|
6102
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6103
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6008
6104
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6009
6105
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6010
|
-
|
|
6106
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6011
6107
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6012
6108
|
selector: "typeParameter"
|
|
6013
6109
|
modifiers?: ("unused")[]
|
|
6014
6110
|
} | {
|
|
6015
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6016
6111
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6112
|
+
failureMessage?: string
|
|
6113
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6017
6114
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6018
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6019
6115
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6020
6116
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6021
|
-
|
|
6117
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6022
6118
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6023
6119
|
selector: "import"
|
|
6024
6120
|
modifiers?: ("default" | "namespace")[]
|
|
@@ -6029,30 +6125,58 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
|
6029
6125
|
}
|
|
6030
6126
|
// ----- @typescript-eslint/no-base-to-string -----
|
|
6031
6127
|
type TypescriptEslintNoBaseToString = []|[{
|
|
6128
|
+
|
|
6032
6129
|
ignoredTypeNames?: string[]
|
|
6033
6130
|
}]
|
|
6034
6131
|
// ----- @typescript-eslint/no-confusing-void-expression -----
|
|
6035
6132
|
type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
6133
|
+
|
|
6036
6134
|
ignoreArrowShorthand?: boolean
|
|
6135
|
+
|
|
6037
6136
|
ignoreVoidOperator?: boolean
|
|
6137
|
+
|
|
6138
|
+
ignoreVoidReturningFunctions?: boolean
|
|
6139
|
+
}]
|
|
6140
|
+
// ----- @typescript-eslint/no-deprecated -----
|
|
6141
|
+
type TypescriptEslintNoDeprecated = []|[{
|
|
6142
|
+
|
|
6143
|
+
allow?: (string | {
|
|
6144
|
+
from: "file"
|
|
6145
|
+
name: (string | [string, ...(string)[]])
|
|
6146
|
+
path?: string
|
|
6147
|
+
} | {
|
|
6148
|
+
from: "lib"
|
|
6149
|
+
name: (string | [string, ...(string)[]])
|
|
6150
|
+
} | {
|
|
6151
|
+
from: "package"
|
|
6152
|
+
name: (string | [string, ...(string)[]])
|
|
6153
|
+
package: string
|
|
6154
|
+
})[]
|
|
6038
6155
|
}]
|
|
6039
6156
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
6040
6157
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
6158
|
+
|
|
6041
6159
|
ignoreIntersections?: boolean
|
|
6160
|
+
|
|
6042
6161
|
ignoreUnions?: boolean
|
|
6043
6162
|
}]
|
|
6044
6163
|
// ----- @typescript-eslint/no-empty-function -----
|
|
6045
6164
|
type TypescriptEslintNoEmptyFunction = []|[{
|
|
6165
|
+
|
|
6046
6166
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
|
|
6047
6167
|
}]
|
|
6048
6168
|
// ----- @typescript-eslint/no-empty-interface -----
|
|
6049
6169
|
type TypescriptEslintNoEmptyInterface = []|[{
|
|
6170
|
+
|
|
6050
6171
|
allowSingleExtends?: boolean
|
|
6051
6172
|
}]
|
|
6052
6173
|
// ----- @typescript-eslint/no-empty-object-type -----
|
|
6053
6174
|
type TypescriptEslintNoEmptyObjectType = []|[{
|
|
6175
|
+
|
|
6054
6176
|
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
6177
|
+
|
|
6055
6178
|
allowObjectTypes?: ("always" | "never")
|
|
6179
|
+
|
|
6056
6180
|
allowWithName?: string
|
|
6057
6181
|
}]
|
|
6058
6182
|
// ----- @typescript-eslint/no-explicit-any -----
|
|
@@ -6075,7 +6199,8 @@ type TypescriptEslintNoExtraneousClass = []|[{
|
|
|
6075
6199
|
}]
|
|
6076
6200
|
// ----- @typescript-eslint/no-floating-promises -----
|
|
6077
6201
|
type TypescriptEslintNoFloatingPromises = []|[{
|
|
6078
|
-
|
|
6202
|
+
|
|
6203
|
+
allowForKnownSafeCalls?: (string | {
|
|
6079
6204
|
from: "file"
|
|
6080
6205
|
name: (string | [string, ...(string)[]])
|
|
6081
6206
|
path?: string
|
|
@@ -6087,7 +6212,8 @@ type TypescriptEslintNoFloatingPromises = []|[{
|
|
|
6087
6212
|
name: (string | [string, ...(string)[]])
|
|
6088
6213
|
package: string
|
|
6089
6214
|
})[]
|
|
6090
|
-
|
|
6215
|
+
|
|
6216
|
+
allowForKnownSafePromises?: (string | {
|
|
6091
6217
|
from: "file"
|
|
6092
6218
|
name: (string | [string, ...(string)[]])
|
|
6093
6219
|
path?: string
|
|
@@ -6102,13 +6228,15 @@ type TypescriptEslintNoFloatingPromises = []|[{
|
|
|
6102
6228
|
|
|
6103
6229
|
checkThenables?: boolean
|
|
6104
6230
|
|
|
6105
|
-
ignoreVoid?: boolean
|
|
6106
|
-
|
|
6107
6231
|
ignoreIIFE?: boolean
|
|
6232
|
+
|
|
6233
|
+
ignoreVoid?: boolean
|
|
6108
6234
|
}]
|
|
6109
6235
|
// ----- @typescript-eslint/no-inferrable-types -----
|
|
6110
6236
|
type TypescriptEslintNoInferrableTypes = []|[{
|
|
6237
|
+
|
|
6111
6238
|
ignoreParameters?: boolean
|
|
6239
|
+
|
|
6112
6240
|
ignoreProperties?: boolean
|
|
6113
6241
|
}]
|
|
6114
6242
|
// ----- @typescript-eslint/no-invalid-this -----
|
|
@@ -6117,8 +6245,10 @@ type TypescriptEslintNoInvalidThis = []|[{
|
|
|
6117
6245
|
}]
|
|
6118
6246
|
// ----- @typescript-eslint/no-invalid-void-type -----
|
|
6119
6247
|
type TypescriptEslintNoInvalidVoidType = []|[{
|
|
6120
|
-
|
|
6248
|
+
|
|
6121
6249
|
allowAsThisParameter?: boolean
|
|
6250
|
+
|
|
6251
|
+
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
6122
6252
|
}]
|
|
6123
6253
|
// ----- @typescript-eslint/no-magic-numbers -----
|
|
6124
6254
|
type TypescriptEslintNoMagicNumbers = []|[{
|
|
@@ -6128,27 +6258,57 @@ type TypescriptEslintNoMagicNumbers = []|[{
|
|
|
6128
6258
|
ignoreArrayIndexes?: boolean
|
|
6129
6259
|
ignoreDefaultValues?: boolean
|
|
6130
6260
|
ignoreClassFieldInitialValues?: boolean
|
|
6131
|
-
|
|
6261
|
+
|
|
6132
6262
|
ignoreEnums?: boolean
|
|
6263
|
+
|
|
6264
|
+
ignoreNumericLiteralTypes?: boolean
|
|
6265
|
+
|
|
6133
6266
|
ignoreReadonlyClassProperties?: boolean
|
|
6267
|
+
|
|
6134
6268
|
ignoreTypeIndexes?: boolean
|
|
6135
6269
|
}]
|
|
6136
6270
|
// ----- @typescript-eslint/no-meaningless-void-operator -----
|
|
6137
6271
|
type TypescriptEslintNoMeaninglessVoidOperator = []|[{
|
|
6272
|
+
|
|
6138
6273
|
checkNever?: boolean
|
|
6139
6274
|
}]
|
|
6140
6275
|
// ----- @typescript-eslint/no-misused-promises -----
|
|
6141
6276
|
type TypescriptEslintNoMisusedPromises = []|[{
|
|
6277
|
+
|
|
6142
6278
|
checksConditionals?: boolean
|
|
6279
|
+
|
|
6280
|
+
checksSpreads?: boolean
|
|
6281
|
+
|
|
6143
6282
|
checksVoidReturn?: (boolean | {
|
|
6283
|
+
|
|
6144
6284
|
arguments?: boolean
|
|
6285
|
+
|
|
6145
6286
|
attributes?: boolean
|
|
6287
|
+
|
|
6146
6288
|
inheritedMethods?: boolean
|
|
6289
|
+
|
|
6147
6290
|
properties?: boolean
|
|
6291
|
+
|
|
6148
6292
|
returns?: boolean
|
|
6293
|
+
|
|
6149
6294
|
variables?: boolean
|
|
6150
6295
|
})
|
|
6151
|
-
|
|
6296
|
+
}]
|
|
6297
|
+
// ----- @typescript-eslint/no-misused-spread -----
|
|
6298
|
+
type TypescriptEslintNoMisusedSpread = []|[{
|
|
6299
|
+
|
|
6300
|
+
allow?: (string | {
|
|
6301
|
+
from: "file"
|
|
6302
|
+
name: (string | [string, ...(string)[]])
|
|
6303
|
+
path?: string
|
|
6304
|
+
} | {
|
|
6305
|
+
from: "lib"
|
|
6306
|
+
name: (string | [string, ...(string)[]])
|
|
6307
|
+
} | {
|
|
6308
|
+
from: "package"
|
|
6309
|
+
name: (string | [string, ...(string)[]])
|
|
6310
|
+
package: string
|
|
6311
|
+
})[]
|
|
6152
6312
|
}]
|
|
6153
6313
|
// ----- @typescript-eslint/no-namespace -----
|
|
6154
6314
|
type TypescriptEslintNoNamespace = []|[{
|
|
@@ -6159,7 +6319,9 @@ type TypescriptEslintNoNamespace = []|[{
|
|
|
6159
6319
|
}]
|
|
6160
6320
|
// ----- @typescript-eslint/no-redeclare -----
|
|
6161
6321
|
type TypescriptEslintNoRedeclare = []|[{
|
|
6322
|
+
|
|
6162
6323
|
builtinGlobals?: boolean
|
|
6324
|
+
|
|
6163
6325
|
ignoreDeclarationMerge?: boolean
|
|
6164
6326
|
}]
|
|
6165
6327
|
// ----- @typescript-eslint/no-require-imports -----
|
|
@@ -6204,25 +6366,32 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
6204
6366
|
}])
|
|
6205
6367
|
// ----- @typescript-eslint/no-restricted-types -----
|
|
6206
6368
|
type TypescriptEslintNoRestrictedTypes = []|[{
|
|
6369
|
+
|
|
6207
6370
|
types?: {
|
|
6208
6371
|
[k: string]: (true | string | {
|
|
6209
6372
|
|
|
6210
|
-
message?: string
|
|
6211
|
-
|
|
6212
6373
|
fixWith?: string
|
|
6213
6374
|
|
|
6375
|
+
message?: string
|
|
6376
|
+
|
|
6214
6377
|
suggest?: string[]
|
|
6215
6378
|
}) | undefined
|
|
6216
6379
|
}
|
|
6217
6380
|
}]
|
|
6218
6381
|
// ----- @typescript-eslint/no-shadow -----
|
|
6219
6382
|
type TypescriptEslintNoShadow = []|[{
|
|
6220
|
-
|
|
6221
|
-
hoist?: ("all" | "functions" | "never")
|
|
6383
|
+
|
|
6222
6384
|
allow?: string[]
|
|
6385
|
+
|
|
6386
|
+
builtinGlobals?: boolean
|
|
6387
|
+
|
|
6388
|
+
hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types")
|
|
6389
|
+
|
|
6390
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
6391
|
+
|
|
6223
6392
|
ignoreOnInitialization?: boolean
|
|
6393
|
+
|
|
6224
6394
|
ignoreTypeValueShadow?: boolean
|
|
6225
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
6226
6395
|
}]
|
|
6227
6396
|
// ----- @typescript-eslint/no-this-alias -----
|
|
6228
6397
|
type TypescriptEslintNoThisAlias = []|[{
|
|
@@ -6242,20 +6411,20 @@ type TypescriptEslintNoTypeAlias = []|[{
|
|
|
6242
6411
|
|
|
6243
6412
|
allowConstructors?: ("always" | "never")
|
|
6244
6413
|
|
|
6414
|
+
allowGenerics?: ("always" | "never")
|
|
6415
|
+
|
|
6245
6416
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6246
6417
|
|
|
6247
6418
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6248
6419
|
|
|
6249
6420
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6250
|
-
|
|
6251
|
-
allowGenerics?: ("always" | "never")
|
|
6252
6421
|
}]
|
|
6253
6422
|
// ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
6254
6423
|
type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
6255
6424
|
|
|
6256
|
-
allowComparingNullableBooleansToTrue?: boolean
|
|
6257
|
-
|
|
6258
6425
|
allowComparingNullableBooleansToFalse?: boolean
|
|
6426
|
+
|
|
6427
|
+
allowComparingNullableBooleansToTrue?: boolean
|
|
6259
6428
|
}]
|
|
6260
6429
|
// ----- @typescript-eslint/no-unnecessary-condition -----
|
|
6261
6430
|
type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
@@ -6263,6 +6432,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
6263
6432
|
allowConstantLoopConditions?: boolean
|
|
6264
6433
|
|
|
6265
6434
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6435
|
+
|
|
6436
|
+
checkTypePredicates?: boolean
|
|
6266
6437
|
}]
|
|
6267
6438
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
6268
6439
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -6278,26 +6449,43 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
6278
6449
|
}]
|
|
6279
6450
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
6280
6451
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
6281
|
-
|
|
6282
|
-
varsIgnorePattern?: string
|
|
6452
|
+
|
|
6283
6453
|
args?: ("all" | "after-used" | "none")
|
|
6284
|
-
|
|
6454
|
+
|
|
6285
6455
|
argsIgnorePattern?: string
|
|
6456
|
+
|
|
6286
6457
|
caughtErrors?: ("all" | "none")
|
|
6458
|
+
|
|
6287
6459
|
caughtErrorsIgnorePattern?: string
|
|
6460
|
+
|
|
6288
6461
|
destructuredArrayIgnorePattern?: string
|
|
6462
|
+
|
|
6289
6463
|
ignoreClassWithStaticInitBlock?: boolean
|
|
6464
|
+
|
|
6465
|
+
ignoreRestSiblings?: boolean
|
|
6466
|
+
|
|
6290
6467
|
reportUsedIgnorePattern?: boolean
|
|
6468
|
+
|
|
6469
|
+
vars?: ("all" | "local")
|
|
6470
|
+
|
|
6471
|
+
varsIgnorePattern?: string
|
|
6291
6472
|
})]
|
|
6292
6473
|
// ----- @typescript-eslint/no-use-before-define -----
|
|
6293
6474
|
type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
6294
|
-
|
|
6475
|
+
|
|
6476
|
+
allowNamedExports?: boolean
|
|
6477
|
+
|
|
6295
6478
|
classes?: boolean
|
|
6479
|
+
|
|
6296
6480
|
enums?: boolean
|
|
6297
|
-
|
|
6298
|
-
|
|
6481
|
+
|
|
6482
|
+
functions?: boolean
|
|
6483
|
+
|
|
6299
6484
|
ignoreTypeReferences?: boolean
|
|
6300
|
-
|
|
6485
|
+
|
|
6486
|
+
typedefs?: boolean
|
|
6487
|
+
|
|
6488
|
+
variables?: boolean
|
|
6301
6489
|
})]
|
|
6302
6490
|
// ----- @typescript-eslint/no-var-requires -----
|
|
6303
6491
|
type TypescriptEslintNoVarRequires = []|[{
|
|
@@ -6306,21 +6494,38 @@ type TypescriptEslintNoVarRequires = []|[{
|
|
|
6306
6494
|
}]
|
|
6307
6495
|
// ----- @typescript-eslint/only-throw-error -----
|
|
6308
6496
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
6497
|
+
|
|
6498
|
+
allow?: (string | {
|
|
6499
|
+
from: "file"
|
|
6500
|
+
name: (string | [string, ...(string)[]])
|
|
6501
|
+
path?: string
|
|
6502
|
+
} | {
|
|
6503
|
+
from: "lib"
|
|
6504
|
+
name: (string | [string, ...(string)[]])
|
|
6505
|
+
} | {
|
|
6506
|
+
from: "package"
|
|
6507
|
+
name: (string | [string, ...(string)[]])
|
|
6508
|
+
package: string
|
|
6509
|
+
})[]
|
|
6510
|
+
|
|
6309
6511
|
allowThrowingAny?: boolean
|
|
6512
|
+
|
|
6310
6513
|
allowThrowingUnknown?: boolean
|
|
6311
6514
|
}]
|
|
6312
6515
|
// ----- @typescript-eslint/parameter-properties -----
|
|
6313
6516
|
type TypescriptEslintParameterProperties = []|[{
|
|
6517
|
+
|
|
6314
6518
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
6519
|
+
|
|
6315
6520
|
prefer?: ("class-property" | "parameter-property")
|
|
6316
6521
|
}]
|
|
6317
6522
|
// ----- @typescript-eslint/prefer-destructuring -----
|
|
6318
6523
|
type TypescriptEslintPreferDestructuring = []|[({
|
|
6319
|
-
|
|
6524
|
+
AssignmentExpression?: {
|
|
6320
6525
|
array?: boolean
|
|
6321
6526
|
object?: boolean
|
|
6322
6527
|
}
|
|
6323
|
-
|
|
6528
|
+
VariableDeclarator?: {
|
|
6324
6529
|
array?: boolean
|
|
6325
6530
|
object?: boolean
|
|
6326
6531
|
}
|
|
@@ -6328,11 +6533,11 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
6328
6533
|
array?: boolean
|
|
6329
6534
|
object?: boolean
|
|
6330
6535
|
})]|[({
|
|
6331
|
-
|
|
6536
|
+
AssignmentExpression?: {
|
|
6332
6537
|
array?: boolean
|
|
6333
6538
|
object?: boolean
|
|
6334
6539
|
}
|
|
6335
|
-
|
|
6540
|
+
VariableDeclarator?: {
|
|
6336
6541
|
array?: boolean
|
|
6337
6542
|
object?: boolean
|
|
6338
6543
|
}
|
|
@@ -6340,57 +6545,78 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
6340
6545
|
array?: boolean
|
|
6341
6546
|
object?: boolean
|
|
6342
6547
|
}), {
|
|
6343
|
-
|
|
6548
|
+
|
|
6344
6549
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
6550
|
+
|
|
6551
|
+
enforceForRenamedProperties?: boolean
|
|
6345
6552
|
[k: string]: unknown | undefined
|
|
6346
6553
|
}]
|
|
6347
6554
|
// ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
6348
6555
|
type TypescriptEslintPreferLiteralEnumMember = []|[{
|
|
6556
|
+
|
|
6349
6557
|
allowBitwiseExpressions?: boolean
|
|
6350
6558
|
}]
|
|
6351
6559
|
// ----- @typescript-eslint/prefer-nullish-coalescing -----
|
|
6352
6560
|
type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
6561
|
+
|
|
6353
6562
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6563
|
+
|
|
6564
|
+
ignoreBooleanCoercion?: boolean
|
|
6565
|
+
|
|
6354
6566
|
ignoreConditionalTests?: boolean
|
|
6567
|
+
|
|
6355
6568
|
ignoreMixedLogicalExpressions?: boolean
|
|
6569
|
+
|
|
6356
6570
|
ignorePrimitives?: ({
|
|
6571
|
+
|
|
6357
6572
|
bigint?: boolean
|
|
6573
|
+
|
|
6358
6574
|
boolean?: boolean
|
|
6575
|
+
|
|
6359
6576
|
number?: boolean
|
|
6577
|
+
|
|
6360
6578
|
string?: boolean
|
|
6361
6579
|
[k: string]: unknown | undefined
|
|
6362
6580
|
} | true)
|
|
6581
|
+
|
|
6363
6582
|
ignoreTernaryTests?: boolean
|
|
6364
6583
|
}]
|
|
6365
6584
|
// ----- @typescript-eslint/prefer-optional-chain -----
|
|
6366
6585
|
type TypescriptEslintPreferOptionalChain = []|[{
|
|
6367
6586
|
|
|
6587
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
6588
|
+
|
|
6368
6589
|
checkAny?: boolean
|
|
6369
6590
|
|
|
6370
|
-
|
|
6591
|
+
checkBigInt?: boolean
|
|
6371
6592
|
|
|
6372
|
-
|
|
6593
|
+
checkBoolean?: boolean
|
|
6373
6594
|
|
|
6374
6595
|
checkNumber?: boolean
|
|
6375
6596
|
|
|
6376
|
-
|
|
6597
|
+
checkString?: boolean
|
|
6377
6598
|
|
|
6378
|
-
|
|
6599
|
+
checkUnknown?: boolean
|
|
6379
6600
|
|
|
6380
6601
|
requireNullish?: boolean
|
|
6381
|
-
|
|
6382
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
6383
6602
|
}]
|
|
6384
6603
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
6385
6604
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
6605
|
+
|
|
6386
6606
|
allowEmptyReject?: boolean
|
|
6607
|
+
|
|
6608
|
+
allowThrowingAny?: boolean
|
|
6609
|
+
|
|
6610
|
+
allowThrowingUnknown?: boolean
|
|
6387
6611
|
}]
|
|
6388
6612
|
// ----- @typescript-eslint/prefer-readonly -----
|
|
6389
6613
|
type TypescriptEslintPreferReadonly = []|[{
|
|
6614
|
+
|
|
6390
6615
|
onlyInlineLambdas?: boolean
|
|
6391
6616
|
}]
|
|
6392
6617
|
// ----- @typescript-eslint/prefer-readonly-parameter-types -----
|
|
6393
6618
|
type TypescriptEslintPreferReadonlyParameterTypes = []|[{
|
|
6619
|
+
|
|
6394
6620
|
allow?: (string | {
|
|
6395
6621
|
from: "file"
|
|
6396
6622
|
name: (string | [string, ...(string)[]])
|
|
@@ -6403,8 +6629,11 @@ type TypescriptEslintPreferReadonlyParameterTypes = []|[{
|
|
|
6403
6629
|
name: (string | [string, ...(string)[]])
|
|
6404
6630
|
package: string
|
|
6405
6631
|
})[]
|
|
6632
|
+
|
|
6406
6633
|
checkParameterProperties?: boolean
|
|
6634
|
+
|
|
6407
6635
|
ignoreInferredTypes?: boolean
|
|
6636
|
+
|
|
6408
6637
|
treatMethodsAsReadonly?: boolean
|
|
6409
6638
|
}]
|
|
6410
6639
|
// ----- @typescript-eslint/prefer-string-starts-ends-with -----
|
|
@@ -6418,9 +6647,13 @@ type TypescriptEslintPromiseFunctionAsync = []|[{
|
|
|
6418
6647
|
allowAny?: boolean
|
|
6419
6648
|
|
|
6420
6649
|
allowedPromiseNames?: string[]
|
|
6650
|
+
|
|
6421
6651
|
checkArrowFunctions?: boolean
|
|
6652
|
+
|
|
6422
6653
|
checkFunctionDeclarations?: boolean
|
|
6654
|
+
|
|
6423
6655
|
checkFunctionExpressions?: boolean
|
|
6656
|
+
|
|
6424
6657
|
checkMethodDeclarations?: boolean
|
|
6425
6658
|
}]
|
|
6426
6659
|
// ----- @typescript-eslint/require-array-sort-compare -----
|
|
@@ -6459,54 +6692,91 @@ type TypescriptEslintRestrictTemplateExpressions = []|[{
|
|
|
6459
6692
|
allowRegExp?: boolean
|
|
6460
6693
|
|
|
6461
6694
|
allowNever?: boolean
|
|
6695
|
+
|
|
6696
|
+
allow?: (string | {
|
|
6697
|
+
from: "file"
|
|
6698
|
+
name: (string | [string, ...(string)[]])
|
|
6699
|
+
path?: string
|
|
6700
|
+
} | {
|
|
6701
|
+
from: "lib"
|
|
6702
|
+
name: (string | [string, ...(string)[]])
|
|
6703
|
+
} | {
|
|
6704
|
+
from: "package"
|
|
6705
|
+
name: (string | [string, ...(string)[]])
|
|
6706
|
+
package: string
|
|
6707
|
+
})[]
|
|
6462
6708
|
}]
|
|
6463
6709
|
// ----- @typescript-eslint/return-await -----
|
|
6464
|
-
type TypescriptEslintReturnAwait = []|[("
|
|
6710
|
+
type TypescriptEslintReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
6465
6711
|
// ----- @typescript-eslint/sort-type-constituents -----
|
|
6466
6712
|
type TypescriptEslintSortTypeConstituents = []|[{
|
|
6467
6713
|
|
|
6714
|
+
caseSensitive?: boolean
|
|
6715
|
+
|
|
6468
6716
|
checkIntersections?: boolean
|
|
6469
6717
|
|
|
6470
6718
|
checkUnions?: boolean
|
|
6471
6719
|
|
|
6472
|
-
caseSensitive?: boolean
|
|
6473
|
-
|
|
6474
6720
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
6475
6721
|
}]
|
|
6476
6722
|
// ----- @typescript-eslint/strict-boolean-expressions -----
|
|
6477
6723
|
type TypescriptEslintStrictBooleanExpressions = []|[{
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6724
|
+
|
|
6725
|
+
allowAny?: boolean
|
|
6726
|
+
|
|
6481
6727
|
allowNullableBoolean?: boolean
|
|
6482
|
-
|
|
6483
|
-
allowNullableNumber?: boolean
|
|
6728
|
+
|
|
6484
6729
|
allowNullableEnum?: boolean
|
|
6485
|
-
|
|
6730
|
+
|
|
6731
|
+
allowNullableNumber?: boolean
|
|
6732
|
+
|
|
6733
|
+
allowNullableObject?: boolean
|
|
6734
|
+
|
|
6735
|
+
allowNullableString?: boolean
|
|
6736
|
+
|
|
6737
|
+
allowNumber?: boolean
|
|
6738
|
+
|
|
6486
6739
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6740
|
+
|
|
6741
|
+
allowString?: boolean
|
|
6487
6742
|
}]
|
|
6488
6743
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
6489
6744
|
type TypescriptEslintSwitchExhaustivenessCheck = []|[{
|
|
6490
6745
|
|
|
6491
6746
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
6492
6747
|
|
|
6748
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
6749
|
+
|
|
6750
|
+
defaultCaseCommentPattern?: string
|
|
6751
|
+
|
|
6493
6752
|
requireDefaultForNonUnion?: boolean
|
|
6494
6753
|
}]
|
|
6495
6754
|
// ----- @typescript-eslint/triple-slash-reference -----
|
|
6496
6755
|
type TypescriptEslintTripleSlashReference = []|[{
|
|
6756
|
+
|
|
6497
6757
|
lib?: ("always" | "never")
|
|
6758
|
+
|
|
6498
6759
|
path?: ("always" | "never")
|
|
6760
|
+
|
|
6499
6761
|
types?: ("always" | "never" | "prefer-import")
|
|
6500
6762
|
}]
|
|
6501
6763
|
// ----- @typescript-eslint/typedef -----
|
|
6502
6764
|
type TypescriptEslintTypedef = []|[{
|
|
6765
|
+
|
|
6503
6766
|
arrayDestructuring?: boolean
|
|
6767
|
+
|
|
6504
6768
|
arrowParameter?: boolean
|
|
6769
|
+
|
|
6505
6770
|
memberVariableDeclaration?: boolean
|
|
6771
|
+
|
|
6506
6772
|
objectDestructuring?: boolean
|
|
6773
|
+
|
|
6507
6774
|
parameter?: boolean
|
|
6775
|
+
|
|
6508
6776
|
propertyDeclaration?: boolean
|
|
6777
|
+
|
|
6509
6778
|
variableDeclaration?: boolean
|
|
6779
|
+
|
|
6510
6780
|
variableDeclarationIgnoreFunction?: boolean
|
|
6511
6781
|
}]
|
|
6512
6782
|
// ----- @typescript-eslint/unbound-method -----
|
|
@@ -6628,6 +6898,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
6628
6898
|
type Complexity = []|[(number | {
|
|
6629
6899
|
maximum?: number
|
|
6630
6900
|
max?: number
|
|
6901
|
+
variant?: ("classic" | "modified")
|
|
6631
6902
|
})]
|
|
6632
6903
|
// ----- computed-property-spacing -----
|
|
6633
6904
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -6749,17 +7020,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
6749
7020
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6750
7021
|
}
|
|
6751
7022
|
ignorePackages?: boolean
|
|
7023
|
+
checkTypeImports?: boolean
|
|
6752
7024
|
[k: string]: unknown | undefined
|
|
6753
7025
|
}] | []|[{
|
|
6754
7026
|
pattern?: {
|
|
6755
7027
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6756
7028
|
}
|
|
6757
7029
|
ignorePackages?: boolean
|
|
7030
|
+
checkTypeImports?: boolean
|
|
6758
7031
|
[k: string]: unknown | undefined
|
|
6759
|
-
}] | []|[{
|
|
6760
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6761
7032
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
6762
7033
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7034
|
+
}] | []|[{
|
|
7035
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6763
7036
|
}])
|
|
6764
7037
|
// ----- import/first -----
|
|
6765
7038
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -6849,6 +7122,7 @@ type ImportNoExtraneousDependencies = []|[{
|
|
|
6849
7122
|
packageDir?: (string | unknown[])
|
|
6850
7123
|
includeInternal?: boolean
|
|
6851
7124
|
includeTypes?: boolean
|
|
7125
|
+
whitelist?: unknown[]
|
|
6852
7126
|
}]
|
|
6853
7127
|
// ----- import/no-import-module-exports -----
|
|
6854
7128
|
type ImportNoImportModuleExports = []|[{
|
|
@@ -7837,7 +8111,7 @@ type NHashbang = []|[{
|
|
|
7837
8111
|
// ----- n/no-deprecated-api -----
|
|
7838
8112
|
type NNoDeprecatedApi = []|[{
|
|
7839
8113
|
version?: string
|
|
7840
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext")[]
|
|
8114
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[]
|
|
7841
8115
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[]
|
|
7842
8116
|
ignoreIndirectDependencies?: boolean
|
|
7843
8117
|
}]
|
|
@@ -7861,6 +8135,9 @@ type NNoExtraneousImport = []|[{
|
|
|
7861
8135
|
replace: [string, string]
|
|
7862
8136
|
})[]])
|
|
7863
8137
|
resolvePaths?: string[]
|
|
8138
|
+
resolverConfig?: {
|
|
8139
|
+
[k: string]: unknown | undefined
|
|
8140
|
+
}
|
|
7864
8141
|
}]
|
|
7865
8142
|
// ----- n/no-extraneous-require -----
|
|
7866
8143
|
type NNoExtraneousRequire = []|[{
|
|
@@ -7882,6 +8159,9 @@ type NNoExtraneousRequire = []|[{
|
|
|
7882
8159
|
replace: [string, string]
|
|
7883
8160
|
})[]])
|
|
7884
8161
|
resolvePaths?: string[]
|
|
8162
|
+
resolverConfig?: {
|
|
8163
|
+
[k: string]: unknown | undefined
|
|
8164
|
+
}
|
|
7885
8165
|
tryExtensions?: string[]
|
|
7886
8166
|
}]
|
|
7887
8167
|
// ----- n/no-hide-core-modules -----
|
|
@@ -7894,7 +8174,11 @@ type NNoHideCoreModules = []|[{
|
|
|
7894
8174
|
type NNoMissingImport = []|[{
|
|
7895
8175
|
allowModules?: string[]
|
|
7896
8176
|
resolvePaths?: string[]
|
|
8177
|
+
resolverConfig?: {
|
|
8178
|
+
[k: string]: unknown | undefined
|
|
8179
|
+
}
|
|
7897
8180
|
tryExtensions?: string[]
|
|
8181
|
+
ignoreTypeImport?: boolean
|
|
7898
8182
|
tsconfigPath?: string
|
|
7899
8183
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
7900
8184
|
}]
|
|
@@ -7903,6 +8187,9 @@ type NNoMissingRequire = []|[{
|
|
|
7903
8187
|
allowModules?: string[]
|
|
7904
8188
|
tryExtensions?: string[]
|
|
7905
8189
|
resolvePaths?: string[]
|
|
8190
|
+
resolverConfig?: {
|
|
8191
|
+
[k: string]: unknown | undefined
|
|
8192
|
+
}
|
|
7906
8193
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
7907
8194
|
tsconfigPath?: string
|
|
7908
8195
|
}]
|
|
@@ -7911,6 +8198,10 @@ type NNoMixedRequires = []|[(boolean | {
|
|
|
7911
8198
|
grouping?: boolean
|
|
7912
8199
|
allowCall?: boolean
|
|
7913
8200
|
})]
|
|
8201
|
+
// ----- n/no-process-env -----
|
|
8202
|
+
type NNoProcessEnv = []|[{
|
|
8203
|
+
allowedVariables?: string[]
|
|
8204
|
+
}]
|
|
7914
8205
|
// ----- n/no-restricted-import -----
|
|
7915
8206
|
type NNoRestrictedImport = []|[(string | {
|
|
7916
8207
|
name: (string | string[])
|
|
@@ -7924,6 +8215,7 @@ type NNoRestrictedRequire = []|[(string | {
|
|
|
7924
8215
|
// ----- n/no-sync -----
|
|
7925
8216
|
type NNoSync = []|[{
|
|
7926
8217
|
allowAtRootLevel?: boolean
|
|
8218
|
+
ignores?: string[]
|
|
7927
8219
|
}]
|
|
7928
8220
|
// ----- n/no-unpublished-bin -----
|
|
7929
8221
|
type NNoUnpublishedBin = []|[{
|
|
@@ -7965,6 +8257,9 @@ type NNoUnpublishedImport = []|[{
|
|
|
7965
8257
|
replace: [string, string]
|
|
7966
8258
|
})[]])
|
|
7967
8259
|
resolvePaths?: string[]
|
|
8260
|
+
resolverConfig?: {
|
|
8261
|
+
[k: string]: unknown | undefined
|
|
8262
|
+
}
|
|
7968
8263
|
ignoreTypeImport?: boolean
|
|
7969
8264
|
ignorePrivate?: boolean
|
|
7970
8265
|
}]
|
|
@@ -7988,6 +8283,9 @@ type NNoUnpublishedRequire = []|[{
|
|
|
7988
8283
|
replace: [string, string]
|
|
7989
8284
|
})[]])
|
|
7990
8285
|
resolvePaths?: string[]
|
|
8286
|
+
resolverConfig?: {
|
|
8287
|
+
[k: string]: unknown | undefined
|
|
8288
|
+
}
|
|
7991
8289
|
tryExtensions?: string[]
|
|
7992
8290
|
ignorePrivate?: boolean
|
|
7993
8291
|
}]
|
|
@@ -8005,7 +8303,7 @@ type NNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
8005
8303
|
type NNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
8006
8304
|
version?: string
|
|
8007
8305
|
allowExperimental?: boolean
|
|
8008
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
8306
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
8009
8307
|
}]
|
|
8010
8308
|
// ----- n/prefer-global/buffer -----
|
|
8011
8309
|
type NPreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -8720,6 +9018,10 @@ type RegexpUnicodeProperty = []|[{
|
|
|
8720
9018
|
type RequireAtomicUpdates = []|[{
|
|
8721
9019
|
allowProperties?: boolean
|
|
8722
9020
|
}]
|
|
9021
|
+
// ----- require-unicode-regexp -----
|
|
9022
|
+
type RequireUnicodeRegexp = []|[{
|
|
9023
|
+
requireFlag?: ("u" | "v")
|
|
9024
|
+
}]
|
|
8723
9025
|
// ----- rest-spread-spacing -----
|
|
8724
9026
|
type RestSpreadSpacing = []|[("always" | "never")]
|
|
8725
9027
|
// ----- semi -----
|
|
@@ -8751,6 +9053,7 @@ type SortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
8751
9053
|
natural?: boolean
|
|
8752
9054
|
minKeys?: number
|
|
8753
9055
|
allowLineSeparatedGroups?: boolean
|
|
9056
|
+
ignoreComputedKeys?: boolean
|
|
8754
9057
|
}]
|
|
8755
9058
|
// ----- sort-vars -----
|
|
8756
9059
|
type SortVars = []|[{
|
|
@@ -8821,7 +9124,7 @@ type TestConsistentTestIt = []|[{
|
|
|
8821
9124
|
}]
|
|
8822
9125
|
// ----- test/expect-expect -----
|
|
8823
9126
|
type TestExpectExpect = []|[{
|
|
8824
|
-
assertFunctionNames?: []
|
|
9127
|
+
assertFunctionNames?: string[]
|
|
8825
9128
|
additionalTestBlockFunctions?: string[]
|
|
8826
9129
|
}]
|
|
8827
9130
|
// ----- test/max-expects -----
|
|
@@ -8865,8 +9168,7 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
8865
9168
|
}]
|
|
8866
9169
|
// ----- test/no-standalone-expect -----
|
|
8867
9170
|
type TestNoStandaloneExpect = []|[{
|
|
8868
|
-
|
|
8869
|
-
[k: string]: unknown | undefined
|
|
9171
|
+
additionalTestBlockFunctions?: string[]
|
|
8870
9172
|
}]
|
|
8871
9173
|
// ----- test/prefer-expect-assertions -----
|
|
8872
9174
|
type TestPreferExpectAssertions = []|[{
|
|
@@ -9114,29 +9416,49 @@ type UnocssEnforceClassCompile = []|[{
|
|
|
9114
9416
|
}]
|
|
9115
9417
|
// ----- unused-imports/no-unused-imports -----
|
|
9116
9418
|
type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
9117
|
-
|
|
9118
|
-
varsIgnorePattern?: string
|
|
9419
|
+
|
|
9119
9420
|
args?: ("all" | "after-used" | "none")
|
|
9120
|
-
|
|
9421
|
+
|
|
9121
9422
|
argsIgnorePattern?: string
|
|
9423
|
+
|
|
9122
9424
|
caughtErrors?: ("all" | "none")
|
|
9425
|
+
|
|
9123
9426
|
caughtErrorsIgnorePattern?: string
|
|
9427
|
+
|
|
9124
9428
|
destructuredArrayIgnorePattern?: string
|
|
9429
|
+
|
|
9125
9430
|
ignoreClassWithStaticInitBlock?: boolean
|
|
9431
|
+
|
|
9432
|
+
ignoreRestSiblings?: boolean
|
|
9433
|
+
|
|
9126
9434
|
reportUsedIgnorePattern?: boolean
|
|
9435
|
+
|
|
9436
|
+
vars?: ("all" | "local")
|
|
9437
|
+
|
|
9438
|
+
varsIgnorePattern?: string
|
|
9127
9439
|
})]
|
|
9128
9440
|
// ----- unused-imports/no-unused-vars -----
|
|
9129
9441
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
9130
|
-
|
|
9131
|
-
varsIgnorePattern?: string
|
|
9442
|
+
|
|
9132
9443
|
args?: ("all" | "after-used" | "none")
|
|
9133
|
-
|
|
9444
|
+
|
|
9134
9445
|
argsIgnorePattern?: string
|
|
9446
|
+
|
|
9135
9447
|
caughtErrors?: ("all" | "none")
|
|
9448
|
+
|
|
9136
9449
|
caughtErrorsIgnorePattern?: string
|
|
9450
|
+
|
|
9137
9451
|
destructuredArrayIgnorePattern?: string
|
|
9452
|
+
|
|
9138
9453
|
ignoreClassWithStaticInitBlock?: boolean
|
|
9454
|
+
|
|
9455
|
+
ignoreRestSiblings?: boolean
|
|
9456
|
+
|
|
9139
9457
|
reportUsedIgnorePattern?: boolean
|
|
9458
|
+
|
|
9459
|
+
vars?: ("all" | "local")
|
|
9460
|
+
|
|
9461
|
+
varsIgnorePattern?: string
|
|
9140
9462
|
})]
|
|
9141
9463
|
// ----- use-isnan -----
|
|
9142
9464
|
type UseIsnan = []|[{
|
|
@@ -9179,6 +9501,7 @@ type VueAttributeHyphenation = []|[("always" | "never")]|[("always" | "never"),
|
|
|
9179
9501
|
} & {
|
|
9180
9502
|
[k: string]: unknown | undefined
|
|
9181
9503
|
})[]
|
|
9504
|
+
ignoreTags?: string[]
|
|
9182
9505
|
}]
|
|
9183
9506
|
// ----- vue/attributes-order -----
|
|
9184
9507
|
type VueAttributesOrder = []|[{
|
|
@@ -9275,7 +9598,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
|
|
|
9275
9598
|
type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
|
|
9276
9599
|
// ----- vue/define-macros-order -----
|
|
9277
9600
|
type VueDefineMacrosOrder = []|[{
|
|
9278
|
-
order?:
|
|
9601
|
+
order?: string[]
|
|
9279
9602
|
defineExposeLast?: boolean
|
|
9280
9603
|
}]
|
|
9281
9604
|
// ----- vue/define-props-declaration -----
|
|
@@ -9806,6 +10129,14 @@ type VueMaxLinesPerBlock = []|[{
|
|
|
9806
10129
|
script?: number
|
|
9807
10130
|
skipBlankLines?: boolean
|
|
9808
10131
|
}]
|
|
10132
|
+
// ----- vue/max-props -----
|
|
10133
|
+
type VueMaxProps = []|[{
|
|
10134
|
+
maxProps?: number
|
|
10135
|
+
}]
|
|
10136
|
+
// ----- vue/max-template-depth -----
|
|
10137
|
+
type VueMaxTemplateDepth = []|[{
|
|
10138
|
+
maxDepth?: number
|
|
10139
|
+
}]
|
|
9809
10140
|
// ----- vue/multi-word-component-names -----
|
|
9810
10141
|
type VueMultiWordComponentNames = []|[{
|
|
9811
10142
|
ignores?: string[]
|
|
@@ -9867,6 +10198,10 @@ type VueNoDeprecatedSlotAttribute = []|[{
|
|
|
9867
10198
|
type VueNoDupeKeys = []|[{
|
|
9868
10199
|
groups?: unknown[]
|
|
9869
10200
|
}]
|
|
10201
|
+
// ----- vue/no-duplicate-attr-inheritance -----
|
|
10202
|
+
type VueNoDuplicateAttrInheritance = []|[{
|
|
10203
|
+
checkMultiRootNodes?: boolean
|
|
10204
|
+
}]
|
|
9870
10205
|
// ----- vue/no-duplicate-attributes -----
|
|
9871
10206
|
type VueNoDuplicateAttributes = []|[{
|
|
9872
10207
|
allowCoexistClass?: boolean
|
|
@@ -9965,6 +10300,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
9965
10300
|
type VueNoReservedComponentNames = []|[{
|
|
9966
10301
|
disallowVueBuiltInComponents?: boolean
|
|
9967
10302
|
disallowVue3BuiltInComponents?: boolean
|
|
10303
|
+
htmlElementCaseSensitive?: boolean
|
|
9968
10304
|
}]
|
|
9969
10305
|
// ----- vue/no-reserved-keys -----
|
|
9970
10306
|
type VueNoReservedKeys = []|[{
|
|
@@ -10101,6 +10437,7 @@ type VueNoUselessVBind = []|[{
|
|
|
10101
10437
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
10102
10438
|
type VueNoVTextVHtmlOnComponent = []|[{
|
|
10103
10439
|
allow?: string[]
|
|
10440
|
+
ignoreElementNamespaces?: boolean
|
|
10104
10441
|
}]
|
|
10105
10442
|
// ----- vue/object-curly-newline -----
|
|
10106
10443
|
type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
@@ -10207,6 +10544,14 @@ type VueRequireMacroVariableName = []|[{
|
|
|
10207
10544
|
type VueRequirePropComment = []|[{
|
|
10208
10545
|
type?: ("JSDoc" | "line" | "block" | "any")
|
|
10209
10546
|
}]
|
|
10547
|
+
// ----- vue/require-toggle-inside-transition -----
|
|
10548
|
+
type VueRequireToggleInsideTransition = []|[{
|
|
10549
|
+
additionalDirectives?: string[]
|
|
10550
|
+
}]
|
|
10551
|
+
// ----- vue/restricted-component-names -----
|
|
10552
|
+
type VueRestrictedComponentNames = []|[{
|
|
10553
|
+
allow?: string[]
|
|
10554
|
+
}]
|
|
10210
10555
|
// ----- vue/return-in-computed-property -----
|
|
10211
10556
|
type VueReturnInComputedProperty = []|[{
|
|
10212
10557
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -10228,6 +10573,8 @@ type VueSinglelineHtmlElementContentNewline = []|[{
|
|
|
10228
10573
|
ignores?: string[]
|
|
10229
10574
|
externalIgnores?: string[]
|
|
10230
10575
|
}]
|
|
10576
|
+
// ----- vue/slot-name-casing -----
|
|
10577
|
+
type VueSlotNameCasing = []|[("camelCase" | "kebab-case" | "singleword")]
|
|
10231
10578
|
// ----- vue/sort-keys -----
|
|
10232
10579
|
type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
10233
10580
|
caseSensitive?: boolean
|
|
@@ -10271,6 +10618,7 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
10271
10618
|
} & {
|
|
10272
10619
|
[k: string]: unknown | undefined
|
|
10273
10620
|
})[]
|
|
10621
|
+
ignoreTags?: string[]
|
|
10274
10622
|
}]
|
|
10275
10623
|
// ----- vue/v-on-function-call -----
|
|
10276
10624
|
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -10311,7 +10659,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
10311
10659
|
onlyEquality?: boolean
|
|
10312
10660
|
}]
|
|
10313
10661
|
// Names of all the configs
|
|
10314
|
-
type ConfigNames = '@eslint-community/eslint-comments' | 'formatter/setup' | 'formatter/css' | 'formatter/scss' | 'formatter/less' | 'formatter/graphql' | 'formatter/html' | 'formatter/markdown' | 'imports' | 'javascript/rules' | '
|
|
10662
|
+
type ConfigNames = '@eslint-community/eslint-comments' | 'formatter/setup' | 'formatter/css' | 'formatter/scss' | 'formatter/less' | 'formatter/graphql' | 'formatter/html' | 'formatter/markdown' | 'imports' | 'javascript/rules' | 'jsonc' | 'node' | 'regexp' | 'sort/package-json' | 'test' | 'typescript/setup' | 'typescript/parser' | 'typescript/rules' | 'unicorn' | 'unocss' | 'vue'
|
|
10315
10663
|
|
|
10316
10664
|
type Awaitable<T> = T | Promise<T>;
|
|
10317
10665
|
type Rules = RuleOptions;
|
|
@@ -10488,9 +10836,11 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
10488
10836
|
|
|
10489
10837
|
declare function comments(): TypedFlatConfigItem[];
|
|
10490
10838
|
|
|
10839
|
+
declare function disables(): TypedFlatConfigItem[];
|
|
10840
|
+
|
|
10491
10841
|
declare function formatters(options?: OptionsFormatters | true): TypedFlatConfigItem[];
|
|
10492
10842
|
|
|
10493
|
-
declare function ignores(): TypedFlatConfigItem[];
|
|
10843
|
+
declare function ignores(userIgnores?: string[]): TypedFlatConfigItem[];
|
|
10494
10844
|
|
|
10495
10845
|
declare function imports(): TypedFlatConfigItem[];
|
|
10496
10846
|
|
|
@@ -10500,6 +10850,8 @@ declare function jsonc(options?: OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
|
10500
10850
|
|
|
10501
10851
|
declare function node(): TypedFlatConfigItem[];
|
|
10502
10852
|
|
|
10853
|
+
declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
10854
|
+
|
|
10503
10855
|
/**
|
|
10504
10856
|
* Sort package.json
|
|
10505
10857
|
*
|
|
@@ -10523,8 +10875,6 @@ declare function unocss(): Promise<TypedFlatConfigItem[]>;
|
|
|
10523
10875
|
|
|
10524
10876
|
declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
10525
10877
|
|
|
10526
|
-
declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
10527
|
-
|
|
10528
10878
|
/**
|
|
10529
10879
|
* Construct an array of ESLint flat config items.
|
|
10530
10880
|
*
|
|
@@ -10535,7 +10885,7 @@ declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
|
10535
10885
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
10536
10886
|
* The merged ESLint configurations.
|
|
10537
10887
|
*/
|
|
10538
|
-
declare const factoryConfig: (options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
10888
|
+
declare const factoryConfig: (options?: OptionsConfig & Omit<TypedFlatConfigItem, "files">, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
10539
10889
|
|
|
10540
10890
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
10541
10891
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -10600,6 +10950,7 @@ declare function toArray<T>(value: T | T[]): T[];
|
|
|
10600
10950
|
declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
10601
10951
|
default: infer U;
|
|
10602
10952
|
} ? U : T>;
|
|
10953
|
+
declare function isInGitHooksOrLintStaged(): boolean;
|
|
10603
10954
|
declare function isInEditorEnv(): boolean;
|
|
10604
10955
|
|
|
10605
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsVue, type Rules, type TypedFlatConfigItem, combine, comments, factoryConfig, formatters, ignores, imports, interopDefault, isInEditorEnv, javascript, jsonc, node, parserPlain, regexp, sortPackageJson, sortTsconfig, test, toArray, typescript, unicorn, unocss, vue };
|
|
10956
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsVue, type Rules, type TypedFlatConfigItem, combine, comments, disables, factoryConfig, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, javascript, jsonc, node, parserPlain, regexp, sortPackageJson, sortTsconfig, test, toArray, typescript, unicorn, unocss, vue };
|