@cany748/eslint-config 3.0.3 → 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 +111 -80
- package/dist/index.d.cts +630 -439
- package/dist/index.d.ts +630 -439
- package/dist/index.js +106 -77
- package/package.json +34 -33
package/dist/index.d.ts
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,7 +3164,7 @@ 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
3170
|
'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
|
|
@@ -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
|
/**
|
|
@@ -4638,6 +4678,11 @@ interface RuleOptions {
|
|
|
4638
4678
|
* @see https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html
|
|
4639
4679
|
*/
|
|
4640
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<[]>
|
|
4641
4686
|
/**
|
|
4642
4687
|
* disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+)
|
|
4643
4688
|
* @see https://eslint.vuejs.org/rules/no-deprecated-destroyed-lifecycle.html
|
|
@@ -4747,7 +4792,7 @@ interface RuleOptions {
|
|
|
4747
4792
|
* enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
|
|
4748
4793
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html
|
|
4749
4794
|
*/
|
|
4750
|
-
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<
|
|
4795
|
+
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<VueNoDuplicateAttrInheritance>
|
|
4751
4796
|
/**
|
|
4752
4797
|
* disallow duplication of attributes
|
|
4753
4798
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
@@ -5191,6 +5236,11 @@ interface RuleOptions {
|
|
|
5191
5236
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
5192
5237
|
*/
|
|
5193
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<[]>
|
|
5194
5244
|
/**
|
|
5195
5245
|
* enforce specific casing for the Prop name in Vue components
|
|
5196
5246
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -5301,6 +5351,11 @@ interface RuleOptions {
|
|
|
5301
5351
|
* @see https://eslint.vuejs.org/rules/require-valid-default-prop.html
|
|
5302
5352
|
*/
|
|
5303
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>
|
|
5304
5359
|
/**
|
|
5305
5360
|
* enforce that a return statement is present in computed property
|
|
5306
5361
|
* @see https://eslint.vuejs.org/rules/return-in-computed-property.html
|
|
@@ -5327,6 +5382,11 @@ interface RuleOptions {
|
|
|
5327
5382
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
5328
5383
|
*/
|
|
5329
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>
|
|
5330
5390
|
/**
|
|
5331
5391
|
* enforce sort-keys in a manner that is compatible with order-in-components
|
|
5332
5392
|
* @see https://eslint.vuejs.org/rules/sort-keys.html
|
|
@@ -5577,6 +5637,11 @@ type TypescriptEslintArrayType = []|[{
|
|
|
5577
5637
|
}]
|
|
5578
5638
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
5579
5639
|
type TypescriptEslintBanTsComment = []|[{
|
|
5640
|
+
|
|
5641
|
+
minimumDescriptionLength?: number
|
|
5642
|
+
"ts-check"?: (boolean | "allow-with-description" | {
|
|
5643
|
+
descriptionFormat?: string
|
|
5644
|
+
})
|
|
5580
5645
|
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
5581
5646
|
descriptionFormat?: string
|
|
5582
5647
|
})
|
|
@@ -5586,24 +5651,19 @@ type TypescriptEslintBanTsComment = []|[{
|
|
|
5586
5651
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
5587
5652
|
descriptionFormat?: string
|
|
5588
5653
|
})
|
|
5589
|
-
"ts-check"?: (boolean | "allow-with-description" | {
|
|
5590
|
-
descriptionFormat?: string
|
|
5591
|
-
})
|
|
5592
|
-
|
|
5593
|
-
minimumDescriptionLength?: number
|
|
5594
5654
|
}]
|
|
5595
5655
|
// ----- @typescript-eslint/class-literal-property-style -----
|
|
5596
5656
|
type TypescriptEslintClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
5597
5657
|
// ----- @typescript-eslint/class-methods-use-this -----
|
|
5598
5658
|
type TypescriptEslintClassMethodsUseThis = []|[{
|
|
5599
5659
|
|
|
5600
|
-
exceptMethods?: string[]
|
|
5601
|
-
|
|
5602
5660
|
enforceForClassFields?: boolean
|
|
5603
5661
|
|
|
5604
|
-
|
|
5662
|
+
exceptMethods?: string[]
|
|
5605
5663
|
|
|
5606
5664
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
5665
|
+
|
|
5666
|
+
ignoreOverrideMethods?: boolean
|
|
5607
5667
|
}]
|
|
5608
5668
|
// ----- @typescript-eslint/consistent-generic-constructors -----
|
|
5609
5669
|
type TypescriptEslintConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
@@ -5619,7 +5679,9 @@ type TypescriptEslintConsistentTypeAssertions = []|[({
|
|
|
5619
5679
|
assertionStyle: "never"
|
|
5620
5680
|
} | {
|
|
5621
5681
|
|
|
5622
|
-
|
|
5682
|
+
arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
5683
|
+
|
|
5684
|
+
assertionStyle?: ("as" | "angle-bracket")
|
|
5623
5685
|
|
|
5624
5686
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
5625
5687
|
})]
|
|
@@ -5642,6 +5704,8 @@ type TypescriptEslintConsistentTypeImports = []|[{
|
|
|
5642
5704
|
// ----- @typescript-eslint/dot-notation -----
|
|
5643
5705
|
type TypescriptEslintDotNotation = []|[{
|
|
5644
5706
|
|
|
5707
|
+
allowIndexSignaturePropertyAccess?: boolean
|
|
5708
|
+
|
|
5645
5709
|
allowKeywords?: boolean
|
|
5646
5710
|
|
|
5647
5711
|
allowPattern?: string
|
|
@@ -5649,40 +5713,40 @@ type TypescriptEslintDotNotation = []|[{
|
|
|
5649
5713
|
allowPrivateClassPropertyAccess?: boolean
|
|
5650
5714
|
|
|
5651
5715
|
allowProtectedClassPropertyAccess?: boolean
|
|
5652
|
-
|
|
5653
|
-
allowIndexSignaturePropertyAccess?: boolean
|
|
5654
5716
|
}]
|
|
5655
5717
|
// ----- @typescript-eslint/explicit-function-return-type -----
|
|
5656
5718
|
type TypescriptEslintExplicitFunctionReturnType = []|[{
|
|
5657
5719
|
|
|
5658
5720
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
|
|
5659
5721
|
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
allowHigherOrderFunctions?: boolean
|
|
5722
|
+
allowDirectConstAssertionInArrowFunctions?: boolean
|
|
5663
5723
|
|
|
5664
|
-
|
|
5724
|
+
allowedNames?: string[]
|
|
5665
5725
|
|
|
5666
|
-
|
|
5726
|
+
allowExpressions?: boolean
|
|
5667
5727
|
|
|
5668
5728
|
allowFunctionsWithoutTypeParameters?: boolean
|
|
5669
5729
|
|
|
5670
|
-
|
|
5730
|
+
allowHigherOrderFunctions?: boolean
|
|
5671
5731
|
|
|
5672
5732
|
allowIIFEs?: boolean
|
|
5733
|
+
|
|
5734
|
+
allowTypedFunctionExpressions?: boolean
|
|
5673
5735
|
}]
|
|
5674
5736
|
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
5675
5737
|
type TypescriptEslintExplicitMemberAccessibility = []|[{
|
|
5738
|
+
|
|
5676
5739
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
5740
|
+
|
|
5741
|
+
ignoredMethodNames?: string[]
|
|
5742
|
+
|
|
5677
5743
|
overrides?: {
|
|
5678
5744
|
accessors?: ("explicit" | "no-public" | "off")
|
|
5679
5745
|
constructors?: ("explicit" | "no-public" | "off")
|
|
5680
5746
|
methods?: ("explicit" | "no-public" | "off")
|
|
5681
|
-
properties?: ("explicit" | "no-public" | "off")
|
|
5682
5747
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
5748
|
+
properties?: ("explicit" | "no-public" | "off")
|
|
5683
5749
|
}
|
|
5684
|
-
|
|
5685
|
-
ignoredMethodNames?: string[]
|
|
5686
5750
|
}]
|
|
5687
5751
|
// ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
5688
5752
|
type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
@@ -5704,38 +5768,38 @@ type TypescriptEslintInitDeclarations = ([]|["always"] | []|["never"]|["never",
|
|
|
5704
5768
|
// ----- @typescript-eslint/max-params -----
|
|
5705
5769
|
type TypescriptEslintMaxParams = []|[{
|
|
5706
5770
|
|
|
5771
|
+
countVoidThis?: boolean
|
|
5772
|
+
|
|
5707
5773
|
max?: number
|
|
5708
5774
|
|
|
5709
5775
|
maximum?: number
|
|
5710
|
-
|
|
5711
|
-
countVoidThis?: boolean
|
|
5712
5776
|
}]
|
|
5713
5777
|
// ----- @typescript-eslint/member-ordering -----
|
|
5714
5778
|
type TypescriptEslintMemberOrdering = []|[{
|
|
5715
|
-
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")[])[] | {
|
|
5716
|
-
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")
|
|
5717
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5718
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
5719
|
-
})
|
|
5720
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")[])[] | {
|
|
5721
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")
|
|
5722
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5723
5781
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5782
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5724
5783
|
})
|
|
5725
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")[])[] | {
|
|
5726
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")
|
|
5727
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")
|
|
5728
5791
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5792
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5729
5793
|
})
|
|
5730
5794
|
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
5731
5795
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
5732
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5733
5796
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5797
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5734
5798
|
})
|
|
5735
5799
|
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
5736
5800
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
5737
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5738
5801
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5802
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5739
5803
|
})
|
|
5740
5804
|
}]
|
|
5741
5805
|
// ----- @typescript-eslint/method-signature-style -----
|
|
@@ -5747,310 +5811,310 @@ type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" |
|
|
|
5747
5811
|
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[]
|
|
5748
5812
|
type _TypescriptEslintNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
5749
5813
|
type TypescriptEslintNamingConvention = ({
|
|
5750
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5751
5814
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5815
|
+
failureMessage?: string
|
|
5816
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5752
5817
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5753
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5754
5818
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5755
5819
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5756
|
-
|
|
5820
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5757
5821
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5758
|
-
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")[]
|
|
5759
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")[]
|
|
5760
5824
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5761
5825
|
} | {
|
|
5762
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5763
5826
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5827
|
+
failureMessage?: string
|
|
5828
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5764
5829
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5765
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5766
5830
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5767
5831
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5768
|
-
|
|
5832
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5769
5833
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5770
5834
|
selector: "default"
|
|
5771
5835
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
5772
5836
|
} | {
|
|
5773
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5774
5837
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5838
|
+
failureMessage?: string
|
|
5839
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5775
5840
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5776
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5777
5841
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5778
5842
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5779
|
-
|
|
5843
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5780
5844
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5781
5845
|
selector: "variableLike"
|
|
5782
5846
|
modifiers?: ("unused" | "async")[]
|
|
5783
5847
|
} | {
|
|
5784
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5785
5848
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5849
|
+
failureMessage?: string
|
|
5850
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5786
5851
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5787
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5788
5852
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5789
5853
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5790
|
-
|
|
5854
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5791
5855
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5792
5856
|
selector: "variable"
|
|
5793
5857
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
5794
5858
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5795
5859
|
} | {
|
|
5796
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5797
5860
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5861
|
+
failureMessage?: string
|
|
5862
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5798
5863
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5799
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5800
5864
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5801
5865
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5802
|
-
|
|
5866
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5803
5867
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5804
5868
|
selector: "function"
|
|
5805
5869
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
5806
5870
|
} | {
|
|
5807
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5808
5871
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5872
|
+
failureMessage?: string
|
|
5873
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5809
5874
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5810
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5811
5875
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5812
5876
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5813
|
-
|
|
5877
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5814
5878
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5815
5879
|
selector: "parameter"
|
|
5816
5880
|
modifiers?: ("destructured" | "unused")[]
|
|
5817
5881
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5818
5882
|
} | {
|
|
5819
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5820
5883
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5884
|
+
failureMessage?: string
|
|
5885
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5821
5886
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5822
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5823
5887
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5824
5888
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5825
|
-
|
|
5889
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5826
5890
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5827
5891
|
selector: "memberLike"
|
|
5828
5892
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5829
5893
|
} | {
|
|
5830
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5831
5894
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5895
|
+
failureMessage?: string
|
|
5896
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5832
5897
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5833
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5834
5898
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5835
5899
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5836
|
-
|
|
5900
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5837
5901
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5838
5902
|
selector: "classProperty"
|
|
5839
5903
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
5840
5904
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5841
5905
|
} | {
|
|
5842
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5843
5906
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5907
|
+
failureMessage?: string
|
|
5908
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5844
5909
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5845
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5846
5910
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5847
5911
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5848
|
-
|
|
5912
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5849
5913
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5850
5914
|
selector: "objectLiteralProperty"
|
|
5851
5915
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
5852
5916
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5853
5917
|
} | {
|
|
5854
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5855
5918
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5919
|
+
failureMessage?: string
|
|
5920
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5856
5921
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5857
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5858
5922
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5859
5923
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5860
|
-
|
|
5924
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5861
5925
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5862
5926
|
selector: "typeProperty"
|
|
5863
5927
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
5864
5928
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5865
5929
|
} | {
|
|
5866
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5867
5930
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5931
|
+
failureMessage?: string
|
|
5932
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5868
5933
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5869
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5870
5934
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5871
5935
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5872
|
-
|
|
5936
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5873
5937
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5874
5938
|
selector: "parameterProperty"
|
|
5875
5939
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
5876
5940
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5877
5941
|
} | {
|
|
5878
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5879
5942
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5943
|
+
failureMessage?: string
|
|
5944
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5880
5945
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5881
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5882
5946
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5883
5947
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5884
|
-
|
|
5948
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5885
5949
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5886
5950
|
selector: "property"
|
|
5887
5951
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5888
5952
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5889
5953
|
} | {
|
|
5890
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5891
5954
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5955
|
+
failureMessage?: string
|
|
5956
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5892
5957
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5893
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5894
5958
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5895
5959
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5896
|
-
|
|
5960
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5897
5961
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5898
5962
|
selector: "classMethod"
|
|
5899
5963
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5900
5964
|
} | {
|
|
5901
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5902
5965
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5966
|
+
failureMessage?: string
|
|
5967
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5903
5968
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5904
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5905
5969
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5906
5970
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5907
|
-
|
|
5971
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5908
5972
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5909
5973
|
selector: "objectLiteralMethod"
|
|
5910
5974
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
5911
5975
|
} | {
|
|
5912
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5913
5976
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5977
|
+
failureMessage?: string
|
|
5978
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5914
5979
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5915
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5916
5980
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5917
5981
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5918
|
-
|
|
5982
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5919
5983
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5920
5984
|
selector: "typeMethod"
|
|
5921
5985
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
5922
5986
|
} | {
|
|
5923
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5924
5987
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5988
|
+
failureMessage?: string
|
|
5989
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5925
5990
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5926
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5927
5991
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5928
5992
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5929
|
-
|
|
5993
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5930
5994
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5931
5995
|
selector: "method"
|
|
5932
5996
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5933
5997
|
} | {
|
|
5934
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5935
5998
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5999
|
+
failureMessage?: string
|
|
6000
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5936
6001
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5937
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5938
6002
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5939
6003
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5940
|
-
|
|
6004
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5941
6005
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5942
6006
|
selector: "classicAccessor"
|
|
5943
6007
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5944
6008
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5945
6009
|
} | {
|
|
5946
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5947
6010
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6011
|
+
failureMessage?: string
|
|
6012
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5948
6013
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5949
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5950
6014
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5951
6015
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5952
|
-
|
|
6016
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5953
6017
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5954
6018
|
selector: "autoAccessor"
|
|
5955
6019
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5956
6020
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5957
6021
|
} | {
|
|
5958
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5959
6022
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6023
|
+
failureMessage?: string
|
|
6024
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5960
6025
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5961
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5962
6026
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5963
6027
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5964
|
-
|
|
6028
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5965
6029
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5966
6030
|
selector: "accessor"
|
|
5967
6031
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5968
6032
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5969
6033
|
} | {
|
|
5970
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5971
6034
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6035
|
+
failureMessage?: string
|
|
6036
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5972
6037
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5973
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5974
6038
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5975
6039
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5976
|
-
|
|
6040
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5977
6041
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5978
6042
|
selector: "enumMember"
|
|
5979
6043
|
modifiers?: ("requiresQuotes")[]
|
|
5980
6044
|
} | {
|
|
5981
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5982
6045
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6046
|
+
failureMessage?: string
|
|
6047
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5983
6048
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5984
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5985
6049
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5986
6050
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5987
|
-
|
|
6051
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5988
6052
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5989
6053
|
selector: "typeLike"
|
|
5990
6054
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
5991
6055
|
} | {
|
|
5992
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5993
6056
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6057
|
+
failureMessage?: string
|
|
6058
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5994
6059
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5995
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5996
6060
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5997
6061
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5998
|
-
|
|
6062
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5999
6063
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6000
6064
|
selector: "class"
|
|
6001
6065
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
6002
6066
|
} | {
|
|
6003
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6004
6067
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6068
|
+
failureMessage?: string
|
|
6069
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6005
6070
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6006
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6007
6071
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6008
6072
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6009
|
-
|
|
6073
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6010
6074
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6011
6075
|
selector: "interface"
|
|
6012
6076
|
modifiers?: ("exported" | "unused")[]
|
|
6013
6077
|
} | {
|
|
6014
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6015
6078
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6079
|
+
failureMessage?: string
|
|
6080
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6016
6081
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6017
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6018
6082
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6019
6083
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6020
|
-
|
|
6084
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6021
6085
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6022
6086
|
selector: "typeAlias"
|
|
6023
6087
|
modifiers?: ("exported" | "unused")[]
|
|
6024
6088
|
} | {
|
|
6025
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6026
6089
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6090
|
+
failureMessage?: string
|
|
6091
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6027
6092
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6028
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6029
6093
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6030
6094
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6031
|
-
|
|
6095
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6032
6096
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6033
6097
|
selector: "enum"
|
|
6034
6098
|
modifiers?: ("exported" | "unused")[]
|
|
6035
6099
|
} | {
|
|
6036
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6037
6100
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6101
|
+
failureMessage?: string
|
|
6102
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6038
6103
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6039
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6040
6104
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6041
6105
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6042
|
-
|
|
6106
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6043
6107
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6044
6108
|
selector: "typeParameter"
|
|
6045
6109
|
modifiers?: ("unused")[]
|
|
6046
6110
|
} | {
|
|
6047
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6048
6111
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6112
|
+
failureMessage?: string
|
|
6113
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6049
6114
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6050
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6051
6115
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6052
6116
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6053
|
-
|
|
6117
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6054
6118
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6055
6119
|
selector: "import"
|
|
6056
6120
|
modifiers?: ("default" | "namespace")[]
|
|
@@ -6070,6 +6134,24 @@ type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
|
6070
6134
|
ignoreArrowShorthand?: boolean
|
|
6071
6135
|
|
|
6072
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
|
+
})[]
|
|
6073
6155
|
}]
|
|
6074
6156
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
6075
6157
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
@@ -6118,7 +6200,7 @@ type TypescriptEslintNoExtraneousClass = []|[{
|
|
|
6118
6200
|
// ----- @typescript-eslint/no-floating-promises -----
|
|
6119
6201
|
type TypescriptEslintNoFloatingPromises = []|[{
|
|
6120
6202
|
|
|
6121
|
-
|
|
6203
|
+
allowForKnownSafeCalls?: (string | {
|
|
6122
6204
|
from: "file"
|
|
6123
6205
|
name: (string | [string, ...(string)[]])
|
|
6124
6206
|
path?: string
|
|
@@ -6131,7 +6213,7 @@ type TypescriptEslintNoFloatingPromises = []|[{
|
|
|
6131
6213
|
package: string
|
|
6132
6214
|
})[]
|
|
6133
6215
|
|
|
6134
|
-
|
|
6216
|
+
allowForKnownSafePromises?: (string | {
|
|
6135
6217
|
from: "file"
|
|
6136
6218
|
name: (string | [string, ...(string)[]])
|
|
6137
6219
|
path?: string
|
|
@@ -6146,9 +6228,9 @@ type TypescriptEslintNoFloatingPromises = []|[{
|
|
|
6146
6228
|
|
|
6147
6229
|
checkThenables?: boolean
|
|
6148
6230
|
|
|
6149
|
-
ignoreVoid?: boolean
|
|
6150
|
-
|
|
6151
6231
|
ignoreIIFE?: boolean
|
|
6232
|
+
|
|
6233
|
+
ignoreVoid?: boolean
|
|
6152
6234
|
}]
|
|
6153
6235
|
// ----- @typescript-eslint/no-inferrable-types -----
|
|
6154
6236
|
type TypescriptEslintNoInferrableTypes = []|[{
|
|
@@ -6164,9 +6246,9 @@ type TypescriptEslintNoInvalidThis = []|[{
|
|
|
6164
6246
|
// ----- @typescript-eslint/no-invalid-void-type -----
|
|
6165
6247
|
type TypescriptEslintNoInvalidVoidType = []|[{
|
|
6166
6248
|
|
|
6167
|
-
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
6168
|
-
|
|
6169
6249
|
allowAsThisParameter?: boolean
|
|
6250
|
+
|
|
6251
|
+
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
6170
6252
|
}]
|
|
6171
6253
|
// ----- @typescript-eslint/no-magic-numbers -----
|
|
6172
6254
|
type TypescriptEslintNoMagicNumbers = []|[{
|
|
@@ -6177,10 +6259,10 @@ type TypescriptEslintNoMagicNumbers = []|[{
|
|
|
6177
6259
|
ignoreDefaultValues?: boolean
|
|
6178
6260
|
ignoreClassFieldInitialValues?: boolean
|
|
6179
6261
|
|
|
6180
|
-
ignoreNumericLiteralTypes?: boolean
|
|
6181
|
-
|
|
6182
6262
|
ignoreEnums?: boolean
|
|
6183
6263
|
|
|
6264
|
+
ignoreNumericLiteralTypes?: boolean
|
|
6265
|
+
|
|
6184
6266
|
ignoreReadonlyClassProperties?: boolean
|
|
6185
6267
|
|
|
6186
6268
|
ignoreTypeIndexes?: boolean
|
|
@@ -6192,7 +6274,11 @@ type TypescriptEslintNoMeaninglessVoidOperator = []|[{
|
|
|
6192
6274
|
}]
|
|
6193
6275
|
// ----- @typescript-eslint/no-misused-promises -----
|
|
6194
6276
|
type TypescriptEslintNoMisusedPromises = []|[{
|
|
6277
|
+
|
|
6195
6278
|
checksConditionals?: boolean
|
|
6279
|
+
|
|
6280
|
+
checksSpreads?: boolean
|
|
6281
|
+
|
|
6196
6282
|
checksVoidReturn?: (boolean | {
|
|
6197
6283
|
|
|
6198
6284
|
arguments?: boolean
|
|
@@ -6207,8 +6293,22 @@ type TypescriptEslintNoMisusedPromises = []|[{
|
|
|
6207
6293
|
|
|
6208
6294
|
variables?: boolean
|
|
6209
6295
|
})
|
|
6296
|
+
}]
|
|
6297
|
+
// ----- @typescript-eslint/no-misused-spread -----
|
|
6298
|
+
type TypescriptEslintNoMisusedSpread = []|[{
|
|
6210
6299
|
|
|
6211
|
-
|
|
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
|
+
})[]
|
|
6212
6312
|
}]
|
|
6213
6313
|
// ----- @typescript-eslint/no-namespace -----
|
|
6214
6314
|
type TypescriptEslintNoNamespace = []|[{
|
|
@@ -6266,13 +6366,14 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
6266
6366
|
}])
|
|
6267
6367
|
// ----- @typescript-eslint/no-restricted-types -----
|
|
6268
6368
|
type TypescriptEslintNoRestrictedTypes = []|[{
|
|
6369
|
+
|
|
6269
6370
|
types?: {
|
|
6270
6371
|
[k: string]: (true | string | {
|
|
6271
6372
|
|
|
6272
|
-
message?: string
|
|
6273
|
-
|
|
6274
6373
|
fixWith?: string
|
|
6275
6374
|
|
|
6375
|
+
message?: string
|
|
6376
|
+
|
|
6276
6377
|
suggest?: string[]
|
|
6277
6378
|
}) | undefined
|
|
6278
6379
|
}
|
|
@@ -6280,17 +6381,17 @@ type TypescriptEslintNoRestrictedTypes = []|[{
|
|
|
6280
6381
|
// ----- @typescript-eslint/no-shadow -----
|
|
6281
6382
|
type TypescriptEslintNoShadow = []|[{
|
|
6282
6383
|
|
|
6384
|
+
allow?: string[]
|
|
6385
|
+
|
|
6283
6386
|
builtinGlobals?: boolean
|
|
6284
6387
|
|
|
6285
|
-
hoist?: ("all" | "functions" | "never")
|
|
6388
|
+
hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types")
|
|
6286
6389
|
|
|
6287
|
-
|
|
6390
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
6288
6391
|
|
|
6289
6392
|
ignoreOnInitialization?: boolean
|
|
6290
6393
|
|
|
6291
6394
|
ignoreTypeValueShadow?: boolean
|
|
6292
|
-
|
|
6293
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
6294
6395
|
}]
|
|
6295
6396
|
// ----- @typescript-eslint/no-this-alias -----
|
|
6296
6397
|
type TypescriptEslintNoThisAlias = []|[{
|
|
@@ -6310,20 +6411,20 @@ type TypescriptEslintNoTypeAlias = []|[{
|
|
|
6310
6411
|
|
|
6311
6412
|
allowConstructors?: ("always" | "never")
|
|
6312
6413
|
|
|
6414
|
+
allowGenerics?: ("always" | "never")
|
|
6415
|
+
|
|
6313
6416
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6314
6417
|
|
|
6315
6418
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6316
6419
|
|
|
6317
6420
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6318
|
-
|
|
6319
|
-
allowGenerics?: ("always" | "never")
|
|
6320
6421
|
}]
|
|
6321
6422
|
// ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
6322
6423
|
type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
6323
6424
|
|
|
6324
|
-
allowComparingNullableBooleansToTrue?: boolean
|
|
6325
|
-
|
|
6326
6425
|
allowComparingNullableBooleansToFalse?: boolean
|
|
6426
|
+
|
|
6427
|
+
allowComparingNullableBooleansToTrue?: boolean
|
|
6327
6428
|
}]
|
|
6328
6429
|
// ----- @typescript-eslint/no-unnecessary-condition -----
|
|
6329
6430
|
type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
@@ -6331,6 +6432,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
6331
6432
|
allowConstantLoopConditions?: boolean
|
|
6332
6433
|
|
|
6333
6434
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6435
|
+
|
|
6436
|
+
checkTypePredicates?: boolean
|
|
6334
6437
|
}]
|
|
6335
6438
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
6336
6439
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -6347,10 +6450,6 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
6347
6450
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
6348
6451
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
6349
6452
|
|
|
6350
|
-
vars?: ("all" | "local")
|
|
6351
|
-
|
|
6352
|
-
varsIgnorePattern?: string
|
|
6353
|
-
|
|
6354
6453
|
args?: ("all" | "after-used" | "none")
|
|
6355
6454
|
|
|
6356
6455
|
argsIgnorePattern?: string
|
|
@@ -6366,22 +6465,27 @@ type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
|
6366
6465
|
ignoreRestSiblings?: boolean
|
|
6367
6466
|
|
|
6368
6467
|
reportUsedIgnorePattern?: boolean
|
|
6468
|
+
|
|
6469
|
+
vars?: ("all" | "local")
|
|
6470
|
+
|
|
6471
|
+
varsIgnorePattern?: string
|
|
6369
6472
|
})]
|
|
6370
6473
|
// ----- @typescript-eslint/no-use-before-define -----
|
|
6371
6474
|
type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
6372
6475
|
|
|
6373
|
-
|
|
6476
|
+
allowNamedExports?: boolean
|
|
6374
6477
|
|
|
6375
6478
|
classes?: boolean
|
|
6376
6479
|
|
|
6377
6480
|
enums?: boolean
|
|
6378
6481
|
|
|
6379
|
-
|
|
6482
|
+
functions?: boolean
|
|
6483
|
+
|
|
6484
|
+
ignoreTypeReferences?: boolean
|
|
6380
6485
|
|
|
6381
6486
|
typedefs?: boolean
|
|
6382
6487
|
|
|
6383
|
-
|
|
6384
|
-
allowNamedExports?: boolean
|
|
6488
|
+
variables?: boolean
|
|
6385
6489
|
})]
|
|
6386
6490
|
// ----- @typescript-eslint/no-var-requires -----
|
|
6387
6491
|
type TypescriptEslintNoVarRequires = []|[{
|
|
@@ -6391,6 +6495,19 @@ type TypescriptEslintNoVarRequires = []|[{
|
|
|
6391
6495
|
// ----- @typescript-eslint/only-throw-error -----
|
|
6392
6496
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
6393
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
|
+
|
|
6394
6511
|
allowThrowingAny?: boolean
|
|
6395
6512
|
|
|
6396
6513
|
allowThrowingUnknown?: boolean
|
|
@@ -6404,11 +6521,11 @@ type TypescriptEslintParameterProperties = []|[{
|
|
|
6404
6521
|
}]
|
|
6405
6522
|
// ----- @typescript-eslint/prefer-destructuring -----
|
|
6406
6523
|
type TypescriptEslintPreferDestructuring = []|[({
|
|
6407
|
-
|
|
6524
|
+
AssignmentExpression?: {
|
|
6408
6525
|
array?: boolean
|
|
6409
6526
|
object?: boolean
|
|
6410
6527
|
}
|
|
6411
|
-
|
|
6528
|
+
VariableDeclarator?: {
|
|
6412
6529
|
array?: boolean
|
|
6413
6530
|
object?: boolean
|
|
6414
6531
|
}
|
|
@@ -6416,11 +6533,11 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
6416
6533
|
array?: boolean
|
|
6417
6534
|
object?: boolean
|
|
6418
6535
|
})]|[({
|
|
6419
|
-
|
|
6536
|
+
AssignmentExpression?: {
|
|
6420
6537
|
array?: boolean
|
|
6421
6538
|
object?: boolean
|
|
6422
6539
|
}
|
|
6423
|
-
|
|
6540
|
+
VariableDeclarator?: {
|
|
6424
6541
|
array?: boolean
|
|
6425
6542
|
object?: boolean
|
|
6426
6543
|
}
|
|
@@ -6428,8 +6545,10 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
6428
6545
|
array?: boolean
|
|
6429
6546
|
object?: boolean
|
|
6430
6547
|
}), {
|
|
6431
|
-
|
|
6548
|
+
|
|
6432
6549
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
6550
|
+
|
|
6551
|
+
enforceForRenamedProperties?: boolean
|
|
6433
6552
|
[k: string]: unknown | undefined
|
|
6434
6553
|
}]
|
|
6435
6554
|
// ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
@@ -6442,14 +6561,20 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
6442
6561
|
|
|
6443
6562
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6444
6563
|
|
|
6564
|
+
ignoreBooleanCoercion?: boolean
|
|
6565
|
+
|
|
6445
6566
|
ignoreConditionalTests?: boolean
|
|
6446
6567
|
|
|
6447
6568
|
ignoreMixedLogicalExpressions?: boolean
|
|
6448
6569
|
|
|
6449
6570
|
ignorePrimitives?: ({
|
|
6571
|
+
|
|
6450
6572
|
bigint?: boolean
|
|
6573
|
+
|
|
6451
6574
|
boolean?: boolean
|
|
6575
|
+
|
|
6452
6576
|
number?: boolean
|
|
6577
|
+
|
|
6453
6578
|
string?: boolean
|
|
6454
6579
|
[k: string]: unknown | undefined
|
|
6455
6580
|
} | true)
|
|
@@ -6459,26 +6584,30 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
6459
6584
|
// ----- @typescript-eslint/prefer-optional-chain -----
|
|
6460
6585
|
type TypescriptEslintPreferOptionalChain = []|[{
|
|
6461
6586
|
|
|
6587
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
6588
|
+
|
|
6462
6589
|
checkAny?: boolean
|
|
6463
6590
|
|
|
6464
|
-
|
|
6591
|
+
checkBigInt?: boolean
|
|
6465
6592
|
|
|
6466
|
-
|
|
6593
|
+
checkBoolean?: boolean
|
|
6467
6594
|
|
|
6468
6595
|
checkNumber?: boolean
|
|
6469
6596
|
|
|
6470
|
-
|
|
6597
|
+
checkString?: boolean
|
|
6471
6598
|
|
|
6472
|
-
|
|
6599
|
+
checkUnknown?: boolean
|
|
6473
6600
|
|
|
6474
6601
|
requireNullish?: boolean
|
|
6475
|
-
|
|
6476
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
6477
6602
|
}]
|
|
6478
6603
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
6479
6604
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
6480
6605
|
|
|
6481
6606
|
allowEmptyReject?: boolean
|
|
6607
|
+
|
|
6608
|
+
allowThrowingAny?: boolean
|
|
6609
|
+
|
|
6610
|
+
allowThrowingUnknown?: boolean
|
|
6482
6611
|
}]
|
|
6483
6612
|
// ----- @typescript-eslint/prefer-readonly -----
|
|
6484
6613
|
type TypescriptEslintPreferReadonly = []|[{
|
|
@@ -6563,45 +6692,63 @@ type TypescriptEslintRestrictTemplateExpressions = []|[{
|
|
|
6563
6692
|
allowRegExp?: boolean
|
|
6564
6693
|
|
|
6565
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
|
+
})[]
|
|
6566
6708
|
}]
|
|
6567
6709
|
// ----- @typescript-eslint/return-await -----
|
|
6568
6710
|
type TypescriptEslintReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
6569
6711
|
// ----- @typescript-eslint/sort-type-constituents -----
|
|
6570
6712
|
type TypescriptEslintSortTypeConstituents = []|[{
|
|
6571
6713
|
|
|
6714
|
+
caseSensitive?: boolean
|
|
6715
|
+
|
|
6572
6716
|
checkIntersections?: boolean
|
|
6573
6717
|
|
|
6574
6718
|
checkUnions?: boolean
|
|
6575
6719
|
|
|
6576
|
-
caseSensitive?: boolean
|
|
6577
|
-
|
|
6578
6720
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
6579
6721
|
}]
|
|
6580
6722
|
// ----- @typescript-eslint/strict-boolean-expressions -----
|
|
6581
6723
|
type TypescriptEslintStrictBooleanExpressions = []|[{
|
|
6582
6724
|
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
allowNumber?: boolean
|
|
6586
|
-
|
|
6587
|
-
allowNullableObject?: boolean
|
|
6725
|
+
allowAny?: boolean
|
|
6588
6726
|
|
|
6589
6727
|
allowNullableBoolean?: boolean
|
|
6590
6728
|
|
|
6591
|
-
|
|
6729
|
+
allowNullableEnum?: boolean
|
|
6592
6730
|
|
|
6593
6731
|
allowNullableNumber?: boolean
|
|
6594
6732
|
|
|
6595
|
-
|
|
6733
|
+
allowNullableObject?: boolean
|
|
6734
|
+
|
|
6735
|
+
allowNullableString?: boolean
|
|
6736
|
+
|
|
6737
|
+
allowNumber?: boolean
|
|
6596
6738
|
|
|
6597
|
-
allowAny?: boolean
|
|
6598
6739
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6740
|
+
|
|
6741
|
+
allowString?: boolean
|
|
6599
6742
|
}]
|
|
6600
6743
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
6601
6744
|
type TypescriptEslintSwitchExhaustivenessCheck = []|[{
|
|
6602
6745
|
|
|
6603
6746
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
6604
6747
|
|
|
6748
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
6749
|
+
|
|
6750
|
+
defaultCaseCommentPattern?: string
|
|
6751
|
+
|
|
6605
6752
|
requireDefaultForNonUnion?: boolean
|
|
6606
6753
|
}]
|
|
6607
6754
|
// ----- @typescript-eslint/triple-slash-reference -----
|
|
@@ -6751,6 +6898,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
6751
6898
|
type Complexity = []|[(number | {
|
|
6752
6899
|
maximum?: number
|
|
6753
6900
|
max?: number
|
|
6901
|
+
variant?: ("classic" | "modified")
|
|
6754
6902
|
})]
|
|
6755
6903
|
// ----- computed-property-spacing -----
|
|
6756
6904
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -6872,17 +7020,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
6872
7020
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6873
7021
|
}
|
|
6874
7022
|
ignorePackages?: boolean
|
|
7023
|
+
checkTypeImports?: boolean
|
|
6875
7024
|
[k: string]: unknown | undefined
|
|
6876
7025
|
}] | []|[{
|
|
6877
7026
|
pattern?: {
|
|
6878
7027
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6879
7028
|
}
|
|
6880
7029
|
ignorePackages?: boolean
|
|
7030
|
+
checkTypeImports?: boolean
|
|
6881
7031
|
[k: string]: unknown | undefined
|
|
6882
|
-
}] | []|[{
|
|
6883
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6884
7032
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
6885
7033
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
7034
|
+
}] | []|[{
|
|
7035
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6886
7036
|
}])
|
|
6887
7037
|
// ----- import/first -----
|
|
6888
7038
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -7961,7 +8111,7 @@ type NHashbang = []|[{
|
|
|
7961
8111
|
// ----- n/no-deprecated-api -----
|
|
7962
8112
|
type NNoDeprecatedApi = []|[{
|
|
7963
8113
|
version?: string
|
|
7964
|
-
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()")[]
|
|
7965
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")[]
|
|
7966
8116
|
ignoreIndirectDependencies?: boolean
|
|
7967
8117
|
}]
|
|
@@ -7985,6 +8135,9 @@ type NNoExtraneousImport = []|[{
|
|
|
7985
8135
|
replace: [string, string]
|
|
7986
8136
|
})[]])
|
|
7987
8137
|
resolvePaths?: string[]
|
|
8138
|
+
resolverConfig?: {
|
|
8139
|
+
[k: string]: unknown | undefined
|
|
8140
|
+
}
|
|
7988
8141
|
}]
|
|
7989
8142
|
// ----- n/no-extraneous-require -----
|
|
7990
8143
|
type NNoExtraneousRequire = []|[{
|
|
@@ -8006,6 +8159,9 @@ type NNoExtraneousRequire = []|[{
|
|
|
8006
8159
|
replace: [string, string]
|
|
8007
8160
|
})[]])
|
|
8008
8161
|
resolvePaths?: string[]
|
|
8162
|
+
resolverConfig?: {
|
|
8163
|
+
[k: string]: unknown | undefined
|
|
8164
|
+
}
|
|
8009
8165
|
tryExtensions?: string[]
|
|
8010
8166
|
}]
|
|
8011
8167
|
// ----- n/no-hide-core-modules -----
|
|
@@ -8018,7 +8174,11 @@ type NNoHideCoreModules = []|[{
|
|
|
8018
8174
|
type NNoMissingImport = []|[{
|
|
8019
8175
|
allowModules?: string[]
|
|
8020
8176
|
resolvePaths?: string[]
|
|
8177
|
+
resolverConfig?: {
|
|
8178
|
+
[k: string]: unknown | undefined
|
|
8179
|
+
}
|
|
8021
8180
|
tryExtensions?: string[]
|
|
8181
|
+
ignoreTypeImport?: boolean
|
|
8022
8182
|
tsconfigPath?: string
|
|
8023
8183
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
8024
8184
|
}]
|
|
@@ -8027,6 +8187,9 @@ type NNoMissingRequire = []|[{
|
|
|
8027
8187
|
allowModules?: string[]
|
|
8028
8188
|
tryExtensions?: string[]
|
|
8029
8189
|
resolvePaths?: string[]
|
|
8190
|
+
resolverConfig?: {
|
|
8191
|
+
[k: string]: unknown | undefined
|
|
8192
|
+
}
|
|
8030
8193
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
8031
8194
|
tsconfigPath?: string
|
|
8032
8195
|
}]
|
|
@@ -8035,6 +8198,10 @@ type NNoMixedRequires = []|[(boolean | {
|
|
|
8035
8198
|
grouping?: boolean
|
|
8036
8199
|
allowCall?: boolean
|
|
8037
8200
|
})]
|
|
8201
|
+
// ----- n/no-process-env -----
|
|
8202
|
+
type NNoProcessEnv = []|[{
|
|
8203
|
+
allowedVariables?: string[]
|
|
8204
|
+
}]
|
|
8038
8205
|
// ----- n/no-restricted-import -----
|
|
8039
8206
|
type NNoRestrictedImport = []|[(string | {
|
|
8040
8207
|
name: (string | string[])
|
|
@@ -8048,6 +8215,7 @@ type NNoRestrictedRequire = []|[(string | {
|
|
|
8048
8215
|
// ----- n/no-sync -----
|
|
8049
8216
|
type NNoSync = []|[{
|
|
8050
8217
|
allowAtRootLevel?: boolean
|
|
8218
|
+
ignores?: string[]
|
|
8051
8219
|
}]
|
|
8052
8220
|
// ----- n/no-unpublished-bin -----
|
|
8053
8221
|
type NNoUnpublishedBin = []|[{
|
|
@@ -8089,6 +8257,9 @@ type NNoUnpublishedImport = []|[{
|
|
|
8089
8257
|
replace: [string, string]
|
|
8090
8258
|
})[]])
|
|
8091
8259
|
resolvePaths?: string[]
|
|
8260
|
+
resolverConfig?: {
|
|
8261
|
+
[k: string]: unknown | undefined
|
|
8262
|
+
}
|
|
8092
8263
|
ignoreTypeImport?: boolean
|
|
8093
8264
|
ignorePrivate?: boolean
|
|
8094
8265
|
}]
|
|
@@ -8112,6 +8283,9 @@ type NNoUnpublishedRequire = []|[{
|
|
|
8112
8283
|
replace: [string, string]
|
|
8113
8284
|
})[]])
|
|
8114
8285
|
resolvePaths?: string[]
|
|
8286
|
+
resolverConfig?: {
|
|
8287
|
+
[k: string]: unknown | undefined
|
|
8288
|
+
}
|
|
8115
8289
|
tryExtensions?: string[]
|
|
8116
8290
|
ignorePrivate?: boolean
|
|
8117
8291
|
}]
|
|
@@ -8129,7 +8303,7 @@ type NNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
8129
8303
|
type NNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
8130
8304
|
version?: string
|
|
8131
8305
|
allowExperimental?: boolean
|
|
8132
|
-
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")[]
|
|
8133
8307
|
}]
|
|
8134
8308
|
// ----- n/prefer-global/buffer -----
|
|
8135
8309
|
type NPreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -8879,6 +9053,7 @@ type SortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
8879
9053
|
natural?: boolean
|
|
8880
9054
|
minKeys?: number
|
|
8881
9055
|
allowLineSeparatedGroups?: boolean
|
|
9056
|
+
ignoreComputedKeys?: boolean
|
|
8882
9057
|
}]
|
|
8883
9058
|
// ----- sort-vars -----
|
|
8884
9059
|
type SortVars = []|[{
|
|
@@ -8949,7 +9124,7 @@ type TestConsistentTestIt = []|[{
|
|
|
8949
9124
|
}]
|
|
8950
9125
|
// ----- test/expect-expect -----
|
|
8951
9126
|
type TestExpectExpect = []|[{
|
|
8952
|
-
assertFunctionNames?: []
|
|
9127
|
+
assertFunctionNames?: string[]
|
|
8953
9128
|
additionalTestBlockFunctions?: string[]
|
|
8954
9129
|
}]
|
|
8955
9130
|
// ----- test/max-expects -----
|
|
@@ -8993,8 +9168,7 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
8993
9168
|
}]
|
|
8994
9169
|
// ----- test/no-standalone-expect -----
|
|
8995
9170
|
type TestNoStandaloneExpect = []|[{
|
|
8996
|
-
|
|
8997
|
-
[k: string]: unknown | undefined
|
|
9171
|
+
additionalTestBlockFunctions?: string[]
|
|
8998
9172
|
}]
|
|
8999
9173
|
// ----- test/prefer-expect-assertions -----
|
|
9000
9174
|
type TestPreferExpectAssertions = []|[{
|
|
@@ -9243,10 +9417,6 @@ type UnocssEnforceClassCompile = []|[{
|
|
|
9243
9417
|
// ----- unused-imports/no-unused-imports -----
|
|
9244
9418
|
type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
9245
9419
|
|
|
9246
|
-
vars?: ("all" | "local")
|
|
9247
|
-
|
|
9248
|
-
varsIgnorePattern?: string
|
|
9249
|
-
|
|
9250
9420
|
args?: ("all" | "after-used" | "none")
|
|
9251
9421
|
|
|
9252
9422
|
argsIgnorePattern?: string
|
|
@@ -9262,13 +9432,13 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
9262
9432
|
ignoreRestSiblings?: boolean
|
|
9263
9433
|
|
|
9264
9434
|
reportUsedIgnorePattern?: boolean
|
|
9265
|
-
})]
|
|
9266
|
-
// ----- unused-imports/no-unused-vars -----
|
|
9267
|
-
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
9268
9435
|
|
|
9269
9436
|
vars?: ("all" | "local")
|
|
9270
9437
|
|
|
9271
9438
|
varsIgnorePattern?: string
|
|
9439
|
+
})]
|
|
9440
|
+
// ----- unused-imports/no-unused-vars -----
|
|
9441
|
+
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
9272
9442
|
|
|
9273
9443
|
args?: ("all" | "after-used" | "none")
|
|
9274
9444
|
|
|
@@ -9285,6 +9455,10 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
9285
9455
|
ignoreRestSiblings?: boolean
|
|
9286
9456
|
|
|
9287
9457
|
reportUsedIgnorePattern?: boolean
|
|
9458
|
+
|
|
9459
|
+
vars?: ("all" | "local")
|
|
9460
|
+
|
|
9461
|
+
varsIgnorePattern?: string
|
|
9288
9462
|
})]
|
|
9289
9463
|
// ----- use-isnan -----
|
|
9290
9464
|
type UseIsnan = []|[{
|
|
@@ -9327,6 +9501,7 @@ type VueAttributeHyphenation = []|[("always" | "never")]|[("always" | "never"),
|
|
|
9327
9501
|
} & {
|
|
9328
9502
|
[k: string]: unknown | undefined
|
|
9329
9503
|
})[]
|
|
9504
|
+
ignoreTags?: string[]
|
|
9330
9505
|
}]
|
|
9331
9506
|
// ----- vue/attributes-order -----
|
|
9332
9507
|
type VueAttributesOrder = []|[{
|
|
@@ -10023,6 +10198,10 @@ type VueNoDeprecatedSlotAttribute = []|[{
|
|
|
10023
10198
|
type VueNoDupeKeys = []|[{
|
|
10024
10199
|
groups?: unknown[]
|
|
10025
10200
|
}]
|
|
10201
|
+
// ----- vue/no-duplicate-attr-inheritance -----
|
|
10202
|
+
type VueNoDuplicateAttrInheritance = []|[{
|
|
10203
|
+
checkMultiRootNodes?: boolean
|
|
10204
|
+
}]
|
|
10026
10205
|
// ----- vue/no-duplicate-attributes -----
|
|
10027
10206
|
type VueNoDuplicateAttributes = []|[{
|
|
10028
10207
|
allowCoexistClass?: boolean
|
|
@@ -10121,6 +10300,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
10121
10300
|
type VueNoReservedComponentNames = []|[{
|
|
10122
10301
|
disallowVueBuiltInComponents?: boolean
|
|
10123
10302
|
disallowVue3BuiltInComponents?: boolean
|
|
10303
|
+
htmlElementCaseSensitive?: boolean
|
|
10124
10304
|
}]
|
|
10125
10305
|
// ----- vue/no-reserved-keys -----
|
|
10126
10306
|
type VueNoReservedKeys = []|[{
|
|
@@ -10257,6 +10437,7 @@ type VueNoUselessVBind = []|[{
|
|
|
10257
10437
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
10258
10438
|
type VueNoVTextVHtmlOnComponent = []|[{
|
|
10259
10439
|
allow?: string[]
|
|
10440
|
+
ignoreElementNamespaces?: boolean
|
|
10260
10441
|
}]
|
|
10261
10442
|
// ----- vue/object-curly-newline -----
|
|
10262
10443
|
type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
@@ -10367,6 +10548,10 @@ type VueRequirePropComment = []|[{
|
|
|
10367
10548
|
type VueRequireToggleInsideTransition = []|[{
|
|
10368
10549
|
additionalDirectives?: string[]
|
|
10369
10550
|
}]
|
|
10551
|
+
// ----- vue/restricted-component-names -----
|
|
10552
|
+
type VueRestrictedComponentNames = []|[{
|
|
10553
|
+
allow?: string[]
|
|
10554
|
+
}]
|
|
10370
10555
|
// ----- vue/return-in-computed-property -----
|
|
10371
10556
|
type VueReturnInComputedProperty = []|[{
|
|
10372
10557
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -10388,6 +10573,8 @@ type VueSinglelineHtmlElementContentNewline = []|[{
|
|
|
10388
10573
|
ignores?: string[]
|
|
10389
10574
|
externalIgnores?: string[]
|
|
10390
10575
|
}]
|
|
10576
|
+
// ----- vue/slot-name-casing -----
|
|
10577
|
+
type VueSlotNameCasing = []|[("camelCase" | "kebab-case" | "singleword")]
|
|
10391
10578
|
// ----- vue/sort-keys -----
|
|
10392
10579
|
type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
10393
10580
|
caseSensitive?: boolean
|
|
@@ -10431,6 +10618,7 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
10431
10618
|
} & {
|
|
10432
10619
|
[k: string]: unknown | undefined
|
|
10433
10620
|
})[]
|
|
10621
|
+
ignoreTags?: string[]
|
|
10434
10622
|
}]
|
|
10435
10623
|
// ----- vue/v-on-function-call -----
|
|
10436
10624
|
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -10471,7 +10659,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
10471
10659
|
onlyEquality?: boolean
|
|
10472
10660
|
}]
|
|
10473
10661
|
// Names of all the configs
|
|
10474
|
-
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'
|
|
10475
10663
|
|
|
10476
10664
|
type Awaitable<T> = T | Promise<T>;
|
|
10477
10665
|
type Rules = RuleOptions;
|
|
@@ -10648,9 +10836,11 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
10648
10836
|
|
|
10649
10837
|
declare function comments(): TypedFlatConfigItem[];
|
|
10650
10838
|
|
|
10839
|
+
declare function disables(): TypedFlatConfigItem[];
|
|
10840
|
+
|
|
10651
10841
|
declare function formatters(options?: OptionsFormatters | true): TypedFlatConfigItem[];
|
|
10652
10842
|
|
|
10653
|
-
declare function ignores(): TypedFlatConfigItem[];
|
|
10843
|
+
declare function ignores(userIgnores?: string[]): TypedFlatConfigItem[];
|
|
10654
10844
|
|
|
10655
10845
|
declare function imports(): TypedFlatConfigItem[];
|
|
10656
10846
|
|
|
@@ -10660,6 +10850,8 @@ declare function jsonc(options?: OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
|
10660
10850
|
|
|
10661
10851
|
declare function node(): TypedFlatConfigItem[];
|
|
10662
10852
|
|
|
10853
|
+
declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
10854
|
+
|
|
10663
10855
|
/**
|
|
10664
10856
|
* Sort package.json
|
|
10665
10857
|
*
|
|
@@ -10683,8 +10875,6 @@ declare function unocss(): Promise<TypedFlatConfigItem[]>;
|
|
|
10683
10875
|
|
|
10684
10876
|
declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
10685
10877
|
|
|
10686
|
-
declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
10687
|
-
|
|
10688
10878
|
/**
|
|
10689
10879
|
* Construct an array of ESLint flat config items.
|
|
10690
10880
|
*
|
|
@@ -10695,7 +10885,7 @@ declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
|
10695
10885
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
10696
10886
|
* The merged ESLint configurations.
|
|
10697
10887
|
*/
|
|
10698
|
-
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>;
|
|
10699
10889
|
|
|
10700
10890
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
10701
10891
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -10760,6 +10950,7 @@ declare function toArray<T>(value: T | T[]): T[];
|
|
|
10760
10950
|
declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
10761
10951
|
default: infer U;
|
|
10762
10952
|
} ? U : T>;
|
|
10953
|
+
declare function isInGitHooksOrLintStaged(): boolean;
|
|
10763
10954
|
declare function isInEditorEnv(): boolean;
|
|
10764
10955
|
|
|
10765
|
-
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 };
|