@cany748/eslint-config 3.0.3 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +661 -507
- package/dist/index.js +106 -77
- package/package.json +36 -38
- package/dist/index.cjs +0 -1323
- package/dist/index.d.cts +0 -10765
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
|
|
@@ -265,7 +265,7 @@ interface RuleOptions {
|
|
|
265
265
|
*/
|
|
266
266
|
'@typescript-eslint/no-for-in-array'?: Linter.RuleEntry<[]>
|
|
267
267
|
/**
|
|
268
|
-
* Disallow the use of `eval()`-like
|
|
268
|
+
* Disallow the use of `eval()`-like functions
|
|
269
269
|
* @see https://typescript-eslint.io/rules/no-implied-eval
|
|
270
270
|
*/
|
|
271
271
|
'@typescript-eslint/no-implied-eval'?: Linter.RuleEntry<[]>
|
|
@@ -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,222 @@ 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<[]>
|
|
3510
|
+
/**
|
|
3511
|
+
* enforce using `toBe(true)` and `toBe(false)` over matchers that coerce types to boolean
|
|
3512
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-boolean-matchers.md
|
|
3513
|
+
*/
|
|
3514
|
+
'test/prefer-strict-boolean-matchers'?: Linter.RuleEntry<[]>
|
|
3495
3515
|
/**
|
|
3496
3516
|
* enforce strict equal over equal
|
|
3497
|
-
* @see https://github.com/
|
|
3517
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
|
|
3498
3518
|
*/
|
|
3499
3519
|
'test/prefer-strict-equal'?: Linter.RuleEntry<[]>
|
|
3500
3520
|
/**
|
|
3501
3521
|
* enforce using toBe()
|
|
3502
|
-
* @see https://github.com/
|
|
3522
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
|
|
3503
3523
|
*/
|
|
3504
3524
|
'test/prefer-to-be'?: Linter.RuleEntry<[]>
|
|
3505
3525
|
/**
|
|
3506
3526
|
* enforce using toBeFalsy()
|
|
3507
|
-
* @see https://github.com/
|
|
3527
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
|
|
3508
3528
|
*/
|
|
3509
3529
|
'test/prefer-to-be-falsy'?: Linter.RuleEntry<[]>
|
|
3510
3530
|
/**
|
|
3511
3531
|
* enforce using toBeObject()
|
|
3512
|
-
* @see https://github.com/
|
|
3532
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
|
|
3513
3533
|
*/
|
|
3514
3534
|
'test/prefer-to-be-object'?: Linter.RuleEntry<[]>
|
|
3515
3535
|
/**
|
|
3516
3536
|
* enforce using `toBeTruthy`
|
|
3517
|
-
* @see https://github.com/
|
|
3537
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
|
|
3518
3538
|
*/
|
|
3519
3539
|
'test/prefer-to-be-truthy'?: Linter.RuleEntry<[]>
|
|
3520
3540
|
/**
|
|
3521
3541
|
* enforce using toContain()
|
|
3522
|
-
* @see https://github.com/
|
|
3542
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
|
|
3523
3543
|
*/
|
|
3524
3544
|
'test/prefer-to-contain'?: Linter.RuleEntry<[]>
|
|
3525
3545
|
/**
|
|
3526
3546
|
* enforce using toHaveLength()
|
|
3527
|
-
* @see https://github.com/
|
|
3547
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
|
|
3528
3548
|
*/
|
|
3529
3549
|
'test/prefer-to-have-length'?: Linter.RuleEntry<[]>
|
|
3530
3550
|
/**
|
|
3531
3551
|
* enforce using `test.todo`
|
|
3532
|
-
* @see https://github.com/
|
|
3552
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
|
|
3533
3553
|
*/
|
|
3534
3554
|
'test/prefer-todo'?: Linter.RuleEntry<[]>
|
|
3555
|
+
/**
|
|
3556
|
+
* require `vi.mocked()` over `fn as Mock`
|
|
3557
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
3558
|
+
*/
|
|
3559
|
+
'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>
|
|
3535
3560
|
/**
|
|
3536
3561
|
* require setup and teardown to be within a hook
|
|
3537
|
-
* @see https://github.com/
|
|
3562
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
3538
3563
|
*/
|
|
3539
3564
|
'test/require-hook'?: Linter.RuleEntry<TestRequireHook>
|
|
3540
3565
|
/**
|
|
3541
3566
|
* require local Test Context for concurrent snapshot tests
|
|
3542
|
-
* @see https://github.com/
|
|
3567
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
3543
3568
|
*/
|
|
3544
3569
|
'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
|
|
3570
|
+
/**
|
|
3571
|
+
* enforce using type parameters with vitest mock functions
|
|
3572
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
|
|
3573
|
+
*/
|
|
3574
|
+
'test/require-mock-type-parameters'?: Linter.RuleEntry<TestRequireMockTypeParameters>
|
|
3545
3575
|
/**
|
|
3546
3576
|
* require toThrow() to be called with an error message
|
|
3547
|
-
* @see https://github.com/
|
|
3577
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
|
|
3548
3578
|
*/
|
|
3549
3579
|
'test/require-to-throw-message'?: Linter.RuleEntry<[]>
|
|
3550
3580
|
/**
|
|
3551
3581
|
* enforce that all tests are in a top-level describe
|
|
3552
|
-
* @see https://github.com/
|
|
3582
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
3553
3583
|
*/
|
|
3554
3584
|
'test/require-top-level-describe'?: Linter.RuleEntry<TestRequireTopLevelDescribe>
|
|
3555
3585
|
/**
|
|
3556
3586
|
* enforce valid describe callback
|
|
3557
|
-
* @see https://github.com/
|
|
3587
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
3558
3588
|
*/
|
|
3559
3589
|
'test/valid-describe-callback'?: Linter.RuleEntry<[]>
|
|
3560
3590
|
/**
|
|
3561
3591
|
* enforce valid `expect()` usage
|
|
3562
|
-
* @see https://github.com/
|
|
3592
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
3563
3593
|
*/
|
|
3564
3594
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
3595
|
+
/**
|
|
3596
|
+
* require promises that have expectations in their chain to be valid
|
|
3597
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
3598
|
+
*/
|
|
3599
|
+
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
3565
3600
|
/**
|
|
3566
3601
|
* enforce valid titles
|
|
3567
|
-
* @see https://github.com/
|
|
3602
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
3568
3603
|
*/
|
|
3569
3604
|
'test/valid-title'?: Linter.RuleEntry<TestValidTitle>
|
|
3570
3605
|
/**
|
|
@@ -3574,687 +3609,642 @@ interface RuleOptions {
|
|
|
3574
3609
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
3575
3610
|
/**
|
|
3576
3611
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
3577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/better-regex.md
|
|
3578
3613
|
*/
|
|
3579
3614
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
3580
3615
|
/**
|
|
3581
3616
|
* Enforce a specific parameter name in catch clauses.
|
|
3582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/catch-error-name.md
|
|
3583
3618
|
*/
|
|
3584
3619
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
3620
|
+
/**
|
|
3621
|
+
* Enforce consistent assertion style with `node:assert`.
|
|
3622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-assert.md
|
|
3623
|
+
*/
|
|
3624
|
+
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
3625
|
+
/**
|
|
3626
|
+
* Prefer passing `Date` directly to the constructor when cloning.
|
|
3627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-date-clone.md
|
|
3628
|
+
*/
|
|
3629
|
+
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
3585
3630
|
/**
|
|
3586
3631
|
* Use destructured variables over properties.
|
|
3587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-destructuring.md
|
|
3588
3633
|
*/
|
|
3589
3634
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
3590
3635
|
/**
|
|
3591
3636
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-empty-array-spread.md
|
|
3593
3638
|
*/
|
|
3594
3639
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
3640
|
+
/**
|
|
3641
|
+
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-existence-index-check.md
|
|
3643
|
+
*/
|
|
3644
|
+
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
3595
3645
|
/**
|
|
3596
3646
|
* Move function definitions to the highest possible scope.
|
|
3597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-function-scoping.md
|
|
3598
3648
|
*/
|
|
3599
3649
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
3600
3650
|
/**
|
|
3601
3651
|
* Enforce correct `Error` subclassing.
|
|
3602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/custom-error-definition.md
|
|
3603
3653
|
*/
|
|
3604
3654
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
3605
3655
|
/**
|
|
3606
3656
|
* Enforce no spaces between braces.
|
|
3607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/empty-brace-spaces.md
|
|
3608
3658
|
*/
|
|
3609
3659
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
3610
3660
|
/**
|
|
3611
3661
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/error-message.md
|
|
3613
3663
|
*/
|
|
3614
3664
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
3615
3665
|
/**
|
|
3616
3666
|
* Require escape sequences to use uppercase values.
|
|
3617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/escape-case.md
|
|
3618
3668
|
*/
|
|
3619
3669
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
3620
3670
|
/**
|
|
3621
3671
|
* Add expiration conditions to TODO comments.
|
|
3622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/expiring-todo-comments.md
|
|
3623
3673
|
*/
|
|
3624
3674
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
3625
3675
|
/**
|
|
3626
3676
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/explicit-length-check.md
|
|
3628
3678
|
*/
|
|
3629
3679
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
3630
3680
|
/**
|
|
3631
3681
|
* Enforce a case style for filenames.
|
|
3632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/filename-case.md
|
|
3633
3683
|
*/
|
|
3634
3684
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
3635
|
-
/**
|
|
3636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
|
|
3637
|
-
* @deprecated
|
|
3638
|
-
*/
|
|
3639
|
-
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
3640
3685
|
/**
|
|
3641
3686
|
* Enforce specific import styles per module.
|
|
3642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/import-style.md
|
|
3643
3688
|
*/
|
|
3644
3689
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
3645
3690
|
/**
|
|
3646
3691
|
* 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/
|
|
3692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/new-for-builtins.md
|
|
3648
3693
|
*/
|
|
3649
3694
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
3650
3695
|
/**
|
|
3651
3696
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
3653
3698
|
*/
|
|
3654
3699
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
3700
|
+
/**
|
|
3701
|
+
* Disallow recursive access to `this` within getters and setters.
|
|
3702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-accessor-recursion.md
|
|
3703
|
+
*/
|
|
3704
|
+
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
3655
3705
|
/**
|
|
3656
3706
|
* Disallow anonymous functions and classes as the default export.
|
|
3657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-anonymous-default-export.md
|
|
3658
3708
|
*/
|
|
3659
3709
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
3660
3710
|
/**
|
|
3661
3711
|
* Prevent passing a function reference directly to iterator methods.
|
|
3662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-callback-reference.md
|
|
3663
3713
|
*/
|
|
3664
3714
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
3665
3715
|
/**
|
|
3666
3716
|
* Prefer `for…of` over the `forEach` method.
|
|
3667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-for-each.md
|
|
3668
3718
|
*/
|
|
3669
3719
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
3670
|
-
/**
|
|
3671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
3672
|
-
* @deprecated
|
|
3673
|
-
*/
|
|
3674
|
-
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
3675
3720
|
/**
|
|
3676
3721
|
* Disallow using the `this` argument in array methods.
|
|
3677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-method-this-argument.md
|
|
3678
3723
|
*/
|
|
3679
3724
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
3680
3725
|
/**
|
|
3681
3726
|
* Enforce combining multiple `Array#push()` into one call.
|
|
3682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-push-push.md
|
|
3683
3728
|
*/
|
|
3684
3729
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
3685
3730
|
/**
|
|
3686
3731
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
3687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-reduce.md
|
|
3688
3733
|
*/
|
|
3689
3734
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
3690
3735
|
/**
|
|
3691
3736
|
* Disallow member access from await expression.
|
|
3692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-expression-member.md
|
|
3693
3738
|
*/
|
|
3694
3739
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
3695
3740
|
/**
|
|
3696
3741
|
* Disallow using `await` in `Promise` method parameters.
|
|
3697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-in-promise-methods.md
|
|
3698
3743
|
*/
|
|
3699
3744
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
3700
3745
|
/**
|
|
3701
3746
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
3702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-console-spaces.md
|
|
3703
3748
|
*/
|
|
3704
3749
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
3705
3750
|
/**
|
|
3706
3751
|
* Do not use `document.cookie` directly.
|
|
3707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-document-cookie.md
|
|
3708
3753
|
*/
|
|
3709
3754
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
3710
3755
|
/**
|
|
3711
3756
|
* Disallow empty files.
|
|
3712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-empty-file.md
|
|
3713
3758
|
*/
|
|
3714
3759
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
3715
|
-
/**
|
|
3716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
3717
|
-
* @deprecated
|
|
3718
|
-
*/
|
|
3719
|
-
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
3720
3760
|
/**
|
|
3721
3761
|
* 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/
|
|
3762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-for-loop.md
|
|
3723
3763
|
*/
|
|
3724
3764
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
3725
3765
|
/**
|
|
3726
3766
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
3727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-hex-escape.md
|
|
3728
3768
|
*/
|
|
3729
3769
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
3730
3770
|
/**
|
|
3731
|
-
*
|
|
3732
|
-
* @
|
|
3771
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/deprecated-rules.md#no-instanceof-array
|
|
3772
|
+
* @deprecated
|
|
3733
3773
|
*/
|
|
3734
3774
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
3775
|
+
/**
|
|
3776
|
+
* Disallow `instanceof` with built-in objects
|
|
3777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-instanceof-builtins.md
|
|
3778
|
+
*/
|
|
3779
|
+
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
3735
3780
|
/**
|
|
3736
3781
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
3737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-fetch-options.md
|
|
3738
3783
|
*/
|
|
3739
3784
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
3740
3785
|
/**
|
|
3741
3786
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
3742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
3743
3788
|
*/
|
|
3744
3789
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
3745
3790
|
/**
|
|
3746
3791
|
* Disallow identifiers starting with `new` or `class`.
|
|
3747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-keyword-prefix.md
|
|
3748
3793
|
*/
|
|
3749
3794
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
3750
3795
|
/**
|
|
3751
3796
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
3752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-length-as-slice-end.md
|
|
3753
3798
|
*/
|
|
3754
3799
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
3755
3800
|
/**
|
|
3756
3801
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
3757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-lonely-if.md
|
|
3758
3803
|
*/
|
|
3759
3804
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
3760
3805
|
/**
|
|
3761
3806
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
3762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
3763
3808
|
*/
|
|
3764
3809
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
3810
|
+
/**
|
|
3811
|
+
* Disallow named usage of default import and export.
|
|
3812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-named-default.md
|
|
3813
|
+
*/
|
|
3814
|
+
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
3765
3815
|
/**
|
|
3766
3816
|
* Disallow negated conditions.
|
|
3767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negated-condition.md
|
|
3768
3818
|
*/
|
|
3769
3819
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
3770
3820
|
/**
|
|
3771
3821
|
* Disallow negated expression in equality check.
|
|
3772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negation-in-equality-check.md
|
|
3773
3823
|
*/
|
|
3774
3824
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
3775
3825
|
/**
|
|
3776
3826
|
* Disallow nested ternary expressions.
|
|
3777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-nested-ternary.md
|
|
3778
3828
|
*/
|
|
3779
3829
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
3780
3830
|
/**
|
|
3781
3831
|
* Disallow `new Array()`.
|
|
3782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-array.md
|
|
3783
3833
|
*/
|
|
3784
3834
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
3785
3835
|
/**
|
|
3786
3836
|
* 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/
|
|
3837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-buffer.md
|
|
3788
3838
|
*/
|
|
3789
3839
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
3790
3840
|
/**
|
|
3791
3841
|
* Disallow the use of the `null` literal.
|
|
3792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-null.md
|
|
3793
3843
|
*/
|
|
3794
3844
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
3795
3845
|
/**
|
|
3796
3846
|
* Disallow the use of objects as default parameters.
|
|
3797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-object-as-default-parameter.md
|
|
3798
3848
|
*/
|
|
3799
3849
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
3800
3850
|
/**
|
|
3801
3851
|
* Disallow `process.exit()`.
|
|
3802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-process-exit.md
|
|
3803
3853
|
*/
|
|
3804
3854
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
3805
|
-
/**
|
|
3806
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
|
|
3807
|
-
* @deprecated
|
|
3808
|
-
*/
|
|
3809
|
-
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
3810
3855
|
/**
|
|
3811
3856
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
3812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
3813
3858
|
*/
|
|
3814
3859
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
3815
3860
|
/**
|
|
3816
3861
|
* Disallow classes that only have static members.
|
|
3817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-static-only-class.md
|
|
3818
3863
|
*/
|
|
3819
3864
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
3820
3865
|
/**
|
|
3821
3866
|
* Disallow `then` property.
|
|
3822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-thenable.md
|
|
3823
3868
|
*/
|
|
3824
3869
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
3825
3870
|
/**
|
|
3826
3871
|
* Disallow assigning `this` to a variable.
|
|
3827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-this-assignment.md
|
|
3828
3873
|
*/
|
|
3829
3874
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
3830
3875
|
/**
|
|
3831
3876
|
* Disallow comparing `undefined` using `typeof`.
|
|
3832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-typeof-undefined.md
|
|
3833
3878
|
*/
|
|
3834
3879
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
3835
3880
|
/**
|
|
3836
3881
|
* Disallow awaiting non-promise values.
|
|
3837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3882
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-await.md
|
|
3838
3883
|
*/
|
|
3839
3884
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
3840
3885
|
/**
|
|
3841
3886
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
3842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3887
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
3843
3888
|
*/
|
|
3844
3889
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
3845
3890
|
/**
|
|
3846
3891
|
* Disallow unreadable array destructuring.
|
|
3847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
3848
3893
|
*/
|
|
3849
3894
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
3850
3895
|
/**
|
|
3851
3896
|
* Disallow unreadable IIFEs.
|
|
3852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-iife.md
|
|
3853
3898
|
*/
|
|
3854
3899
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
3855
|
-
/**
|
|
3856
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
3857
|
-
* @deprecated
|
|
3858
|
-
*/
|
|
3859
|
-
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
3860
3900
|
/**
|
|
3861
3901
|
* Disallow unused object properties.
|
|
3862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unused-properties.md
|
|
3863
3903
|
*/
|
|
3864
3904
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
3865
3905
|
/**
|
|
3866
3906
|
* Disallow useless fallback when spreading in object literals.
|
|
3867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
3868
3908
|
*/
|
|
3869
3909
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
3870
3910
|
/**
|
|
3871
3911
|
* Disallow useless array length check.
|
|
3872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-length-check.md
|
|
3873
3913
|
*/
|
|
3874
3914
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
3875
3915
|
/**
|
|
3876
3916
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
3877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3917
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
3878
3918
|
*/
|
|
3879
3919
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
3880
3920
|
/**
|
|
3881
3921
|
* Disallow unnecessary spread.
|
|
3882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3922
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-spread.md
|
|
3883
3923
|
*/
|
|
3884
3924
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
3885
3925
|
/**
|
|
3886
3926
|
* Disallow useless case in switch statements.
|
|
3887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3927
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-switch-case.md
|
|
3888
3928
|
*/
|
|
3889
3929
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
3890
3930
|
/**
|
|
3891
3931
|
* Disallow useless `undefined`.
|
|
3892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3932
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-undefined.md
|
|
3893
3933
|
*/
|
|
3894
3934
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
3895
3935
|
/**
|
|
3896
3936
|
* Disallow number literals with zero fractions or dangling dots.
|
|
3897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3937
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-zero-fractions.md
|
|
3898
3938
|
*/
|
|
3899
3939
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
3900
3940
|
/**
|
|
3901
3941
|
* Enforce proper case for numeric literals.
|
|
3902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3942
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/number-literal-case.md
|
|
3903
3943
|
*/
|
|
3904
3944
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
3905
3945
|
/**
|
|
3906
3946
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
3907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3947
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/numeric-separators-style.md
|
|
3908
3948
|
*/
|
|
3909
3949
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
3910
3950
|
/**
|
|
3911
3951
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
3912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3952
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-add-event-listener.md
|
|
3913
3953
|
*/
|
|
3914
3954
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
3915
3955
|
/**
|
|
3916
3956
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
3917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3957
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-find.md
|
|
3918
3958
|
*/
|
|
3919
3959
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
3920
3960
|
/**
|
|
3921
3961
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
3922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3962
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat.md
|
|
3923
3963
|
*/
|
|
3924
3964
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
3925
3965
|
/**
|
|
3926
3966
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
3927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3967
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat-map.md
|
|
3928
3968
|
*/
|
|
3929
3969
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
3930
3970
|
/**
|
|
3931
3971
|
* 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/
|
|
3972
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-index-of.md
|
|
3933
3973
|
*/
|
|
3934
3974
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
3935
3975
|
/**
|
|
3936
3976
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
3937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3977
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-some.md
|
|
3938
3978
|
*/
|
|
3939
3979
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
3940
3980
|
/**
|
|
3941
3981
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
3942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3982
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-at.md
|
|
3943
3983
|
*/
|
|
3944
3984
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
3945
3985
|
/**
|
|
3946
3986
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
3947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3987
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
3948
3988
|
*/
|
|
3949
3989
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
3950
3990
|
/**
|
|
3951
3991
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
3952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3992
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-code-point.md
|
|
3953
3993
|
*/
|
|
3954
3994
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
3955
|
-
/**
|
|
3956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
3957
|
-
* @deprecated
|
|
3958
|
-
*/
|
|
3959
|
-
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
3960
3995
|
/**
|
|
3961
3996
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
3962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3997
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-date-now.md
|
|
3963
3998
|
*/
|
|
3964
3999
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
3965
4000
|
/**
|
|
3966
4001
|
* Prefer default parameters over reassignment.
|
|
3967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4002
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-default-parameters.md
|
|
3968
4003
|
*/
|
|
3969
4004
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
3970
4005
|
/**
|
|
3971
4006
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
3972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4007
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-append.md
|
|
3973
4008
|
*/
|
|
3974
4009
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
3975
4010
|
/**
|
|
3976
4011
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
3977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4012
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
3978
4013
|
*/
|
|
3979
4014
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
3980
4015
|
/**
|
|
3981
4016
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
3982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4017
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-remove.md
|
|
3983
4018
|
*/
|
|
3984
4019
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
3985
4020
|
/**
|
|
3986
4021
|
* Prefer `.textContent` over `.innerText`.
|
|
3987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4022
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
3988
4023
|
*/
|
|
3989
4024
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
3990
|
-
/**
|
|
3991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
3992
|
-
* @deprecated
|
|
3993
|
-
*/
|
|
3994
|
-
'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/v57.0.0/docs/rules/prefer-event-target.md
|
|
3998
4028
|
*/
|
|
3999
4029
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4000
|
-
/**
|
|
4001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4002
|
-
* @deprecated
|
|
4003
|
-
*/
|
|
4004
|
-
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4005
4030
|
/**
|
|
4006
4031
|
* Prefer `export…from` when re-exporting.
|
|
4007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4032
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-export-from.md
|
|
4008
4033
|
*/
|
|
4009
4034
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4010
4035
|
/**
|
|
4011
|
-
*
|
|
4012
|
-
* @
|
|
4036
|
+
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4037
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-global-this.md
|
|
4013
4038
|
*/
|
|
4014
|
-
'unicorn/prefer-
|
|
4039
|
+
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4015
4040
|
/**
|
|
4016
4041
|
* 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/
|
|
4042
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-includes.md
|
|
4018
4043
|
*/
|
|
4019
4044
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4020
4045
|
/**
|
|
4021
4046
|
* Prefer reading a JSON file as a buffer.
|
|
4022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4047
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4023
4048
|
*/
|
|
4024
4049
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4025
4050
|
/**
|
|
4026
4051
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4052
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4028
4053
|
*/
|
|
4029
4054
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4030
4055
|
/**
|
|
4031
4056
|
* Prefer using a logical operator over a ternary.
|
|
4032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4057
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4033
4058
|
*/
|
|
4034
4059
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4060
|
+
/**
|
|
4061
|
+
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4062
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-min-max.md
|
|
4063
|
+
*/
|
|
4064
|
+
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4035
4065
|
/**
|
|
4036
4066
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4067
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-trunc.md
|
|
4038
4068
|
*/
|
|
4039
4069
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4040
4070
|
/**
|
|
4041
4071
|
* 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/
|
|
4072
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4043
4073
|
*/
|
|
4044
4074
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4045
4075
|
/**
|
|
4046
4076
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4077
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4048
4078
|
*/
|
|
4049
4079
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4050
4080
|
/**
|
|
4051
4081
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4082
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-module.md
|
|
4053
4083
|
*/
|
|
4054
4084
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4055
4085
|
/**
|
|
4056
4086
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4087
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4058
4088
|
*/
|
|
4059
4089
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4060
4090
|
/**
|
|
4061
4091
|
* Prefer negative index over `.length - index` when possible.
|
|
4062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4092
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-negative-index.md
|
|
4063
4093
|
*/
|
|
4064
4094
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4065
|
-
/**
|
|
4066
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
4067
|
-
* @deprecated
|
|
4068
|
-
*/
|
|
4069
|
-
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
4070
4095
|
/**
|
|
4071
4096
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4097
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-node-protocol.md
|
|
4073
4098
|
*/
|
|
4074
4099
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4075
|
-
/**
|
|
4076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
4077
|
-
* @deprecated
|
|
4078
|
-
*/
|
|
4079
|
-
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
4080
4100
|
/**
|
|
4081
4101
|
* Prefer `Number` static properties over global ones.
|
|
4082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4102
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-number-properties.md
|
|
4083
4103
|
*/
|
|
4084
4104
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4085
4105
|
/**
|
|
4086
4106
|
* 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/
|
|
4107
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-object-from-entries.md
|
|
4088
4108
|
*/
|
|
4089
4109
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4090
|
-
/**
|
|
4091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
4092
|
-
* @deprecated
|
|
4093
|
-
*/
|
|
4094
|
-
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
4095
4110
|
/**
|
|
4096
4111
|
* Prefer omitting the `catch` binding parameter.
|
|
4097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4112
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
4098
4113
|
*/
|
|
4099
4114
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4100
4115
|
/**
|
|
4101
4116
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4117
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-prototype-methods.md
|
|
4103
4118
|
*/
|
|
4104
4119
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4105
4120
|
/**
|
|
4106
|
-
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
4107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4121
|
+
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4122
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-query-selector.md
|
|
4108
4123
|
*/
|
|
4109
4124
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4110
4125
|
/**
|
|
4111
4126
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4127
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-reflect-apply.md
|
|
4113
4128
|
*/
|
|
4114
4129
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4115
4130
|
/**
|
|
4116
4131
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4132
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-regexp-test.md
|
|
4118
4133
|
*/
|
|
4119
4134
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4120
|
-
/**
|
|
4121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
4122
|
-
* @deprecated
|
|
4123
|
-
*/
|
|
4124
|
-
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
4125
4135
|
/**
|
|
4126
4136
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4137
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-has.md
|
|
4128
4138
|
*/
|
|
4129
4139
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4130
4140
|
/**
|
|
4131
4141
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-size.md
|
|
4133
4143
|
*/
|
|
4134
4144
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4135
4145
|
/**
|
|
4136
4146
|
* 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/
|
|
4147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-spread.md
|
|
4138
4148
|
*/
|
|
4139
4149
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4140
|
-
/**
|
|
4141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
4142
|
-
* @deprecated
|
|
4143
|
-
*/
|
|
4144
|
-
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4145
4150
|
/**
|
|
4146
4151
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-raw.md
|
|
4148
4153
|
*/
|
|
4149
4154
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4150
4155
|
/**
|
|
4151
4156
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-replace-all.md
|
|
4153
4158
|
*/
|
|
4154
4159
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4155
4160
|
/**
|
|
4156
4161
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4162
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-slice.md
|
|
4158
4163
|
*/
|
|
4159
4164
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4160
4165
|
/**
|
|
4161
4166
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4167
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
4163
4168
|
*/
|
|
4164
4169
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4165
4170
|
/**
|
|
4166
4171
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4172
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
4168
4173
|
*/
|
|
4169
4174
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4170
4175
|
/**
|
|
4171
4176
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-structured-clone.md
|
|
4173
4178
|
*/
|
|
4174
4179
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4175
4180
|
/**
|
|
4176
4181
|
* Prefer `switch` over multiple `else-if`.
|
|
4177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4182
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-switch.md
|
|
4178
4183
|
*/
|
|
4179
4184
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4180
4185
|
/**
|
|
4181
4186
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-ternary.md
|
|
4183
4188
|
*/
|
|
4184
4189
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4185
|
-
/**
|
|
4186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
4187
|
-
* @deprecated
|
|
4188
|
-
*/
|
|
4189
|
-
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
4190
4190
|
/**
|
|
4191
4191
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-top-level-await.md
|
|
4193
4193
|
*/
|
|
4194
4194
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4195
|
-
/**
|
|
4196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
4197
|
-
* @deprecated
|
|
4198
|
-
*/
|
|
4199
|
-
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4200
4195
|
/**
|
|
4201
4196
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-type-error.md
|
|
4203
4198
|
*/
|
|
4204
4199
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4205
4200
|
/**
|
|
4206
4201
|
* Prevent abbreviations.
|
|
4207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prevent-abbreviations.md
|
|
4208
4203
|
*/
|
|
4209
4204
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4210
|
-
/**
|
|
4211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
4212
|
-
* @deprecated
|
|
4213
|
-
*/
|
|
4214
|
-
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
4215
4205
|
/**
|
|
4216
4206
|
* Enforce consistent relative URL style.
|
|
4217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/relative-url-style.md
|
|
4218
4208
|
*/
|
|
4219
4209
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4220
4210
|
/**
|
|
4221
4211
|
* Enforce using the separator argument with `Array#join()`.
|
|
4222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4212
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-array-join-separator.md
|
|
4223
4213
|
*/
|
|
4224
4214
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4225
4215
|
/**
|
|
4226
4216
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4228
4218
|
*/
|
|
4229
4219
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4230
4220
|
/**
|
|
4231
4221
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-post-message-target-origin.md
|
|
4233
4223
|
*/
|
|
4234
4224
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4235
4225
|
/**
|
|
4236
4226
|
* Enforce better string content.
|
|
4237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/string-content.md
|
|
4238
4228
|
*/
|
|
4239
4229
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4240
4230
|
/**
|
|
4241
4231
|
* Enforce consistent brace style for `case` clauses.
|
|
4242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/switch-case-braces.md
|
|
4243
4233
|
*/
|
|
4244
4234
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4245
4235
|
/**
|
|
4246
4236
|
* Fix whitespace-insensitive template indentation.
|
|
4247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/template-indent.md
|
|
4248
4238
|
*/
|
|
4249
4239
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4250
4240
|
/**
|
|
4251
4241
|
* Enforce consistent case for text encoding identifiers.
|
|
4252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/text-encoding-identifier-case.md
|
|
4253
4243
|
*/
|
|
4254
4244
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4255
4245
|
/**
|
|
4256
4246
|
* Require `new` when creating an error.
|
|
4257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/throw-new-error.md
|
|
4258
4248
|
*/
|
|
4259
4249
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4260
4250
|
/**
|
|
@@ -4638,6 +4628,11 @@ interface RuleOptions {
|
|
|
4638
4628
|
* @see https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html
|
|
4639
4629
|
*/
|
|
4640
4630
|
'vue/no-deprecated-data-object-declaration'?: Linter.RuleEntry<[]>
|
|
4631
|
+
/**
|
|
4632
|
+
* disallow using deprecated `$delete` and `$set` (in Vue.js 3.0.0+)
|
|
4633
|
+
* @see https://eslint.vuejs.org/rules/no-deprecated-delete-set.html
|
|
4634
|
+
*/
|
|
4635
|
+
'vue/no-deprecated-delete-set'?: Linter.RuleEntry<[]>
|
|
4641
4636
|
/**
|
|
4642
4637
|
* disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+)
|
|
4643
4638
|
* @see https://eslint.vuejs.org/rules/no-deprecated-destroyed-lifecycle.html
|
|
@@ -4747,7 +4742,7 @@ interface RuleOptions {
|
|
|
4747
4742
|
* enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
|
|
4748
4743
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html
|
|
4749
4744
|
*/
|
|
4750
|
-
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<
|
|
4745
|
+
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<VueNoDuplicateAttrInheritance>
|
|
4751
4746
|
/**
|
|
4752
4747
|
* disallow duplication of attributes
|
|
4753
4748
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
@@ -5191,6 +5186,11 @@ interface RuleOptions {
|
|
|
5191
5186
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
5192
5187
|
*/
|
|
5193
5188
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
5189
|
+
/**
|
|
5190
|
+
* require using `useTemplateRef` instead of `ref`/`shallowRef` for template refs
|
|
5191
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
5192
|
+
*/
|
|
5193
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
5194
5194
|
/**
|
|
5195
5195
|
* enforce specific casing for the Prop name in Vue components
|
|
5196
5196
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -5301,6 +5301,11 @@ interface RuleOptions {
|
|
|
5301
5301
|
* @see https://eslint.vuejs.org/rules/require-valid-default-prop.html
|
|
5302
5302
|
*/
|
|
5303
5303
|
'vue/require-valid-default-prop'?: Linter.RuleEntry<[]>
|
|
5304
|
+
/**
|
|
5305
|
+
* enforce using only specific component names
|
|
5306
|
+
* @see https://eslint.vuejs.org/rules/restricted-component-names.html
|
|
5307
|
+
*/
|
|
5308
|
+
'vue/restricted-component-names'?: Linter.RuleEntry<VueRestrictedComponentNames>
|
|
5304
5309
|
/**
|
|
5305
5310
|
* enforce that a return statement is present in computed property
|
|
5306
5311
|
* @see https://eslint.vuejs.org/rules/return-in-computed-property.html
|
|
@@ -5327,6 +5332,11 @@ interface RuleOptions {
|
|
|
5327
5332
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
5328
5333
|
*/
|
|
5329
5334
|
'vue/singleline-html-element-content-newline'?: Linter.RuleEntry<VueSinglelineHtmlElementContentNewline>
|
|
5335
|
+
/**
|
|
5336
|
+
* enforce specific casing for slot names
|
|
5337
|
+
* @see https://eslint.vuejs.org/rules/slot-name-casing.html
|
|
5338
|
+
*/
|
|
5339
|
+
'vue/slot-name-casing'?: Linter.RuleEntry<VueSlotNameCasing>
|
|
5330
5340
|
/**
|
|
5331
5341
|
* enforce sort-keys in a manner that is compatible with order-in-components
|
|
5332
5342
|
* @see https://eslint.vuejs.org/rules/sort-keys.html
|
|
@@ -5577,6 +5587,11 @@ type TypescriptEslintArrayType = []|[{
|
|
|
5577
5587
|
}]
|
|
5578
5588
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
5579
5589
|
type TypescriptEslintBanTsComment = []|[{
|
|
5590
|
+
|
|
5591
|
+
minimumDescriptionLength?: number
|
|
5592
|
+
"ts-check"?: (boolean | "allow-with-description" | {
|
|
5593
|
+
descriptionFormat?: string
|
|
5594
|
+
})
|
|
5580
5595
|
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
5581
5596
|
descriptionFormat?: string
|
|
5582
5597
|
})
|
|
@@ -5586,24 +5601,19 @@ type TypescriptEslintBanTsComment = []|[{
|
|
|
5586
5601
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
5587
5602
|
descriptionFormat?: string
|
|
5588
5603
|
})
|
|
5589
|
-
"ts-check"?: (boolean | "allow-with-description" | {
|
|
5590
|
-
descriptionFormat?: string
|
|
5591
|
-
})
|
|
5592
|
-
|
|
5593
|
-
minimumDescriptionLength?: number
|
|
5594
5604
|
}]
|
|
5595
5605
|
// ----- @typescript-eslint/class-literal-property-style -----
|
|
5596
5606
|
type TypescriptEslintClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
5597
5607
|
// ----- @typescript-eslint/class-methods-use-this -----
|
|
5598
5608
|
type TypescriptEslintClassMethodsUseThis = []|[{
|
|
5599
5609
|
|
|
5600
|
-
exceptMethods?: string[]
|
|
5601
|
-
|
|
5602
5610
|
enforceForClassFields?: boolean
|
|
5603
5611
|
|
|
5604
|
-
|
|
5612
|
+
exceptMethods?: string[]
|
|
5605
5613
|
|
|
5606
5614
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
5615
|
+
|
|
5616
|
+
ignoreOverrideMethods?: boolean
|
|
5607
5617
|
}]
|
|
5608
5618
|
// ----- @typescript-eslint/consistent-generic-constructors -----
|
|
5609
5619
|
type TypescriptEslintConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
@@ -5619,7 +5629,9 @@ type TypescriptEslintConsistentTypeAssertions = []|[({
|
|
|
5619
5629
|
assertionStyle: "never"
|
|
5620
5630
|
} | {
|
|
5621
5631
|
|
|
5622
|
-
|
|
5632
|
+
arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
5633
|
+
|
|
5634
|
+
assertionStyle?: ("as" | "angle-bracket")
|
|
5623
5635
|
|
|
5624
5636
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
5625
5637
|
})]
|
|
@@ -5642,6 +5654,8 @@ type TypescriptEslintConsistentTypeImports = []|[{
|
|
|
5642
5654
|
// ----- @typescript-eslint/dot-notation -----
|
|
5643
5655
|
type TypescriptEslintDotNotation = []|[{
|
|
5644
5656
|
|
|
5657
|
+
allowIndexSignaturePropertyAccess?: boolean
|
|
5658
|
+
|
|
5645
5659
|
allowKeywords?: boolean
|
|
5646
5660
|
|
|
5647
5661
|
allowPattern?: string
|
|
@@ -5649,40 +5663,40 @@ type TypescriptEslintDotNotation = []|[{
|
|
|
5649
5663
|
allowPrivateClassPropertyAccess?: boolean
|
|
5650
5664
|
|
|
5651
5665
|
allowProtectedClassPropertyAccess?: boolean
|
|
5652
|
-
|
|
5653
|
-
allowIndexSignaturePropertyAccess?: boolean
|
|
5654
5666
|
}]
|
|
5655
5667
|
// ----- @typescript-eslint/explicit-function-return-type -----
|
|
5656
5668
|
type TypescriptEslintExplicitFunctionReturnType = []|[{
|
|
5657
5669
|
|
|
5658
5670
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
|
|
5659
5671
|
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
allowHigherOrderFunctions?: boolean
|
|
5672
|
+
allowDirectConstAssertionInArrowFunctions?: boolean
|
|
5663
5673
|
|
|
5664
|
-
|
|
5674
|
+
allowedNames?: string[]
|
|
5665
5675
|
|
|
5666
|
-
|
|
5676
|
+
allowExpressions?: boolean
|
|
5667
5677
|
|
|
5668
5678
|
allowFunctionsWithoutTypeParameters?: boolean
|
|
5669
5679
|
|
|
5670
|
-
|
|
5680
|
+
allowHigherOrderFunctions?: boolean
|
|
5671
5681
|
|
|
5672
5682
|
allowIIFEs?: boolean
|
|
5683
|
+
|
|
5684
|
+
allowTypedFunctionExpressions?: boolean
|
|
5673
5685
|
}]
|
|
5674
5686
|
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
5675
5687
|
type TypescriptEslintExplicitMemberAccessibility = []|[{
|
|
5688
|
+
|
|
5676
5689
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
5690
|
+
|
|
5691
|
+
ignoredMethodNames?: string[]
|
|
5692
|
+
|
|
5677
5693
|
overrides?: {
|
|
5678
5694
|
accessors?: ("explicit" | "no-public" | "off")
|
|
5679
5695
|
constructors?: ("explicit" | "no-public" | "off")
|
|
5680
5696
|
methods?: ("explicit" | "no-public" | "off")
|
|
5681
|
-
properties?: ("explicit" | "no-public" | "off")
|
|
5682
5697
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
5698
|
+
properties?: ("explicit" | "no-public" | "off")
|
|
5683
5699
|
}
|
|
5684
|
-
|
|
5685
|
-
ignoredMethodNames?: string[]
|
|
5686
5700
|
}]
|
|
5687
5701
|
// ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
5688
5702
|
type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
@@ -5704,38 +5718,38 @@ type TypescriptEslintInitDeclarations = ([]|["always"] | []|["never"]|["never",
|
|
|
5704
5718
|
// ----- @typescript-eslint/max-params -----
|
|
5705
5719
|
type TypescriptEslintMaxParams = []|[{
|
|
5706
5720
|
|
|
5721
|
+
countVoidThis?: boolean
|
|
5722
|
+
|
|
5707
5723
|
max?: number
|
|
5708
5724
|
|
|
5709
5725
|
maximum?: number
|
|
5710
|
-
|
|
5711
|
-
countVoidThis?: boolean
|
|
5712
5726
|
}]
|
|
5713
5727
|
// ----- @typescript-eslint/member-ordering -----
|
|
5714
5728
|
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
5729
|
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
5730
|
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
5731
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5732
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5724
5733
|
})
|
|
5725
5734
|
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
5735
|
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")
|
|
5736
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
5727
5737
|
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5738
|
+
})
|
|
5739
|
+
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")[])[] | {
|
|
5740
|
+
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
5741
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5742
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5729
5743
|
})
|
|
5730
5744
|
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
5731
5745
|
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
5746
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5747
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5734
5748
|
})
|
|
5735
5749
|
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
5736
5750
|
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
5751
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
5752
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
5739
5753
|
})
|
|
5740
5754
|
}]
|
|
5741
5755
|
// ----- @typescript-eslint/method-signature-style -----
|
|
@@ -5747,310 +5761,310 @@ type _TypescriptEslintNamingConventionUnderscoreOptions = ("forbid" | "allow" |
|
|
|
5747
5761
|
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[]
|
|
5748
5762
|
type _TypescriptEslintNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
5749
5763
|
type TypescriptEslintNamingConvention = ({
|
|
5750
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5751
5764
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5765
|
+
failureMessage?: string
|
|
5766
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5752
5767
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5753
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5754
5768
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5755
5769
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5756
|
-
|
|
5770
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5757
5771
|
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
5772
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
5773
|
+
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
5774
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5761
5775
|
} | {
|
|
5762
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5763
5776
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5777
|
+
failureMessage?: string
|
|
5778
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5764
5779
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5765
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5766
5780
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5767
5781
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5768
|
-
|
|
5782
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5769
5783
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5770
5784
|
selector: "default"
|
|
5771
5785
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
5772
5786
|
} | {
|
|
5773
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5774
5787
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5788
|
+
failureMessage?: string
|
|
5789
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5775
5790
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5776
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5777
5791
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5778
5792
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5779
|
-
|
|
5793
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5780
5794
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5781
5795
|
selector: "variableLike"
|
|
5782
5796
|
modifiers?: ("unused" | "async")[]
|
|
5783
5797
|
} | {
|
|
5784
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5785
5798
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5799
|
+
failureMessage?: string
|
|
5800
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5786
5801
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5787
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5788
5802
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5789
5803
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5790
|
-
|
|
5804
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5791
5805
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5792
5806
|
selector: "variable"
|
|
5793
5807
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
5794
5808
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5795
5809
|
} | {
|
|
5796
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5797
5810
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5811
|
+
failureMessage?: string
|
|
5812
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5798
5813
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5799
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5800
5814
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5801
5815
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5802
|
-
|
|
5816
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5803
5817
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5804
5818
|
selector: "function"
|
|
5805
5819
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
5806
5820
|
} | {
|
|
5807
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5808
5821
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5822
|
+
failureMessage?: string
|
|
5823
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5809
5824
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5810
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5811
5825
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5812
5826
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5813
|
-
|
|
5827
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5814
5828
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5815
5829
|
selector: "parameter"
|
|
5816
5830
|
modifiers?: ("destructured" | "unused")[]
|
|
5817
5831
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5818
5832
|
} | {
|
|
5819
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5820
5833
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5834
|
+
failureMessage?: string
|
|
5835
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5821
5836
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5822
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5823
5837
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5824
5838
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5825
|
-
|
|
5839
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5826
5840
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5827
5841
|
selector: "memberLike"
|
|
5828
5842
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5829
5843
|
} | {
|
|
5830
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5831
5844
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5845
|
+
failureMessage?: string
|
|
5846
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5832
5847
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5833
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5834
5848
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5835
5849
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5836
|
-
|
|
5850
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5837
5851
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5838
5852
|
selector: "classProperty"
|
|
5839
5853
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
5840
5854
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5841
5855
|
} | {
|
|
5842
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5843
5856
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5857
|
+
failureMessage?: string
|
|
5858
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5844
5859
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5845
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5846
5860
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5847
5861
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5848
|
-
|
|
5862
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5849
5863
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5850
5864
|
selector: "objectLiteralProperty"
|
|
5851
5865
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
5852
5866
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5853
5867
|
} | {
|
|
5854
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5855
5868
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5869
|
+
failureMessage?: string
|
|
5870
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5856
5871
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5857
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5858
5872
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5859
5873
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5860
|
-
|
|
5874
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5861
5875
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5862
5876
|
selector: "typeProperty"
|
|
5863
5877
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
5864
5878
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5865
5879
|
} | {
|
|
5866
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5867
5880
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5881
|
+
failureMessage?: string
|
|
5882
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5868
5883
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5869
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5870
5884
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5871
5885
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5872
|
-
|
|
5886
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5873
5887
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5874
5888
|
selector: "parameterProperty"
|
|
5875
5889
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
5876
5890
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5877
5891
|
} | {
|
|
5878
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5879
5892
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5893
|
+
failureMessage?: string
|
|
5894
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5880
5895
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5881
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5882
5896
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5883
5897
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5884
|
-
|
|
5898
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5885
5899
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5886
5900
|
selector: "property"
|
|
5887
5901
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5888
5902
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5889
5903
|
} | {
|
|
5890
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5891
5904
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5905
|
+
failureMessage?: string
|
|
5906
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5892
5907
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5893
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5894
5908
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5895
5909
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5896
|
-
|
|
5910
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5897
5911
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5898
5912
|
selector: "classMethod"
|
|
5899
5913
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5900
5914
|
} | {
|
|
5901
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5902
5915
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5916
|
+
failureMessage?: string
|
|
5917
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5903
5918
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5904
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5905
5919
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5906
5920
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5907
|
-
|
|
5921
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5908
5922
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5909
5923
|
selector: "objectLiteralMethod"
|
|
5910
5924
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
5911
5925
|
} | {
|
|
5912
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5913
5926
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5927
|
+
failureMessage?: string
|
|
5928
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5914
5929
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5915
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5916
5930
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5917
5931
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5918
|
-
|
|
5932
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5919
5933
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5920
5934
|
selector: "typeMethod"
|
|
5921
5935
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
5922
5936
|
} | {
|
|
5923
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5924
5937
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5938
|
+
failureMessage?: string
|
|
5939
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5925
5940
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5926
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5927
5941
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5928
5942
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5929
|
-
|
|
5943
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5930
5944
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5931
5945
|
selector: "method"
|
|
5932
5946
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
5933
5947
|
} | {
|
|
5934
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5935
5948
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5949
|
+
failureMessage?: string
|
|
5950
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5936
5951
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5937
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5938
5952
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5939
5953
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5940
|
-
|
|
5954
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5941
5955
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5942
5956
|
selector: "classicAccessor"
|
|
5943
5957
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5944
5958
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5945
5959
|
} | {
|
|
5946
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5947
5960
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5961
|
+
failureMessage?: string
|
|
5962
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5948
5963
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5949
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5950
5964
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5951
5965
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5952
|
-
|
|
5966
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5953
5967
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5954
5968
|
selector: "autoAccessor"
|
|
5955
5969
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5956
5970
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5957
5971
|
} | {
|
|
5958
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5959
5972
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5973
|
+
failureMessage?: string
|
|
5974
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5960
5975
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5961
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5962
5976
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5963
5977
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5964
|
-
|
|
5978
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5965
5979
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5966
5980
|
selector: "accessor"
|
|
5967
5981
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
5968
5982
|
types?: _TypescriptEslintNamingConventionTypeModifiers[]
|
|
5969
5983
|
} | {
|
|
5970
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5971
5984
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5985
|
+
failureMessage?: string
|
|
5986
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5972
5987
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5973
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5974
5988
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5975
5989
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5976
|
-
|
|
5990
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5977
5991
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5978
5992
|
selector: "enumMember"
|
|
5979
5993
|
modifiers?: ("requiresQuotes")[]
|
|
5980
5994
|
} | {
|
|
5981
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5982
5995
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
5996
|
+
failureMessage?: string
|
|
5997
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5983
5998
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5984
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5985
5999
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5986
6000
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5987
|
-
|
|
6001
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5988
6002
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
5989
6003
|
selector: "typeLike"
|
|
5990
6004
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
5991
6005
|
} | {
|
|
5992
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5993
6006
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6007
|
+
failureMessage?: string
|
|
6008
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
5994
6009
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5995
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5996
6010
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5997
6011
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
5998
|
-
|
|
6012
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
5999
6013
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6000
6014
|
selector: "class"
|
|
6001
6015
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
6002
6016
|
} | {
|
|
6003
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6004
6017
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6018
|
+
failureMessage?: string
|
|
6019
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6005
6020
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6006
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6007
6021
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6008
6022
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6009
|
-
|
|
6023
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6010
6024
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6011
6025
|
selector: "interface"
|
|
6012
6026
|
modifiers?: ("exported" | "unused")[]
|
|
6013
6027
|
} | {
|
|
6014
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6015
6028
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6029
|
+
failureMessage?: string
|
|
6030
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6016
6031
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6017
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6018
6032
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6019
6033
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6020
|
-
|
|
6034
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6021
6035
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6022
6036
|
selector: "typeAlias"
|
|
6023
6037
|
modifiers?: ("exported" | "unused")[]
|
|
6024
6038
|
} | {
|
|
6025
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6026
6039
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6040
|
+
failureMessage?: string
|
|
6041
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6027
6042
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6028
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6029
6043
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6030
6044
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6031
|
-
|
|
6045
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6032
6046
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6033
6047
|
selector: "enum"
|
|
6034
6048
|
modifiers?: ("exported" | "unused")[]
|
|
6035
6049
|
} | {
|
|
6036
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6037
6050
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6051
|
+
failureMessage?: string
|
|
6052
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6038
6053
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6039
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6040
6054
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6041
6055
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6042
|
-
|
|
6056
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6043
6057
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6044
6058
|
selector: "typeParameter"
|
|
6045
6059
|
modifiers?: ("unused")[]
|
|
6046
6060
|
} | {
|
|
6047
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6048
6061
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig
|
|
6062
|
+
failureMessage?: string
|
|
6063
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig
|
|
6049
6064
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6050
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6051
6065
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6052
6066
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig
|
|
6053
|
-
|
|
6067
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions
|
|
6054
6068
|
filter?: (string | _TypescriptEslintNamingConvention_MatchRegexConfig)
|
|
6055
6069
|
selector: "import"
|
|
6056
6070
|
modifiers?: ("default" | "namespace")[]
|
|
@@ -6070,6 +6084,24 @@ type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
|
6070
6084
|
ignoreArrowShorthand?: boolean
|
|
6071
6085
|
|
|
6072
6086
|
ignoreVoidOperator?: boolean
|
|
6087
|
+
|
|
6088
|
+
ignoreVoidReturningFunctions?: boolean
|
|
6089
|
+
}]
|
|
6090
|
+
// ----- @typescript-eslint/no-deprecated -----
|
|
6091
|
+
type TypescriptEslintNoDeprecated = []|[{
|
|
6092
|
+
|
|
6093
|
+
allow?: (string | {
|
|
6094
|
+
from: "file"
|
|
6095
|
+
name: (string | [string, ...(string)[]])
|
|
6096
|
+
path?: string
|
|
6097
|
+
} | {
|
|
6098
|
+
from: "lib"
|
|
6099
|
+
name: (string | [string, ...(string)[]])
|
|
6100
|
+
} | {
|
|
6101
|
+
from: "package"
|
|
6102
|
+
name: (string | [string, ...(string)[]])
|
|
6103
|
+
package: string
|
|
6104
|
+
})[]
|
|
6073
6105
|
}]
|
|
6074
6106
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
6075
6107
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
@@ -6118,7 +6150,7 @@ type TypescriptEslintNoExtraneousClass = []|[{
|
|
|
6118
6150
|
// ----- @typescript-eslint/no-floating-promises -----
|
|
6119
6151
|
type TypescriptEslintNoFloatingPromises = []|[{
|
|
6120
6152
|
|
|
6121
|
-
|
|
6153
|
+
allowForKnownSafeCalls?: (string | {
|
|
6122
6154
|
from: "file"
|
|
6123
6155
|
name: (string | [string, ...(string)[]])
|
|
6124
6156
|
path?: string
|
|
@@ -6131,7 +6163,7 @@ type TypescriptEslintNoFloatingPromises = []|[{
|
|
|
6131
6163
|
package: string
|
|
6132
6164
|
})[]
|
|
6133
6165
|
|
|
6134
|
-
|
|
6166
|
+
allowForKnownSafePromises?: (string | {
|
|
6135
6167
|
from: "file"
|
|
6136
6168
|
name: (string | [string, ...(string)[]])
|
|
6137
6169
|
path?: string
|
|
@@ -6146,9 +6178,9 @@ type TypescriptEslintNoFloatingPromises = []|[{
|
|
|
6146
6178
|
|
|
6147
6179
|
checkThenables?: boolean
|
|
6148
6180
|
|
|
6149
|
-
ignoreVoid?: boolean
|
|
6150
|
-
|
|
6151
6181
|
ignoreIIFE?: boolean
|
|
6182
|
+
|
|
6183
|
+
ignoreVoid?: boolean
|
|
6152
6184
|
}]
|
|
6153
6185
|
// ----- @typescript-eslint/no-inferrable-types -----
|
|
6154
6186
|
type TypescriptEslintNoInferrableTypes = []|[{
|
|
@@ -6164,9 +6196,9 @@ type TypescriptEslintNoInvalidThis = []|[{
|
|
|
6164
6196
|
// ----- @typescript-eslint/no-invalid-void-type -----
|
|
6165
6197
|
type TypescriptEslintNoInvalidVoidType = []|[{
|
|
6166
6198
|
|
|
6167
|
-
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
6168
|
-
|
|
6169
6199
|
allowAsThisParameter?: boolean
|
|
6200
|
+
|
|
6201
|
+
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
6170
6202
|
}]
|
|
6171
6203
|
// ----- @typescript-eslint/no-magic-numbers -----
|
|
6172
6204
|
type TypescriptEslintNoMagicNumbers = []|[{
|
|
@@ -6177,10 +6209,10 @@ type TypescriptEslintNoMagicNumbers = []|[{
|
|
|
6177
6209
|
ignoreDefaultValues?: boolean
|
|
6178
6210
|
ignoreClassFieldInitialValues?: boolean
|
|
6179
6211
|
|
|
6180
|
-
ignoreNumericLiteralTypes?: boolean
|
|
6181
|
-
|
|
6182
6212
|
ignoreEnums?: boolean
|
|
6183
6213
|
|
|
6214
|
+
ignoreNumericLiteralTypes?: boolean
|
|
6215
|
+
|
|
6184
6216
|
ignoreReadonlyClassProperties?: boolean
|
|
6185
6217
|
|
|
6186
6218
|
ignoreTypeIndexes?: boolean
|
|
@@ -6192,7 +6224,11 @@ type TypescriptEslintNoMeaninglessVoidOperator = []|[{
|
|
|
6192
6224
|
}]
|
|
6193
6225
|
// ----- @typescript-eslint/no-misused-promises -----
|
|
6194
6226
|
type TypescriptEslintNoMisusedPromises = []|[{
|
|
6227
|
+
|
|
6195
6228
|
checksConditionals?: boolean
|
|
6229
|
+
|
|
6230
|
+
checksSpreads?: boolean
|
|
6231
|
+
|
|
6196
6232
|
checksVoidReturn?: (boolean | {
|
|
6197
6233
|
|
|
6198
6234
|
arguments?: boolean
|
|
@@ -6207,8 +6243,22 @@ type TypescriptEslintNoMisusedPromises = []|[{
|
|
|
6207
6243
|
|
|
6208
6244
|
variables?: boolean
|
|
6209
6245
|
})
|
|
6246
|
+
}]
|
|
6247
|
+
// ----- @typescript-eslint/no-misused-spread -----
|
|
6248
|
+
type TypescriptEslintNoMisusedSpread = []|[{
|
|
6210
6249
|
|
|
6211
|
-
|
|
6250
|
+
allow?: (string | {
|
|
6251
|
+
from: "file"
|
|
6252
|
+
name: (string | [string, ...(string)[]])
|
|
6253
|
+
path?: string
|
|
6254
|
+
} | {
|
|
6255
|
+
from: "lib"
|
|
6256
|
+
name: (string | [string, ...(string)[]])
|
|
6257
|
+
} | {
|
|
6258
|
+
from: "package"
|
|
6259
|
+
name: (string | [string, ...(string)[]])
|
|
6260
|
+
package: string
|
|
6261
|
+
})[]
|
|
6212
6262
|
}]
|
|
6213
6263
|
// ----- @typescript-eslint/no-namespace -----
|
|
6214
6264
|
type TypescriptEslintNoNamespace = []|[{
|
|
@@ -6266,13 +6316,14 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
6266
6316
|
}])
|
|
6267
6317
|
// ----- @typescript-eslint/no-restricted-types -----
|
|
6268
6318
|
type TypescriptEslintNoRestrictedTypes = []|[{
|
|
6319
|
+
|
|
6269
6320
|
types?: {
|
|
6270
6321
|
[k: string]: (true | string | {
|
|
6271
6322
|
|
|
6272
|
-
message?: string
|
|
6273
|
-
|
|
6274
6323
|
fixWith?: string
|
|
6275
6324
|
|
|
6325
|
+
message?: string
|
|
6326
|
+
|
|
6276
6327
|
suggest?: string[]
|
|
6277
6328
|
}) | undefined
|
|
6278
6329
|
}
|
|
@@ -6280,17 +6331,17 @@ type TypescriptEslintNoRestrictedTypes = []|[{
|
|
|
6280
6331
|
// ----- @typescript-eslint/no-shadow -----
|
|
6281
6332
|
type TypescriptEslintNoShadow = []|[{
|
|
6282
6333
|
|
|
6334
|
+
allow?: string[]
|
|
6335
|
+
|
|
6283
6336
|
builtinGlobals?: boolean
|
|
6284
6337
|
|
|
6285
|
-
hoist?: ("all" | "functions" | "never")
|
|
6338
|
+
hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types")
|
|
6286
6339
|
|
|
6287
|
-
|
|
6340
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
6288
6341
|
|
|
6289
6342
|
ignoreOnInitialization?: boolean
|
|
6290
6343
|
|
|
6291
6344
|
ignoreTypeValueShadow?: boolean
|
|
6292
|
-
|
|
6293
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
6294
6345
|
}]
|
|
6295
6346
|
// ----- @typescript-eslint/no-this-alias -----
|
|
6296
6347
|
type TypescriptEslintNoThisAlias = []|[{
|
|
@@ -6310,27 +6361,31 @@ type TypescriptEslintNoTypeAlias = []|[{
|
|
|
6310
6361
|
|
|
6311
6362
|
allowConstructors?: ("always" | "never")
|
|
6312
6363
|
|
|
6364
|
+
allowGenerics?: ("always" | "never")
|
|
6365
|
+
|
|
6313
6366
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6314
6367
|
|
|
6315
6368
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6316
6369
|
|
|
6317
6370
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
6318
|
-
|
|
6319
|
-
allowGenerics?: ("always" | "never")
|
|
6320
6371
|
}]
|
|
6321
6372
|
// ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
6322
6373
|
type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
6323
6374
|
|
|
6375
|
+
allowComparingNullableBooleansToFalse?: boolean
|
|
6376
|
+
|
|
6324
6377
|
allowComparingNullableBooleansToTrue?: boolean
|
|
6325
6378
|
|
|
6326
|
-
|
|
6379
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6327
6380
|
}]
|
|
6328
6381
|
// ----- @typescript-eslint/no-unnecessary-condition -----
|
|
6329
6382
|
type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
6330
6383
|
|
|
6331
|
-
allowConstantLoopConditions?: boolean
|
|
6384
|
+
allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
|
|
6332
6385
|
|
|
6333
6386
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6387
|
+
|
|
6388
|
+
checkTypePredicates?: boolean
|
|
6334
6389
|
}]
|
|
6335
6390
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
6336
6391
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -6347,10 +6402,6 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
6347
6402
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
6348
6403
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
6349
6404
|
|
|
6350
|
-
vars?: ("all" | "local")
|
|
6351
|
-
|
|
6352
|
-
varsIgnorePattern?: string
|
|
6353
|
-
|
|
6354
6405
|
args?: ("all" | "after-used" | "none")
|
|
6355
6406
|
|
|
6356
6407
|
argsIgnorePattern?: string
|
|
@@ -6366,22 +6417,27 @@ type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
|
6366
6417
|
ignoreRestSiblings?: boolean
|
|
6367
6418
|
|
|
6368
6419
|
reportUsedIgnorePattern?: boolean
|
|
6420
|
+
|
|
6421
|
+
vars?: ("all" | "local")
|
|
6422
|
+
|
|
6423
|
+
varsIgnorePattern?: string
|
|
6369
6424
|
})]
|
|
6370
6425
|
// ----- @typescript-eslint/no-use-before-define -----
|
|
6371
6426
|
type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
6372
6427
|
|
|
6373
|
-
|
|
6428
|
+
allowNamedExports?: boolean
|
|
6374
6429
|
|
|
6375
6430
|
classes?: boolean
|
|
6376
6431
|
|
|
6377
6432
|
enums?: boolean
|
|
6378
6433
|
|
|
6379
|
-
|
|
6434
|
+
functions?: boolean
|
|
6435
|
+
|
|
6436
|
+
ignoreTypeReferences?: boolean
|
|
6380
6437
|
|
|
6381
6438
|
typedefs?: boolean
|
|
6382
6439
|
|
|
6383
|
-
|
|
6384
|
-
allowNamedExports?: boolean
|
|
6440
|
+
variables?: boolean
|
|
6385
6441
|
})]
|
|
6386
6442
|
// ----- @typescript-eslint/no-var-requires -----
|
|
6387
6443
|
type TypescriptEslintNoVarRequires = []|[{
|
|
@@ -6391,6 +6447,19 @@ type TypescriptEslintNoVarRequires = []|[{
|
|
|
6391
6447
|
// ----- @typescript-eslint/only-throw-error -----
|
|
6392
6448
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
6393
6449
|
|
|
6450
|
+
allow?: (string | {
|
|
6451
|
+
from: "file"
|
|
6452
|
+
name: (string | [string, ...(string)[]])
|
|
6453
|
+
path?: string
|
|
6454
|
+
} | {
|
|
6455
|
+
from: "lib"
|
|
6456
|
+
name: (string | [string, ...(string)[]])
|
|
6457
|
+
} | {
|
|
6458
|
+
from: "package"
|
|
6459
|
+
name: (string | [string, ...(string)[]])
|
|
6460
|
+
package: string
|
|
6461
|
+
})[]
|
|
6462
|
+
|
|
6394
6463
|
allowThrowingAny?: boolean
|
|
6395
6464
|
|
|
6396
6465
|
allowThrowingUnknown?: boolean
|
|
@@ -6404,11 +6473,11 @@ type TypescriptEslintParameterProperties = []|[{
|
|
|
6404
6473
|
}]
|
|
6405
6474
|
// ----- @typescript-eslint/prefer-destructuring -----
|
|
6406
6475
|
type TypescriptEslintPreferDestructuring = []|[({
|
|
6407
|
-
|
|
6476
|
+
AssignmentExpression?: {
|
|
6408
6477
|
array?: boolean
|
|
6409
6478
|
object?: boolean
|
|
6410
6479
|
}
|
|
6411
|
-
|
|
6480
|
+
VariableDeclarator?: {
|
|
6412
6481
|
array?: boolean
|
|
6413
6482
|
object?: boolean
|
|
6414
6483
|
}
|
|
@@ -6416,11 +6485,11 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
6416
6485
|
array?: boolean
|
|
6417
6486
|
object?: boolean
|
|
6418
6487
|
})]|[({
|
|
6419
|
-
|
|
6488
|
+
AssignmentExpression?: {
|
|
6420
6489
|
array?: boolean
|
|
6421
6490
|
object?: boolean
|
|
6422
6491
|
}
|
|
6423
|
-
|
|
6492
|
+
VariableDeclarator?: {
|
|
6424
6493
|
array?: boolean
|
|
6425
6494
|
object?: boolean
|
|
6426
6495
|
}
|
|
@@ -6428,8 +6497,10 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
6428
6497
|
array?: boolean
|
|
6429
6498
|
object?: boolean
|
|
6430
6499
|
}), {
|
|
6431
|
-
|
|
6500
|
+
|
|
6432
6501
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
6502
|
+
|
|
6503
|
+
enforceForRenamedProperties?: boolean
|
|
6433
6504
|
[k: string]: unknown | undefined
|
|
6434
6505
|
}]
|
|
6435
6506
|
// ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
@@ -6442,14 +6513,20 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
6442
6513
|
|
|
6443
6514
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6444
6515
|
|
|
6516
|
+
ignoreBooleanCoercion?: boolean
|
|
6517
|
+
|
|
6445
6518
|
ignoreConditionalTests?: boolean
|
|
6446
6519
|
|
|
6447
6520
|
ignoreMixedLogicalExpressions?: boolean
|
|
6448
6521
|
|
|
6449
6522
|
ignorePrimitives?: ({
|
|
6523
|
+
|
|
6450
6524
|
bigint?: boolean
|
|
6525
|
+
|
|
6451
6526
|
boolean?: boolean
|
|
6527
|
+
|
|
6452
6528
|
number?: boolean
|
|
6529
|
+
|
|
6453
6530
|
string?: boolean
|
|
6454
6531
|
[k: string]: unknown | undefined
|
|
6455
6532
|
} | true)
|
|
@@ -6459,26 +6536,30 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
6459
6536
|
// ----- @typescript-eslint/prefer-optional-chain -----
|
|
6460
6537
|
type TypescriptEslintPreferOptionalChain = []|[{
|
|
6461
6538
|
|
|
6539
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
6540
|
+
|
|
6462
6541
|
checkAny?: boolean
|
|
6463
6542
|
|
|
6464
|
-
|
|
6543
|
+
checkBigInt?: boolean
|
|
6465
6544
|
|
|
6466
|
-
|
|
6545
|
+
checkBoolean?: boolean
|
|
6467
6546
|
|
|
6468
6547
|
checkNumber?: boolean
|
|
6469
6548
|
|
|
6470
|
-
|
|
6549
|
+
checkString?: boolean
|
|
6471
6550
|
|
|
6472
|
-
|
|
6551
|
+
checkUnknown?: boolean
|
|
6473
6552
|
|
|
6474
6553
|
requireNullish?: boolean
|
|
6475
|
-
|
|
6476
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
6477
6554
|
}]
|
|
6478
6555
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
6479
6556
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
6480
6557
|
|
|
6481
6558
|
allowEmptyReject?: boolean
|
|
6559
|
+
|
|
6560
|
+
allowThrowingAny?: boolean
|
|
6561
|
+
|
|
6562
|
+
allowThrowingUnknown?: boolean
|
|
6482
6563
|
}]
|
|
6483
6564
|
// ----- @typescript-eslint/prefer-readonly -----
|
|
6484
6565
|
type TypescriptEslintPreferReadonly = []|[{
|
|
@@ -6563,45 +6644,63 @@ type TypescriptEslintRestrictTemplateExpressions = []|[{
|
|
|
6563
6644
|
allowRegExp?: boolean
|
|
6564
6645
|
|
|
6565
6646
|
allowNever?: boolean
|
|
6647
|
+
|
|
6648
|
+
allow?: (string | {
|
|
6649
|
+
from: "file"
|
|
6650
|
+
name: (string | [string, ...(string)[]])
|
|
6651
|
+
path?: string
|
|
6652
|
+
} | {
|
|
6653
|
+
from: "lib"
|
|
6654
|
+
name: (string | [string, ...(string)[]])
|
|
6655
|
+
} | {
|
|
6656
|
+
from: "package"
|
|
6657
|
+
name: (string | [string, ...(string)[]])
|
|
6658
|
+
package: string
|
|
6659
|
+
})[]
|
|
6566
6660
|
}]
|
|
6567
6661
|
// ----- @typescript-eslint/return-await -----
|
|
6568
6662
|
type TypescriptEslintReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
6569
6663
|
// ----- @typescript-eslint/sort-type-constituents -----
|
|
6570
6664
|
type TypescriptEslintSortTypeConstituents = []|[{
|
|
6571
6665
|
|
|
6666
|
+
caseSensitive?: boolean
|
|
6667
|
+
|
|
6572
6668
|
checkIntersections?: boolean
|
|
6573
6669
|
|
|
6574
6670
|
checkUnions?: boolean
|
|
6575
6671
|
|
|
6576
|
-
caseSensitive?: boolean
|
|
6577
|
-
|
|
6578
6672
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
6579
6673
|
}]
|
|
6580
6674
|
// ----- @typescript-eslint/strict-boolean-expressions -----
|
|
6581
6675
|
type TypescriptEslintStrictBooleanExpressions = []|[{
|
|
6582
6676
|
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
allowNumber?: boolean
|
|
6586
|
-
|
|
6587
|
-
allowNullableObject?: boolean
|
|
6677
|
+
allowAny?: boolean
|
|
6588
6678
|
|
|
6589
6679
|
allowNullableBoolean?: boolean
|
|
6590
6680
|
|
|
6591
|
-
|
|
6681
|
+
allowNullableEnum?: boolean
|
|
6592
6682
|
|
|
6593
6683
|
allowNullableNumber?: boolean
|
|
6594
6684
|
|
|
6595
|
-
|
|
6685
|
+
allowNullableObject?: boolean
|
|
6686
|
+
|
|
6687
|
+
allowNullableString?: boolean
|
|
6688
|
+
|
|
6689
|
+
allowNumber?: boolean
|
|
6596
6690
|
|
|
6597
|
-
allowAny?: boolean
|
|
6598
6691
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6692
|
+
|
|
6693
|
+
allowString?: boolean
|
|
6599
6694
|
}]
|
|
6600
6695
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
6601
6696
|
type TypescriptEslintSwitchExhaustivenessCheck = []|[{
|
|
6602
6697
|
|
|
6603
6698
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
6604
6699
|
|
|
6700
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
6701
|
+
|
|
6702
|
+
defaultCaseCommentPattern?: string
|
|
6703
|
+
|
|
6605
6704
|
requireDefaultForNonUnion?: boolean
|
|
6606
6705
|
}]
|
|
6607
6706
|
// ----- @typescript-eslint/triple-slash-reference -----
|
|
@@ -6751,6 +6850,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
6751
6850
|
type Complexity = []|[(number | {
|
|
6752
6851
|
maximum?: number
|
|
6753
6852
|
max?: number
|
|
6853
|
+
variant?: ("classic" | "modified")
|
|
6754
6854
|
})]
|
|
6755
6855
|
// ----- computed-property-spacing -----
|
|
6756
6856
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -6872,17 +6972,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
6872
6972
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6873
6973
|
}
|
|
6874
6974
|
ignorePackages?: boolean
|
|
6975
|
+
checkTypeImports?: boolean
|
|
6875
6976
|
[k: string]: unknown | undefined
|
|
6876
6977
|
}] | []|[{
|
|
6877
6978
|
pattern?: {
|
|
6878
6979
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6879
6980
|
}
|
|
6880
6981
|
ignorePackages?: boolean
|
|
6982
|
+
checkTypeImports?: boolean
|
|
6881
6983
|
[k: string]: unknown | undefined
|
|
6882
|
-
}] | []|[{
|
|
6883
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6884
6984
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
6885
6985
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6986
|
+
}] | []|[{
|
|
6987
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
6886
6988
|
}])
|
|
6887
6989
|
// ----- import/first -----
|
|
6888
6990
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -7961,7 +8063,7 @@ type NHashbang = []|[{
|
|
|
7961
8063
|
// ----- n/no-deprecated-api -----
|
|
7962
8064
|
type NNoDeprecatedApi = []|[{
|
|
7963
8065
|
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")[]
|
|
8066
|
+
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
8067
|
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
8068
|
ignoreIndirectDependencies?: boolean
|
|
7967
8069
|
}]
|
|
@@ -7985,6 +8087,9 @@ type NNoExtraneousImport = []|[{
|
|
|
7985
8087
|
replace: [string, string]
|
|
7986
8088
|
})[]])
|
|
7987
8089
|
resolvePaths?: string[]
|
|
8090
|
+
resolverConfig?: {
|
|
8091
|
+
[k: string]: unknown | undefined
|
|
8092
|
+
}
|
|
7988
8093
|
}]
|
|
7989
8094
|
// ----- n/no-extraneous-require -----
|
|
7990
8095
|
type NNoExtraneousRequire = []|[{
|
|
@@ -8006,6 +8111,9 @@ type NNoExtraneousRequire = []|[{
|
|
|
8006
8111
|
replace: [string, string]
|
|
8007
8112
|
})[]])
|
|
8008
8113
|
resolvePaths?: string[]
|
|
8114
|
+
resolverConfig?: {
|
|
8115
|
+
[k: string]: unknown | undefined
|
|
8116
|
+
}
|
|
8009
8117
|
tryExtensions?: string[]
|
|
8010
8118
|
}]
|
|
8011
8119
|
// ----- n/no-hide-core-modules -----
|
|
@@ -8018,7 +8126,11 @@ type NNoHideCoreModules = []|[{
|
|
|
8018
8126
|
type NNoMissingImport = []|[{
|
|
8019
8127
|
allowModules?: string[]
|
|
8020
8128
|
resolvePaths?: string[]
|
|
8129
|
+
resolverConfig?: {
|
|
8130
|
+
[k: string]: unknown | undefined
|
|
8131
|
+
}
|
|
8021
8132
|
tryExtensions?: string[]
|
|
8133
|
+
ignoreTypeImport?: boolean
|
|
8022
8134
|
tsconfigPath?: string
|
|
8023
8135
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
8024
8136
|
}]
|
|
@@ -8027,6 +8139,9 @@ type NNoMissingRequire = []|[{
|
|
|
8027
8139
|
allowModules?: string[]
|
|
8028
8140
|
tryExtensions?: string[]
|
|
8029
8141
|
resolvePaths?: string[]
|
|
8142
|
+
resolverConfig?: {
|
|
8143
|
+
[k: string]: unknown | undefined
|
|
8144
|
+
}
|
|
8030
8145
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
8031
8146
|
tsconfigPath?: string
|
|
8032
8147
|
}]
|
|
@@ -8035,6 +8150,10 @@ type NNoMixedRequires = []|[(boolean | {
|
|
|
8035
8150
|
grouping?: boolean
|
|
8036
8151
|
allowCall?: boolean
|
|
8037
8152
|
})]
|
|
8153
|
+
// ----- n/no-process-env -----
|
|
8154
|
+
type NNoProcessEnv = []|[{
|
|
8155
|
+
allowedVariables?: string[]
|
|
8156
|
+
}]
|
|
8038
8157
|
// ----- n/no-restricted-import -----
|
|
8039
8158
|
type NNoRestrictedImport = []|[(string | {
|
|
8040
8159
|
name: (string | string[])
|
|
@@ -8048,6 +8167,7 @@ type NNoRestrictedRequire = []|[(string | {
|
|
|
8048
8167
|
// ----- n/no-sync -----
|
|
8049
8168
|
type NNoSync = []|[{
|
|
8050
8169
|
allowAtRootLevel?: boolean
|
|
8170
|
+
ignores?: string[]
|
|
8051
8171
|
}]
|
|
8052
8172
|
// ----- n/no-unpublished-bin -----
|
|
8053
8173
|
type NNoUnpublishedBin = []|[{
|
|
@@ -8089,6 +8209,9 @@ type NNoUnpublishedImport = []|[{
|
|
|
8089
8209
|
replace: [string, string]
|
|
8090
8210
|
})[]])
|
|
8091
8211
|
resolvePaths?: string[]
|
|
8212
|
+
resolverConfig?: {
|
|
8213
|
+
[k: string]: unknown | undefined
|
|
8214
|
+
}
|
|
8092
8215
|
ignoreTypeImport?: boolean
|
|
8093
8216
|
ignorePrivate?: boolean
|
|
8094
8217
|
}]
|
|
@@ -8112,6 +8235,9 @@ type NNoUnpublishedRequire = []|[{
|
|
|
8112
8235
|
replace: [string, string]
|
|
8113
8236
|
})[]])
|
|
8114
8237
|
resolvePaths?: string[]
|
|
8238
|
+
resolverConfig?: {
|
|
8239
|
+
[k: string]: unknown | undefined
|
|
8240
|
+
}
|
|
8115
8241
|
tryExtensions?: string[]
|
|
8116
8242
|
ignorePrivate?: boolean
|
|
8117
8243
|
}]
|
|
@@ -8129,7 +8255,7 @@ type NNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
8129
8255
|
type NNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
8130
8256
|
version?: string
|
|
8131
8257
|
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")[]
|
|
8258
|
+
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
8259
|
}]
|
|
8134
8260
|
// ----- n/prefer-global/buffer -----
|
|
8135
8261
|
type NPreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -8879,6 +9005,7 @@ type SortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
8879
9005
|
natural?: boolean
|
|
8880
9006
|
minKeys?: number
|
|
8881
9007
|
allowLineSeparatedGroups?: boolean
|
|
9008
|
+
ignoreComputedKeys?: boolean
|
|
8882
9009
|
}]
|
|
8883
9010
|
// ----- sort-vars -----
|
|
8884
9011
|
type SortVars = []|[{
|
|
@@ -8949,7 +9076,7 @@ type TestConsistentTestIt = []|[{
|
|
|
8949
9076
|
}]
|
|
8950
9077
|
// ----- test/expect-expect -----
|
|
8951
9078
|
type TestExpectExpect = []|[{
|
|
8952
|
-
assertFunctionNames?: []
|
|
9079
|
+
assertFunctionNames?: string[]
|
|
8953
9080
|
additionalTestBlockFunctions?: string[]
|
|
8954
9081
|
}]
|
|
8955
9082
|
// ----- test/max-expects -----
|
|
@@ -8993,8 +9120,7 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
8993
9120
|
}]
|
|
8994
9121
|
// ----- test/no-standalone-expect -----
|
|
8995
9122
|
type TestNoStandaloneExpect = []|[{
|
|
8996
|
-
|
|
8997
|
-
[k: string]: unknown | undefined
|
|
9123
|
+
additionalTestBlockFunctions?: string[]
|
|
8998
9124
|
}]
|
|
8999
9125
|
// ----- test/prefer-expect-assertions -----
|
|
9000
9126
|
type TestPreferExpectAssertions = []|[{
|
|
@@ -9015,6 +9141,10 @@ type TestPreferSnapshotHint = []|[("always" | "multi")]
|
|
|
9015
9141
|
type TestRequireHook = []|[{
|
|
9016
9142
|
allowedFunctionCalls?: string[]
|
|
9017
9143
|
}]
|
|
9144
|
+
// ----- test/require-mock-type-parameters -----
|
|
9145
|
+
type TestRequireMockTypeParameters = []|[{
|
|
9146
|
+
checkImportFunctions?: boolean
|
|
9147
|
+
}]
|
|
9018
9148
|
// ----- test/require-top-level-describe -----
|
|
9019
9149
|
type TestRequireTopLevelDescribe = []|[{
|
|
9020
9150
|
maxNumberOfTopLevelDescribes?: number
|
|
@@ -9101,6 +9231,13 @@ type UnicornNoArrayPushPush = []|[{
|
|
|
9101
9231
|
type UnicornNoArrayReduce = []|[{
|
|
9102
9232
|
allowSimpleOperations?: boolean
|
|
9103
9233
|
}]
|
|
9234
|
+
// ----- unicorn/no-instanceof-builtins -----
|
|
9235
|
+
type UnicornNoInstanceofBuiltins = []|[{
|
|
9236
|
+
useErrorIsError?: boolean
|
|
9237
|
+
strategy?: ("loose" | "strict")
|
|
9238
|
+
include?: string[]
|
|
9239
|
+
exclude?: string[]
|
|
9240
|
+
}]
|
|
9104
9241
|
// ----- unicorn/no-keyword-prefix -----
|
|
9105
9242
|
type UnicornNoKeywordPrefix = []|[{
|
|
9106
9243
|
|
|
@@ -9243,10 +9380,6 @@ type UnocssEnforceClassCompile = []|[{
|
|
|
9243
9380
|
// ----- unused-imports/no-unused-imports -----
|
|
9244
9381
|
type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
9245
9382
|
|
|
9246
|
-
vars?: ("all" | "local")
|
|
9247
|
-
|
|
9248
|
-
varsIgnorePattern?: string
|
|
9249
|
-
|
|
9250
9383
|
args?: ("all" | "after-used" | "none")
|
|
9251
9384
|
|
|
9252
9385
|
argsIgnorePattern?: string
|
|
@@ -9262,13 +9395,13 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
9262
9395
|
ignoreRestSiblings?: boolean
|
|
9263
9396
|
|
|
9264
9397
|
reportUsedIgnorePattern?: boolean
|
|
9265
|
-
})]
|
|
9266
|
-
// ----- unused-imports/no-unused-vars -----
|
|
9267
|
-
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
9268
9398
|
|
|
9269
9399
|
vars?: ("all" | "local")
|
|
9270
9400
|
|
|
9271
9401
|
varsIgnorePattern?: string
|
|
9402
|
+
})]
|
|
9403
|
+
// ----- unused-imports/no-unused-vars -----
|
|
9404
|
+
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
9272
9405
|
|
|
9273
9406
|
args?: ("all" | "after-used" | "none")
|
|
9274
9407
|
|
|
@@ -9285,6 +9418,10 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
9285
9418
|
ignoreRestSiblings?: boolean
|
|
9286
9419
|
|
|
9287
9420
|
reportUsedIgnorePattern?: boolean
|
|
9421
|
+
|
|
9422
|
+
vars?: ("all" | "local")
|
|
9423
|
+
|
|
9424
|
+
varsIgnorePattern?: string
|
|
9288
9425
|
})]
|
|
9289
9426
|
// ----- use-isnan -----
|
|
9290
9427
|
type UseIsnan = []|[{
|
|
@@ -9327,6 +9464,7 @@ type VueAttributeHyphenation = []|[("always" | "never")]|[("always" | "never"),
|
|
|
9327
9464
|
} & {
|
|
9328
9465
|
[k: string]: unknown | undefined
|
|
9329
9466
|
})[]
|
|
9467
|
+
ignoreTags?: string[]
|
|
9330
9468
|
}]
|
|
9331
9469
|
// ----- vue/attributes-order -----
|
|
9332
9470
|
type VueAttributesOrder = []|[{
|
|
@@ -10023,6 +10161,10 @@ type VueNoDeprecatedSlotAttribute = []|[{
|
|
|
10023
10161
|
type VueNoDupeKeys = []|[{
|
|
10024
10162
|
groups?: unknown[]
|
|
10025
10163
|
}]
|
|
10164
|
+
// ----- vue/no-duplicate-attr-inheritance -----
|
|
10165
|
+
type VueNoDuplicateAttrInheritance = []|[{
|
|
10166
|
+
checkMultiRootNodes?: boolean
|
|
10167
|
+
}]
|
|
10026
10168
|
// ----- vue/no-duplicate-attributes -----
|
|
10027
10169
|
type VueNoDuplicateAttributes = []|[{
|
|
10028
10170
|
allowCoexistClass?: boolean
|
|
@@ -10121,6 +10263,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
10121
10263
|
type VueNoReservedComponentNames = []|[{
|
|
10122
10264
|
disallowVueBuiltInComponents?: boolean
|
|
10123
10265
|
disallowVue3BuiltInComponents?: boolean
|
|
10266
|
+
htmlElementCaseSensitive?: boolean
|
|
10124
10267
|
}]
|
|
10125
10268
|
// ----- vue/no-reserved-keys -----
|
|
10126
10269
|
type VueNoReservedKeys = []|[{
|
|
@@ -10257,6 +10400,7 @@ type VueNoUselessVBind = []|[{
|
|
|
10257
10400
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
10258
10401
|
type VueNoVTextVHtmlOnComponent = []|[{
|
|
10259
10402
|
allow?: string[]
|
|
10403
|
+
ignoreElementNamespaces?: boolean
|
|
10260
10404
|
}]
|
|
10261
10405
|
// ----- vue/object-curly-newline -----
|
|
10262
10406
|
type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
@@ -10367,6 +10511,10 @@ type VueRequirePropComment = []|[{
|
|
|
10367
10511
|
type VueRequireToggleInsideTransition = []|[{
|
|
10368
10512
|
additionalDirectives?: string[]
|
|
10369
10513
|
}]
|
|
10514
|
+
// ----- vue/restricted-component-names -----
|
|
10515
|
+
type VueRestrictedComponentNames = []|[{
|
|
10516
|
+
allow?: string[]
|
|
10517
|
+
}]
|
|
10370
10518
|
// ----- vue/return-in-computed-property -----
|
|
10371
10519
|
type VueReturnInComputedProperty = []|[{
|
|
10372
10520
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -10388,6 +10536,8 @@ type VueSinglelineHtmlElementContentNewline = []|[{
|
|
|
10388
10536
|
ignores?: string[]
|
|
10389
10537
|
externalIgnores?: string[]
|
|
10390
10538
|
}]
|
|
10539
|
+
// ----- vue/slot-name-casing -----
|
|
10540
|
+
type VueSlotNameCasing = []|[("camelCase" | "kebab-case" | "singleword")]
|
|
10391
10541
|
// ----- vue/sort-keys -----
|
|
10392
10542
|
type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
10393
10543
|
caseSensitive?: boolean
|
|
@@ -10431,6 +10581,7 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
10431
10581
|
} & {
|
|
10432
10582
|
[k: string]: unknown | undefined
|
|
10433
10583
|
})[]
|
|
10584
|
+
ignoreTags?: string[]
|
|
10434
10585
|
}]
|
|
10435
10586
|
// ----- vue/v-on-function-call -----
|
|
10436
10587
|
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -10471,7 +10622,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
10471
10622
|
onlyEquality?: boolean
|
|
10472
10623
|
}]
|
|
10473
10624
|
// 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' | '
|
|
10625
|
+
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
10626
|
|
|
10476
10627
|
type Awaitable<T> = T | Promise<T>;
|
|
10477
10628
|
type Rules = RuleOptions;
|
|
@@ -10648,9 +10799,11 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
10648
10799
|
|
|
10649
10800
|
declare function comments(): TypedFlatConfigItem[];
|
|
10650
10801
|
|
|
10802
|
+
declare function disables(): TypedFlatConfigItem[];
|
|
10803
|
+
|
|
10651
10804
|
declare function formatters(options?: OptionsFormatters | true): TypedFlatConfigItem[];
|
|
10652
10805
|
|
|
10653
|
-
declare function ignores(): TypedFlatConfigItem[];
|
|
10806
|
+
declare function ignores(userIgnores?: string[]): TypedFlatConfigItem[];
|
|
10654
10807
|
|
|
10655
10808
|
declare function imports(): TypedFlatConfigItem[];
|
|
10656
10809
|
|
|
@@ -10660,6 +10813,8 @@ declare function jsonc(options?: OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
|
10660
10813
|
|
|
10661
10814
|
declare function node(): TypedFlatConfigItem[];
|
|
10662
10815
|
|
|
10816
|
+
declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
10817
|
+
|
|
10663
10818
|
/**
|
|
10664
10819
|
* Sort package.json
|
|
10665
10820
|
*
|
|
@@ -10683,8 +10838,6 @@ declare function unocss(): Promise<TypedFlatConfigItem[]>;
|
|
|
10683
10838
|
|
|
10684
10839
|
declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
10685
10840
|
|
|
10686
|
-
declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
10687
|
-
|
|
10688
10841
|
/**
|
|
10689
10842
|
* Construct an array of ESLint flat config items.
|
|
10690
10843
|
*
|
|
@@ -10695,7 +10848,7 @@ declare function regexp(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
|
10695
10848
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
10696
10849
|
* The merged ESLint configurations.
|
|
10697
10850
|
*/
|
|
10698
|
-
declare const factoryConfig: (options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
10851
|
+
declare const factoryConfig: (options?: OptionsConfig & Omit<TypedFlatConfigItem, "files">, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
10699
10852
|
|
|
10700
10853
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
10701
10854
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -10760,6 +10913,7 @@ declare function toArray<T>(value: T | T[]): T[];
|
|
|
10760
10913
|
declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
10761
10914
|
default: infer U;
|
|
10762
10915
|
} ? U : T>;
|
|
10916
|
+
declare function isInGitHooksOrLintStaged(): boolean;
|
|
10763
10917
|
declare function isInEditorEnv(): boolean;
|
|
10764
10918
|
|
|
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 };
|
|
10919
|
+
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 };
|