@bfra.me/eslint-config 0.20.5 → 0.20.7
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/lib/index.d.ts +1391 -543
- package/lib/index.js +1 -1
- package/package.json +19 -19
- package/src/rules.d.ts +1388 -549
package/lib/index.d.ts
CHANGED
|
@@ -394,6 +394,11 @@ interface Rules {
|
|
|
394
394
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
395
395
|
*/
|
|
396
396
|
'@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
397
|
+
/**
|
|
398
|
+
* Disallow conversion idioms when they do not change the type or value of the expression
|
|
399
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-conversion
|
|
400
|
+
*/
|
|
401
|
+
'@typescript-eslint/no-unnecessary-type-conversion'?: Linter.RuleEntry<[]>
|
|
397
402
|
/**
|
|
398
403
|
* Disallow type parameters that aren't used multiple times
|
|
399
404
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
@@ -991,233 +996,233 @@ interface Rules {
|
|
|
991
996
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
992
997
|
/**
|
|
993
998
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
994
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
999
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/consistent-type-specifier-style.md
|
|
995
1000
|
*/
|
|
996
1001
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
|
|
997
1002
|
/**
|
|
998
1003
|
* Ensure a default export is present, given a default import.
|
|
999
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1004
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/default.md
|
|
1000
1005
|
*/
|
|
1001
1006
|
'import-x/default'?: Linter.RuleEntry<[]>
|
|
1002
1007
|
/**
|
|
1003
1008
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1004
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1009
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/dynamic-import-chunkname.md
|
|
1005
1010
|
*/
|
|
1006
1011
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
|
|
1007
1012
|
/**
|
|
1008
1013
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1009
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1014
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/export.md
|
|
1010
1015
|
*/
|
|
1011
1016
|
'import-x/export'?: Linter.RuleEntry<[]>
|
|
1012
1017
|
/**
|
|
1013
1018
|
* Ensure all exports appear after other statements.
|
|
1014
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1019
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/exports-last.md
|
|
1015
1020
|
*/
|
|
1016
1021
|
'import-x/exports-last'?: Linter.RuleEntry<[]>
|
|
1017
1022
|
/**
|
|
1018
1023
|
* Ensure consistent use of file extension within the import path.
|
|
1019
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1024
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/extensions.md
|
|
1020
1025
|
*/
|
|
1021
1026
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
|
|
1022
1027
|
/**
|
|
1023
1028
|
* Ensure all imports appear before other statements.
|
|
1024
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1029
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/first.md
|
|
1025
1030
|
*/
|
|
1026
1031
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>
|
|
1027
1032
|
/**
|
|
1028
1033
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1029
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1034
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/group-exports.md
|
|
1030
1035
|
*/
|
|
1031
1036
|
'import-x/group-exports'?: Linter.RuleEntry<[]>
|
|
1032
1037
|
/**
|
|
1033
1038
|
* Replaced by `import-x/first`.
|
|
1034
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1039
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/imports-first.md
|
|
1035
1040
|
* @deprecated
|
|
1036
1041
|
*/
|
|
1037
1042
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
|
|
1038
1043
|
/**
|
|
1039
1044
|
* Enforce the maximum number of dependencies a module can have.
|
|
1040
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1045
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/max-dependencies.md
|
|
1041
1046
|
*/
|
|
1042
1047
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
|
|
1043
1048
|
/**
|
|
1044
1049
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1045
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1050
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/named.md
|
|
1046
1051
|
*/
|
|
1047
1052
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>
|
|
1048
1053
|
/**
|
|
1049
1054
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1050
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1055
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/namespace.md
|
|
1051
1056
|
*/
|
|
1052
1057
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
|
|
1053
1058
|
/**
|
|
1054
1059
|
* Enforce a newline after import statements.
|
|
1055
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1060
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/newline-after-import.md
|
|
1056
1061
|
*/
|
|
1057
1062
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
|
|
1058
1063
|
/**
|
|
1059
1064
|
* Forbid import of modules using absolute paths.
|
|
1060
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1065
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-absolute-path.md
|
|
1061
1066
|
*/
|
|
1062
1067
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
|
|
1063
1068
|
/**
|
|
1064
1069
|
* Forbid AMD `require` and `define` calls.
|
|
1065
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1070
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-amd.md
|
|
1066
1071
|
*/
|
|
1067
1072
|
'import-x/no-amd'?: Linter.RuleEntry<[]>
|
|
1068
1073
|
/**
|
|
1069
1074
|
* Forbid anonymous values as default exports.
|
|
1070
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1075
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-anonymous-default-export.md
|
|
1071
1076
|
*/
|
|
1072
1077
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
|
|
1073
1078
|
/**
|
|
1074
1079
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1075
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1080
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-commonjs.md
|
|
1076
1081
|
*/
|
|
1077
1082
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
|
|
1078
1083
|
/**
|
|
1079
1084
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1080
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1085
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-cycle.md
|
|
1081
1086
|
*/
|
|
1082
1087
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
|
|
1083
1088
|
/**
|
|
1084
1089
|
* Forbid default exports.
|
|
1085
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1090
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-default-export.md
|
|
1086
1091
|
*/
|
|
1087
1092
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>
|
|
1088
1093
|
/**
|
|
1089
1094
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1090
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1095
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-deprecated.md
|
|
1091
1096
|
*/
|
|
1092
1097
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1093
1098
|
/**
|
|
1094
1099
|
* Forbid repeated import of the same module in multiple places.
|
|
1095
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1100
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-duplicates.md
|
|
1096
1101
|
*/
|
|
1097
1102
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
|
|
1098
1103
|
/**
|
|
1099
1104
|
* Forbid `require()` calls with expressions.
|
|
1100
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1105
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-dynamic-require.md
|
|
1101
1106
|
*/
|
|
1102
1107
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
|
|
1103
1108
|
/**
|
|
1104
1109
|
* Forbid empty named import blocks.
|
|
1105
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1110
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-empty-named-blocks.md
|
|
1106
1111
|
*/
|
|
1107
1112
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1108
1113
|
/**
|
|
1109
1114
|
* Forbid the use of extraneous packages.
|
|
1110
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1115
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-extraneous-dependencies.md
|
|
1111
1116
|
*/
|
|
1112
1117
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
|
|
1113
1118
|
/**
|
|
1114
1119
|
* Forbid import statements with CommonJS module.exports.
|
|
1115
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1120
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-import-module-exports.md
|
|
1116
1121
|
*/
|
|
1117
1122
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
|
|
1118
1123
|
/**
|
|
1119
1124
|
* Forbid importing the submodules of other modules.
|
|
1120
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1125
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-internal-modules.md
|
|
1121
1126
|
*/
|
|
1122
1127
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
|
|
1123
1128
|
/**
|
|
1124
1129
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1125
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1130
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-mutable-exports.md
|
|
1126
1131
|
*/
|
|
1127
1132
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1128
1133
|
/**
|
|
1129
1134
|
* Forbid use of exported name as identifier of default export.
|
|
1130
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1135
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default.md
|
|
1131
1136
|
*/
|
|
1132
1137
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1133
1138
|
/**
|
|
1134
1139
|
* Forbid use of exported name as property of default export.
|
|
1135
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1140
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default-member.md
|
|
1136
1141
|
*/
|
|
1137
1142
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1138
1143
|
/**
|
|
1139
1144
|
* Forbid named default exports.
|
|
1140
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1145
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-default.md
|
|
1141
1146
|
*/
|
|
1142
1147
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>
|
|
1143
1148
|
/**
|
|
1144
1149
|
* Forbid named exports.
|
|
1145
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1150
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-export.md
|
|
1146
1151
|
*/
|
|
1147
1152
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>
|
|
1148
1153
|
/**
|
|
1149
1154
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1150
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1155
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-namespace.md
|
|
1151
1156
|
*/
|
|
1152
1157
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
|
|
1153
1158
|
/**
|
|
1154
1159
|
* Forbid Node.js builtin modules.
|
|
1155
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1160
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-nodejs-modules.md
|
|
1156
1161
|
*/
|
|
1157
1162
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
|
|
1158
1163
|
/**
|
|
1159
1164
|
* Forbid importing packages through relative paths.
|
|
1160
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1165
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-packages.md
|
|
1161
1166
|
*/
|
|
1162
1167
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
|
|
1163
1168
|
/**
|
|
1164
1169
|
* Forbid importing modules from parent directories.
|
|
1165
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1170
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-parent-imports.md
|
|
1166
1171
|
*/
|
|
1167
1172
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
|
|
1168
1173
|
/**
|
|
1169
1174
|
* Forbid importing a default export by a different name.
|
|
1170
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1175
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-rename-default.md
|
|
1171
1176
|
*/
|
|
1172
1177
|
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
|
|
1173
1178
|
/**
|
|
1174
1179
|
* Enforce which files can be imported in a given folder.
|
|
1175
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1180
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-restricted-paths.md
|
|
1176
1181
|
*/
|
|
1177
1182
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
|
|
1178
1183
|
/**
|
|
1179
1184
|
* Forbid a module from importing itself.
|
|
1180
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1185
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-self-import.md
|
|
1181
1186
|
*/
|
|
1182
1187
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>
|
|
1183
1188
|
/**
|
|
1184
1189
|
* Forbid unassigned imports.
|
|
1185
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1190
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unassigned-import.md
|
|
1186
1191
|
*/
|
|
1187
1192
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
|
|
1188
1193
|
/**
|
|
1189
1194
|
* Ensure imports point to a file/module that can be resolved.
|
|
1190
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1195
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unresolved.md
|
|
1191
1196
|
*/
|
|
1192
1197
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
|
|
1193
1198
|
/**
|
|
1194
1199
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1195
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1200
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unused-modules.md
|
|
1196
1201
|
*/
|
|
1197
1202
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
|
|
1198
1203
|
/**
|
|
1199
1204
|
* Forbid unnecessary path segments in import and require statements.
|
|
1200
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1205
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-useless-path-segments.md
|
|
1201
1206
|
*/
|
|
1202
1207
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
|
|
1203
1208
|
/**
|
|
1204
1209
|
* Forbid webpack loader syntax in imports.
|
|
1205
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1210
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-webpack-loader-syntax.md
|
|
1206
1211
|
*/
|
|
1207
1212
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1208
1213
|
/**
|
|
1209
1214
|
* Enforce a convention in module import order.
|
|
1210
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1215
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/order.md
|
|
1211
1216
|
*/
|
|
1212
1217
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>
|
|
1213
1218
|
/**
|
|
1214
1219
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1215
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1220
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/prefer-default-export.md
|
|
1216
1221
|
*/
|
|
1217
1222
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
|
|
1218
1223
|
/**
|
|
1219
1224
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1220
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
1225
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/unambiguous.md
|
|
1221
1226
|
*/
|
|
1222
1227
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>
|
|
1223
1228
|
/**
|
|
@@ -2513,7 +2518,7 @@ interface Rules {
|
|
|
2513
2518
|
* Disallow identifiers from shadowing restricted names
|
|
2514
2519
|
* @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
|
|
2515
2520
|
*/
|
|
2516
|
-
'no-shadow-restricted-names'?: Linter.RuleEntry<
|
|
2521
|
+
'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
|
|
2517
2522
|
/**
|
|
2518
2523
|
* Disallow spacing between function identifiers and their applications (deprecated)
|
|
2519
2524
|
* @see https://eslint.org/docs/latest/rules/no-spaced-func
|
|
@@ -3878,643 +3883,670 @@ interface Rules {
|
|
|
3878
3883
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
3879
3884
|
/**
|
|
3880
3885
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
3881
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
|
|
3882
3887
|
*/
|
|
3883
3888
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
3884
3889
|
/**
|
|
3885
3890
|
* Enforce a specific parameter name in catch clauses.
|
|
3886
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
|
|
3887
3892
|
*/
|
|
3888
3893
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
3889
3894
|
/**
|
|
3890
3895
|
* Enforce consistent assertion style with `node:assert`.
|
|
3891
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3896
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
|
|
3892
3897
|
*/
|
|
3893
3898
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
3894
3899
|
/**
|
|
3895
3900
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
3896
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
|
|
3897
3902
|
*/
|
|
3898
3903
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
3899
3904
|
/**
|
|
3900
3905
|
* Use destructured variables over properties.
|
|
3901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3906
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
|
|
3902
3907
|
*/
|
|
3903
3908
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
3904
3909
|
/**
|
|
3905
3910
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3906
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
|
|
3907
3912
|
*/
|
|
3908
3913
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
3909
3914
|
/**
|
|
3910
3915
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
|
|
3912
3917
|
*/
|
|
3913
3918
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
3914
3919
|
/**
|
|
3915
3920
|
* Move function definitions to the highest possible scope.
|
|
3916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3921
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
|
|
3917
3922
|
*/
|
|
3918
3923
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
3919
3924
|
/**
|
|
3920
3925
|
* Enforce correct `Error` subclassing.
|
|
3921
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3926
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
|
|
3922
3927
|
*/
|
|
3923
3928
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
3924
3929
|
/**
|
|
3925
3930
|
* Enforce no spaces between braces.
|
|
3926
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3931
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
|
|
3927
3932
|
*/
|
|
3928
3933
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
3929
3934
|
/**
|
|
3930
3935
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3931
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3936
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
|
|
3932
3937
|
*/
|
|
3933
3938
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
3934
3939
|
/**
|
|
3935
3940
|
* Require escape sequences to use uppercase or lowercase values.
|
|
3936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3941
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
|
|
3937
3942
|
*/
|
|
3938
3943
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
3939
3944
|
/**
|
|
3940
3945
|
* Add expiration conditions to TODO comments.
|
|
3941
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3946
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
|
|
3942
3947
|
*/
|
|
3943
3948
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
3944
3949
|
/**
|
|
3945
3950
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3946
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
|
|
3947
3952
|
*/
|
|
3948
3953
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
3949
3954
|
/**
|
|
3950
3955
|
* Enforce a case style for filenames.
|
|
3951
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3956
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
|
|
3952
3957
|
*/
|
|
3953
3958
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
3954
3959
|
/**
|
|
3955
3960
|
* Enforce specific import styles per module.
|
|
3956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3961
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
|
|
3957
3962
|
*/
|
|
3958
3963
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
3959
3964
|
/**
|
|
3960
3965
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
3961
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
|
|
3962
3967
|
*/
|
|
3963
3968
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
3964
3969
|
/**
|
|
3965
3970
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3966
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3971
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
3967
3972
|
*/
|
|
3968
3973
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
3969
3974
|
/**
|
|
3970
3975
|
* Disallow recursive access to `this` within getters and setters.
|
|
3971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
|
|
3972
3977
|
*/
|
|
3973
3978
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
3974
3979
|
/**
|
|
3975
3980
|
* Disallow anonymous functions and classes as the default export.
|
|
3976
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
|
|
3977
3982
|
*/
|
|
3978
3983
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
3979
3984
|
/**
|
|
3980
3985
|
* Prevent passing a function reference directly to iterator methods.
|
|
3981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
|
|
3982
3987
|
*/
|
|
3983
3988
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
3984
3989
|
/**
|
|
3985
3990
|
* Prefer `for…of` over the `forEach` method.
|
|
3986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
|
|
3987
3992
|
*/
|
|
3988
3993
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
3989
3994
|
/**
|
|
3990
3995
|
* Disallow using the `this` argument in array methods.
|
|
3991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
|
|
3992
3997
|
*/
|
|
3993
3998
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
3994
3999
|
/**
|
|
3995
|
-
*
|
|
3996
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4000
|
+
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
|
|
4002
|
+
* @deprecated
|
|
3997
4003
|
*/
|
|
3998
|
-
'unicorn/no-array-push-push'?: Linter.RuleEntry<
|
|
4004
|
+
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
|
|
3999
4005
|
/**
|
|
4000
4006
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4007
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
|
|
4002
4008
|
*/
|
|
4003
4009
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4004
4010
|
/**
|
|
4005
4011
|
* Disallow member access from await expression.
|
|
4006
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4012
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
|
|
4007
4013
|
*/
|
|
4008
4014
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4009
4015
|
/**
|
|
4010
4016
|
* Disallow using `await` in `Promise` method parameters.
|
|
4011
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4017
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4012
4018
|
*/
|
|
4013
4019
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4014
4020
|
/**
|
|
4015
4021
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4016
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4022
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
|
|
4017
4023
|
*/
|
|
4018
4024
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4019
4025
|
/**
|
|
4020
4026
|
* Do not use `document.cookie` directly.
|
|
4021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4027
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
|
|
4022
4028
|
*/
|
|
4023
4029
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4024
4030
|
/**
|
|
4025
4031
|
* Disallow empty files.
|
|
4026
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4032
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
|
|
4027
4033
|
*/
|
|
4028
4034
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4029
4035
|
/**
|
|
4030
4036
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4031
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4037
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
|
|
4032
4038
|
*/
|
|
4033
4039
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4034
4040
|
/**
|
|
4035
4041
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4036
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4042
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
|
|
4037
4043
|
*/
|
|
4038
4044
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4039
4045
|
/**
|
|
4040
4046
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
4041
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4047
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
|
|
4042
4048
|
* @deprecated
|
|
4043
4049
|
*/
|
|
4044
4050
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4045
4051
|
/**
|
|
4046
4052
|
* Disallow `instanceof` with built-in objects
|
|
4047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4053
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
|
|
4048
4054
|
*/
|
|
4049
4055
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
4050
4056
|
/**
|
|
4051
4057
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4058
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
|
|
4053
4059
|
*/
|
|
4054
4060
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4055
4061
|
/**
|
|
4056
4062
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4063
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
4058
4064
|
*/
|
|
4059
4065
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4060
4066
|
/**
|
|
4061
4067
|
* Disallow identifiers starting with `new` or `class`.
|
|
4062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4068
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
|
|
4063
4069
|
*/
|
|
4064
4070
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4065
4071
|
/**
|
|
4066
|
-
*
|
|
4067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4072
|
+
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
4073
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
|
|
4074
|
+
* @deprecated
|
|
4068
4075
|
*/
|
|
4069
4076
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4070
4077
|
/**
|
|
4071
4078
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
|
|
4073
4080
|
*/
|
|
4074
4081
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4075
4082
|
/**
|
|
4076
4083
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
4078
4085
|
*/
|
|
4079
4086
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4080
4087
|
/**
|
|
4081
4088
|
* Disallow named usage of default import and export.
|
|
4082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
|
|
4083
4090
|
*/
|
|
4084
4091
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
4085
4092
|
/**
|
|
4086
4093
|
* Disallow negated conditions.
|
|
4087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
|
|
4088
4095
|
*/
|
|
4089
4096
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4090
4097
|
/**
|
|
4091
4098
|
* Disallow negated expression in equality check.
|
|
4092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
|
|
4093
4100
|
*/
|
|
4094
4101
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4095
4102
|
/**
|
|
4096
4103
|
* Disallow nested ternary expressions.
|
|
4097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
|
|
4098
4105
|
*/
|
|
4099
4106
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4100
4107
|
/**
|
|
4101
4108
|
* Disallow `new Array()`.
|
|
4102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
|
|
4103
4110
|
*/
|
|
4104
4111
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4105
4112
|
/**
|
|
4106
4113
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
|
|
4108
4115
|
*/
|
|
4109
4116
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4110
4117
|
/**
|
|
4111
4118
|
* Disallow the use of the `null` literal.
|
|
4112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
|
|
4113
4120
|
*/
|
|
4114
4121
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4115
4122
|
/**
|
|
4116
4123
|
* Disallow the use of objects as default parameters.
|
|
4117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
|
|
4118
4125
|
*/
|
|
4119
4126
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4120
4127
|
/**
|
|
4121
4128
|
* Disallow `process.exit()`.
|
|
4122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
|
|
4123
4130
|
*/
|
|
4124
4131
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4125
4132
|
/**
|
|
4126
4133
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
4128
4135
|
*/
|
|
4129
4136
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4130
4137
|
/**
|
|
4131
4138
|
* Disallow classes that only have static members.
|
|
4132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
|
|
4133
4140
|
*/
|
|
4134
4141
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4135
4142
|
/**
|
|
4136
4143
|
* Disallow `then` property.
|
|
4137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
|
|
4138
4145
|
*/
|
|
4139
4146
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4140
4147
|
/**
|
|
4141
4148
|
* Disallow assigning `this` to a variable.
|
|
4142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
|
|
4143
4150
|
*/
|
|
4144
4151
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4145
4152
|
/**
|
|
4146
4153
|
* Disallow comparing `undefined` using `typeof`.
|
|
4147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
|
|
4148
4155
|
*/
|
|
4149
4156
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4157
|
+
/**
|
|
4158
|
+
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
4159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
|
|
4160
|
+
*/
|
|
4161
|
+
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4162
|
+
/**
|
|
4163
|
+
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
4164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
|
|
4165
|
+
*/
|
|
4166
|
+
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
|
|
4150
4167
|
/**
|
|
4151
4168
|
* Disallow awaiting non-promise values.
|
|
4152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
|
|
4153
4170
|
*/
|
|
4154
4171
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4155
4172
|
/**
|
|
4156
4173
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
4158
4175
|
*/
|
|
4159
4176
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4177
|
+
/**
|
|
4178
|
+
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
|
|
4180
|
+
*/
|
|
4181
|
+
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
|
|
4160
4182
|
/**
|
|
4161
4183
|
* Disallow unreadable array destructuring.
|
|
4162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
4163
4185
|
*/
|
|
4164
4186
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4165
4187
|
/**
|
|
4166
4188
|
* Disallow unreadable IIFEs.
|
|
4167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
|
|
4168
4190
|
*/
|
|
4169
4191
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4170
4192
|
/**
|
|
4171
4193
|
* Disallow unused object properties.
|
|
4172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
|
|
4173
4195
|
*/
|
|
4174
4196
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4175
4197
|
/**
|
|
4176
4198
|
* Disallow useless fallback when spreading in object literals.
|
|
4177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
4178
4200
|
*/
|
|
4179
4201
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4180
4202
|
/**
|
|
4181
4203
|
* Disallow useless array length check.
|
|
4182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
|
|
4183
4205
|
*/
|
|
4184
4206
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4185
4207
|
/**
|
|
4186
4208
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
4188
4210
|
*/
|
|
4189
4211
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4190
4212
|
/**
|
|
4191
4213
|
* Disallow unnecessary spread.
|
|
4192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
|
|
4193
4215
|
*/
|
|
4194
4216
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4195
4217
|
/**
|
|
4196
4218
|
* Disallow useless case in switch statements.
|
|
4197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
|
|
4198
4220
|
*/
|
|
4199
4221
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4200
4222
|
/**
|
|
4201
4223
|
* Disallow useless `undefined`.
|
|
4202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
|
|
4203
4225
|
*/
|
|
4204
4226
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4205
4227
|
/**
|
|
4206
4228
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
|
|
4208
4230
|
*/
|
|
4209
4231
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4210
4232
|
/**
|
|
4211
4233
|
* Enforce proper case for numeric literals.
|
|
4212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
|
|
4213
4235
|
*/
|
|
4214
4236
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
4215
4237
|
/**
|
|
4216
4238
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
|
|
4218
4240
|
*/
|
|
4219
4241
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4220
4242
|
/**
|
|
4221
4243
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
|
|
4223
4245
|
*/
|
|
4224
4246
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4225
4247
|
/**
|
|
4226
4248
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
|
|
4228
4250
|
*/
|
|
4229
4251
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4230
4252
|
/**
|
|
4231
4253
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
|
|
4233
4255
|
*/
|
|
4234
4256
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4235
4257
|
/**
|
|
4236
4258
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
|
|
4238
4260
|
*/
|
|
4239
4261
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4240
4262
|
/**
|
|
4241
4263
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
|
|
4243
4265
|
*/
|
|
4244
4266
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4245
4267
|
/**
|
|
4246
4268
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
|
|
4248
4270
|
*/
|
|
4249
4271
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4250
4272
|
/**
|
|
4251
4273
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
|
|
4253
4275
|
*/
|
|
4254
4276
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4255
4277
|
/**
|
|
4256
4278
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
4258
4280
|
*/
|
|
4259
4281
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4260
4282
|
/**
|
|
4261
4283
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
|
|
4263
4285
|
*/
|
|
4264
4286
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4265
4287
|
/**
|
|
4266
4288
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
|
|
4268
4290
|
*/
|
|
4269
4291
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4270
4292
|
/**
|
|
4271
4293
|
* Prefer default parameters over reassignment.
|
|
4272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
|
|
4273
4295
|
*/
|
|
4274
4296
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4275
4297
|
/**
|
|
4276
4298
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
|
|
4278
4300
|
*/
|
|
4279
4301
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4280
4302
|
/**
|
|
4281
4303
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
4283
4305
|
*/
|
|
4284
4306
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4285
4307
|
/**
|
|
4286
4308
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
|
|
4288
4310
|
*/
|
|
4289
4311
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4290
4312
|
/**
|
|
4291
4313
|
* Prefer `.textContent` over `.innerText`.
|
|
4292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
4293
4315
|
*/
|
|
4294
4316
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4295
4317
|
/**
|
|
4296
4318
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
|
|
4298
4320
|
*/
|
|
4299
4321
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4300
4322
|
/**
|
|
4301
4323
|
* Prefer `export…from` when re-exporting.
|
|
4302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
|
|
4303
4325
|
*/
|
|
4304
4326
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4305
4327
|
/**
|
|
4306
4328
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
|
|
4308
4330
|
*/
|
|
4309
4331
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4332
|
+
/**
|
|
4333
|
+
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
4334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
|
|
4335
|
+
*/
|
|
4336
|
+
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
|
|
4310
4337
|
/**
|
|
4311
4338
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
|
|
4313
4340
|
*/
|
|
4314
4341
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4315
4342
|
/**
|
|
4316
4343
|
* Prefer reading a JSON file as a buffer.
|
|
4317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
4318
4345
|
*/
|
|
4319
4346
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4320
4347
|
/**
|
|
4321
4348
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
4323
4350
|
*/
|
|
4324
4351
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4325
4352
|
/**
|
|
4326
4353
|
* Prefer using a logical operator over a ternary.
|
|
4327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4328
4355
|
*/
|
|
4329
4356
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4330
4357
|
/**
|
|
4331
4358
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
|
|
4333
4360
|
*/
|
|
4334
4361
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4335
4362
|
/**
|
|
4336
4363
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
|
|
4338
4365
|
*/
|
|
4339
4366
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4340
4367
|
/**
|
|
4341
4368
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
4343
4370
|
*/
|
|
4344
4371
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4345
4372
|
/**
|
|
4346
4373
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
|
|
4348
4375
|
*/
|
|
4349
4376
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4350
4377
|
/**
|
|
4351
4378
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
|
|
4353
4380
|
*/
|
|
4354
4381
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4355
4382
|
/**
|
|
4356
4383
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
4358
4385
|
*/
|
|
4359
4386
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4360
4387
|
/**
|
|
4361
4388
|
* Prefer negative index over `.length - index` when possible.
|
|
4362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
|
|
4363
4390
|
*/
|
|
4364
4391
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4365
4392
|
/**
|
|
4366
4393
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
|
|
4368
4395
|
*/
|
|
4369
4396
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4370
4397
|
/**
|
|
4371
4398
|
* Prefer `Number` static properties over global ones.
|
|
4372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
|
|
4373
4400
|
*/
|
|
4374
4401
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4375
4402
|
/**
|
|
4376
4403
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
|
|
4378
4405
|
*/
|
|
4379
4406
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4380
4407
|
/**
|
|
4381
4408
|
* Prefer omitting the `catch` binding parameter.
|
|
4382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4409
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
4383
4410
|
*/
|
|
4384
4411
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4385
4412
|
/**
|
|
4386
4413
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4414
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
|
|
4388
4415
|
*/
|
|
4389
4416
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4390
4417
|
/**
|
|
4391
4418
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4419
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
|
|
4393
4420
|
*/
|
|
4394
4421
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4395
4422
|
/**
|
|
4396
4423
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
|
|
4398
4425
|
*/
|
|
4399
4426
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4400
4427
|
/**
|
|
4401
4428
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4429
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
|
|
4403
4430
|
*/
|
|
4404
4431
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4405
4432
|
/**
|
|
4406
4433
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
|
|
4408
4435
|
*/
|
|
4409
4436
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4410
4437
|
/**
|
|
4411
4438
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4439
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
|
|
4413
4440
|
*/
|
|
4414
4441
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4442
|
+
/**
|
|
4443
|
+
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
4444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
|
|
4445
|
+
*/
|
|
4446
|
+
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
|
|
4415
4447
|
/**
|
|
4416
4448
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
|
|
4418
4450
|
*/
|
|
4419
4451
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4420
4452
|
/**
|
|
4421
4453
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
|
|
4423
4455
|
*/
|
|
4424
4456
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4425
4457
|
/**
|
|
4426
4458
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
|
|
4428
4460
|
*/
|
|
4429
4461
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4430
4462
|
/**
|
|
4431
4463
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
|
|
4433
4465
|
*/
|
|
4434
4466
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4435
4467
|
/**
|
|
4436
4468
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
4438
4470
|
*/
|
|
4439
4471
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4440
4472
|
/**
|
|
4441
4473
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
4443
4475
|
*/
|
|
4444
4476
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4445
4477
|
/**
|
|
4446
4478
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
|
|
4448
4480
|
*/
|
|
4449
4481
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4450
4482
|
/**
|
|
4451
4483
|
* Prefer `switch` over multiple `else-if`.
|
|
4452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4484
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
|
|
4453
4485
|
*/
|
|
4454
4486
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4455
4487
|
/**
|
|
4456
4488
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4489
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
|
|
4458
4490
|
*/
|
|
4459
4491
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4460
4492
|
/**
|
|
4461
4493
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4494
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
|
|
4463
4495
|
*/
|
|
4464
4496
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4465
4497
|
/**
|
|
4466
4498
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4499
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
|
|
4468
4500
|
*/
|
|
4469
4501
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4470
4502
|
/**
|
|
4471
4503
|
* Prevent abbreviations.
|
|
4472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4504
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
|
|
4473
4505
|
*/
|
|
4474
4506
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4475
4507
|
/**
|
|
4476
4508
|
* Enforce consistent relative URL style.
|
|
4477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4509
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
|
|
4478
4510
|
*/
|
|
4479
4511
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4480
4512
|
/**
|
|
4481
4513
|
* Enforce using the separator argument with `Array#join()`.
|
|
4482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
|
|
4483
4515
|
*/
|
|
4484
4516
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4485
4517
|
/**
|
|
4486
4518
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4488
4520
|
*/
|
|
4489
4521
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4490
4522
|
/**
|
|
4491
4523
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4492
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
|
|
4493
4525
|
*/
|
|
4494
4526
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4495
4527
|
/**
|
|
4496
4528
|
* Enforce better string content.
|
|
4497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
|
|
4498
4530
|
*/
|
|
4499
4531
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4500
4532
|
/**
|
|
4501
4533
|
* Enforce consistent brace style for `case` clauses.
|
|
4502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
|
|
4503
4535
|
*/
|
|
4504
4536
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4505
4537
|
/**
|
|
4506
4538
|
* Fix whitespace-insensitive template indentation.
|
|
4507
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
|
|
4508
4540
|
*/
|
|
4509
4541
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4510
4542
|
/**
|
|
4511
4543
|
* Enforce consistent case for text encoding identifiers.
|
|
4512
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4544
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
|
|
4513
4545
|
*/
|
|
4514
4546
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4515
4547
|
/**
|
|
4516
4548
|
* Require `new` when creating an error.
|
|
4517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4549
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
|
|
4518
4550
|
*/
|
|
4519
4551
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4520
4552
|
/**
|
|
@@ -5865,6 +5897,7 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
5865
5897
|
allowTernary?: boolean
|
|
5866
5898
|
allowTaggedTemplates?: boolean
|
|
5867
5899
|
enforceForJSX?: boolean
|
|
5900
|
+
ignoreDirectives?: boolean
|
|
5868
5901
|
}]
|
|
5869
5902
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
5870
5903
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -5927,6 +5960,8 @@ type TypescriptEslintOnlyThrowError = []|[{
|
|
|
5927
5960
|
package: string
|
|
5928
5961
|
})[]
|
|
5929
5962
|
|
|
5963
|
+
allowRethrowing?: boolean
|
|
5964
|
+
|
|
5930
5965
|
allowThrowingAny?: boolean
|
|
5931
5966
|
|
|
5932
5967
|
allowThrowingUnknown?: boolean
|
|
@@ -8286,6 +8321,10 @@ type NoShadow = []|[{
|
|
|
8286
8321
|
allow?: string[]
|
|
8287
8322
|
ignoreOnInitialization?: boolean
|
|
8288
8323
|
}]
|
|
8324
|
+
// ----- no-shadow-restricted-names -----
|
|
8325
|
+
type NoShadowRestrictedNames = []|[{
|
|
8326
|
+
reportGlobalThis?: boolean
|
|
8327
|
+
}]
|
|
8289
8328
|
// ----- no-sync -----
|
|
8290
8329
|
type NoSync = []|[{
|
|
8291
8330
|
allowAtRootLevel?: boolean
|
|
@@ -8337,6 +8376,7 @@ type NoUnusedExpressions = []|[{
|
|
|
8337
8376
|
allowTernary?: boolean
|
|
8338
8377
|
allowTaggedTemplates?: boolean
|
|
8339
8378
|
enforceForJSX?: boolean
|
|
8379
|
+
ignoreDirectives?: boolean
|
|
8340
8380
|
}]
|
|
8341
8381
|
// ----- no-unused-vars -----
|
|
8342
8382
|
type NoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -8603,6 +8643,7 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
8603
8643
|
resolverConfig?: {
|
|
8604
8644
|
[k: string]: unknown | undefined
|
|
8605
8645
|
}
|
|
8646
|
+
tryExtensions?: string[]
|
|
8606
8647
|
ignoreTypeImport?: boolean
|
|
8607
8648
|
ignorePrivate?: boolean
|
|
8608
8649
|
}]
|
|
@@ -8646,7 +8687,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
8646
8687
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
8647
8688
|
version?: string
|
|
8648
8689
|
allowExperimental?: boolean
|
|
8649
|
-
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" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
|
|
8690
|
+
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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.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" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "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" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
|
|
8650
8691
|
}]
|
|
8651
8692
|
// ----- node/prefer-global/buffer -----
|
|
8652
8693
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -8794,7 +8835,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
8794
8835
|
order?: ("asc" | "desc")
|
|
8795
8836
|
|
|
8796
8837
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8797
|
-
[k: string]: unknown | undefined
|
|
8798
8838
|
}
|
|
8799
8839
|
|
|
8800
8840
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8820,10 +8860,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
8820
8860
|
order?: ("asc" | "desc")
|
|
8821
8861
|
|
|
8822
8862
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8823
|
-
[k: string]: unknown | undefined
|
|
8824
8863
|
}
|
|
8825
8864
|
|
|
8826
|
-
groupName
|
|
8865
|
+
groupName: string
|
|
8827
8866
|
|
|
8828
8867
|
order?: ("asc" | "desc")
|
|
8829
8868
|
|
|
@@ -8833,10 +8872,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
8833
8872
|
selector?: ("literal" | "spread")
|
|
8834
8873
|
|
|
8835
8874
|
elementNamePattern?: (({
|
|
8836
|
-
|
|
8875
|
+
|
|
8876
|
+
pattern: string
|
|
8877
|
+
|
|
8837
8878
|
flags?: string
|
|
8838
8879
|
} | string)[] | ({
|
|
8839
|
-
|
|
8880
|
+
|
|
8881
|
+
pattern: string
|
|
8882
|
+
|
|
8840
8883
|
flags?: string
|
|
8841
8884
|
} | string))
|
|
8842
8885
|
}[]
|
|
@@ -8849,10 +8892,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
8849
8892
|
order?: ("asc" | "desc")
|
|
8850
8893
|
|
|
8851
8894
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8852
|
-
[k: string]: unknown | undefined
|
|
8853
8895
|
}
|
|
8854
8896
|
|
|
8855
|
-
groupName
|
|
8897
|
+
groupName: string
|
|
8856
8898
|
|
|
8857
8899
|
order?: ("asc" | "desc")
|
|
8858
8900
|
|
|
@@ -8861,43 +8903,66 @@ type PerfectionistSortArrayIncludes = {
|
|
|
8861
8903
|
selector?: ("literal" | "spread")
|
|
8862
8904
|
|
|
8863
8905
|
elementNamePattern?: (({
|
|
8864
|
-
|
|
8906
|
+
|
|
8907
|
+
pattern: string
|
|
8908
|
+
|
|
8865
8909
|
flags?: string
|
|
8866
8910
|
} | string)[] | ({
|
|
8867
|
-
|
|
8911
|
+
|
|
8912
|
+
pattern: string
|
|
8913
|
+
|
|
8868
8914
|
flags?: string
|
|
8869
8915
|
} | string))
|
|
8870
8916
|
})[]
|
|
8917
|
+
|
|
8871
8918
|
useConfigurationIf?: {
|
|
8872
8919
|
|
|
8873
8920
|
allNamesMatchPattern?: (({
|
|
8874
|
-
|
|
8921
|
+
|
|
8922
|
+
pattern: string
|
|
8923
|
+
|
|
8875
8924
|
flags?: string
|
|
8876
8925
|
} | string)[] | ({
|
|
8877
|
-
|
|
8926
|
+
|
|
8927
|
+
pattern: string
|
|
8928
|
+
|
|
8878
8929
|
flags?: string
|
|
8879
8930
|
} | string))
|
|
8880
8931
|
}
|
|
8881
8932
|
|
|
8882
8933
|
partitionByComment?: (boolean | (({
|
|
8883
|
-
|
|
8934
|
+
|
|
8935
|
+
pattern: string
|
|
8936
|
+
|
|
8884
8937
|
flags?: string
|
|
8885
8938
|
} | string)[] | ({
|
|
8886
|
-
|
|
8939
|
+
|
|
8940
|
+
pattern: string
|
|
8941
|
+
|
|
8887
8942
|
flags?: string
|
|
8888
8943
|
} | string)) | {
|
|
8944
|
+
|
|
8889
8945
|
block?: (boolean | (({
|
|
8890
|
-
|
|
8946
|
+
|
|
8947
|
+
pattern: string
|
|
8948
|
+
|
|
8891
8949
|
flags?: string
|
|
8892
8950
|
} | string)[] | ({
|
|
8893
|
-
|
|
8951
|
+
|
|
8952
|
+
pattern: string
|
|
8953
|
+
|
|
8894
8954
|
flags?: string
|
|
8895
8955
|
} | string)))
|
|
8956
|
+
|
|
8896
8957
|
line?: (boolean | (({
|
|
8897
|
-
|
|
8958
|
+
|
|
8959
|
+
pattern: string
|
|
8960
|
+
|
|
8898
8961
|
flags?: string
|
|
8899
8962
|
} | string)[] | ({
|
|
8900
|
-
|
|
8963
|
+
|
|
8964
|
+
pattern: string
|
|
8965
|
+
|
|
8901
8966
|
flags?: string
|
|
8902
8967
|
} | string)))
|
|
8903
8968
|
})
|
|
@@ -8908,7 +8973,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
8908
8973
|
|
|
8909
8974
|
groups?: (string | string[] | {
|
|
8910
8975
|
|
|
8911
|
-
newlinesBetween
|
|
8976
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8912
8977
|
})[]
|
|
8913
8978
|
}[]
|
|
8914
8979
|
// ----- perfectionist/sort-classes -----
|
|
@@ -8919,7 +8984,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
8919
8984
|
order?: ("asc" | "desc")
|
|
8920
8985
|
|
|
8921
8986
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8922
|
-
[k: string]: unknown | undefined
|
|
8923
8987
|
}
|
|
8924
8988
|
|
|
8925
8989
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8943,10 +9007,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
8943
9007
|
order?: ("asc" | "desc")
|
|
8944
9008
|
|
|
8945
9009
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8946
|
-
[k: string]: unknown | undefined
|
|
8947
9010
|
}
|
|
8948
9011
|
|
|
8949
|
-
groupName
|
|
9012
|
+
groupName: string
|
|
8950
9013
|
|
|
8951
9014
|
order?: ("asc" | "desc")
|
|
8952
9015
|
|
|
@@ -8958,26 +9021,38 @@ type PerfectionistSortClasses = []|[{
|
|
|
8958
9021
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
8959
9022
|
|
|
8960
9023
|
decoratorNamePattern?: (({
|
|
8961
|
-
|
|
9024
|
+
|
|
9025
|
+
pattern: string
|
|
9026
|
+
|
|
8962
9027
|
flags?: string
|
|
8963
9028
|
} | string)[] | ({
|
|
8964
|
-
|
|
9029
|
+
|
|
9030
|
+
pattern: string
|
|
9031
|
+
|
|
8965
9032
|
flags?: string
|
|
8966
9033
|
} | string))
|
|
8967
9034
|
|
|
8968
9035
|
elementValuePattern?: (({
|
|
8969
|
-
|
|
9036
|
+
|
|
9037
|
+
pattern: string
|
|
9038
|
+
|
|
8970
9039
|
flags?: string
|
|
8971
9040
|
} | string)[] | ({
|
|
8972
|
-
|
|
9041
|
+
|
|
9042
|
+
pattern: string
|
|
9043
|
+
|
|
8973
9044
|
flags?: string
|
|
8974
9045
|
} | string))
|
|
8975
9046
|
|
|
8976
9047
|
elementNamePattern?: (({
|
|
8977
|
-
|
|
9048
|
+
|
|
9049
|
+
pattern: string
|
|
9050
|
+
|
|
8978
9051
|
flags?: string
|
|
8979
9052
|
} | string)[] | ({
|
|
8980
|
-
|
|
9053
|
+
|
|
9054
|
+
pattern: string
|
|
9055
|
+
|
|
8981
9056
|
flags?: string
|
|
8982
9057
|
} | string))
|
|
8983
9058
|
}[]
|
|
@@ -8990,10 +9065,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
8990
9065
|
order?: ("asc" | "desc")
|
|
8991
9066
|
|
|
8992
9067
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8993
|
-
[k: string]: unknown | undefined
|
|
8994
9068
|
}
|
|
8995
9069
|
|
|
8996
|
-
groupName
|
|
9070
|
+
groupName: string
|
|
8997
9071
|
|
|
8998
9072
|
order?: ("asc" | "desc")
|
|
8999
9073
|
|
|
@@ -9004,57 +9078,87 @@ type PerfectionistSortClasses = []|[{
|
|
|
9004
9078
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9005
9079
|
|
|
9006
9080
|
decoratorNamePattern?: (({
|
|
9007
|
-
|
|
9081
|
+
|
|
9082
|
+
pattern: string
|
|
9083
|
+
|
|
9008
9084
|
flags?: string
|
|
9009
9085
|
} | string)[] | ({
|
|
9010
|
-
|
|
9086
|
+
|
|
9087
|
+
pattern: string
|
|
9088
|
+
|
|
9011
9089
|
flags?: string
|
|
9012
9090
|
} | string))
|
|
9013
9091
|
|
|
9014
9092
|
elementValuePattern?: (({
|
|
9015
|
-
|
|
9093
|
+
|
|
9094
|
+
pattern: string
|
|
9095
|
+
|
|
9016
9096
|
flags?: string
|
|
9017
9097
|
} | string)[] | ({
|
|
9018
|
-
|
|
9098
|
+
|
|
9099
|
+
pattern: string
|
|
9100
|
+
|
|
9019
9101
|
flags?: string
|
|
9020
9102
|
} | string))
|
|
9021
9103
|
|
|
9022
9104
|
elementNamePattern?: (({
|
|
9023
|
-
|
|
9105
|
+
|
|
9106
|
+
pattern: string
|
|
9107
|
+
|
|
9024
9108
|
flags?: string
|
|
9025
9109
|
} | string)[] | ({
|
|
9026
|
-
|
|
9110
|
+
|
|
9111
|
+
pattern: string
|
|
9112
|
+
|
|
9027
9113
|
flags?: string
|
|
9028
9114
|
} | string))
|
|
9029
9115
|
})[]
|
|
9030
9116
|
|
|
9031
9117
|
ignoreCallbackDependenciesPatterns?: (({
|
|
9032
|
-
|
|
9118
|
+
|
|
9119
|
+
pattern: string
|
|
9120
|
+
|
|
9033
9121
|
flags?: string
|
|
9034
9122
|
} | string)[] | ({
|
|
9035
|
-
|
|
9123
|
+
|
|
9124
|
+
pattern: string
|
|
9125
|
+
|
|
9036
9126
|
flags?: string
|
|
9037
9127
|
} | string))
|
|
9038
9128
|
|
|
9039
9129
|
partitionByComment?: (boolean | (({
|
|
9040
|
-
|
|
9130
|
+
|
|
9131
|
+
pattern: string
|
|
9132
|
+
|
|
9041
9133
|
flags?: string
|
|
9042
9134
|
} | string)[] | ({
|
|
9043
|
-
|
|
9135
|
+
|
|
9136
|
+
pattern: string
|
|
9137
|
+
|
|
9044
9138
|
flags?: string
|
|
9045
9139
|
} | string)) | {
|
|
9140
|
+
|
|
9046
9141
|
block?: (boolean | (({
|
|
9047
|
-
|
|
9142
|
+
|
|
9143
|
+
pattern: string
|
|
9144
|
+
|
|
9048
9145
|
flags?: string
|
|
9049
9146
|
} | string)[] | ({
|
|
9050
|
-
|
|
9147
|
+
|
|
9148
|
+
pattern: string
|
|
9149
|
+
|
|
9051
9150
|
flags?: string
|
|
9052
9151
|
} | string)))
|
|
9152
|
+
|
|
9053
9153
|
line?: (boolean | (({
|
|
9054
|
-
|
|
9154
|
+
|
|
9155
|
+
pattern: string
|
|
9156
|
+
|
|
9055
9157
|
flags?: string
|
|
9056
9158
|
} | string)[] | ({
|
|
9057
|
-
|
|
9159
|
+
|
|
9160
|
+
pattern: string
|
|
9161
|
+
|
|
9058
9162
|
flags?: string
|
|
9059
9163
|
} | string)))
|
|
9060
9164
|
})
|
|
@@ -9065,7 +9169,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
9065
9169
|
|
|
9066
9170
|
groups?: (string | string[] | {
|
|
9067
9171
|
|
|
9068
|
-
newlinesBetween
|
|
9172
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9069
9173
|
})[]
|
|
9070
9174
|
}]
|
|
9071
9175
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -9076,7 +9180,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9076
9180
|
order?: ("asc" | "desc")
|
|
9077
9181
|
|
|
9078
9182
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9079
|
-
[k: string]: unknown | undefined
|
|
9080
9183
|
}
|
|
9081
9184
|
|
|
9082
9185
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9102,24 +9205,38 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9102
9205
|
sortOnClasses?: boolean
|
|
9103
9206
|
|
|
9104
9207
|
partitionByComment?: (boolean | (({
|
|
9105
|
-
|
|
9208
|
+
|
|
9209
|
+
pattern: string
|
|
9210
|
+
|
|
9106
9211
|
flags?: string
|
|
9107
9212
|
} | string)[] | ({
|
|
9108
|
-
|
|
9213
|
+
|
|
9214
|
+
pattern: string
|
|
9215
|
+
|
|
9109
9216
|
flags?: string
|
|
9110
9217
|
} | string)) | {
|
|
9218
|
+
|
|
9111
9219
|
block?: (boolean | (({
|
|
9112
|
-
|
|
9220
|
+
|
|
9221
|
+
pattern: string
|
|
9222
|
+
|
|
9113
9223
|
flags?: string
|
|
9114
9224
|
} | string)[] | ({
|
|
9115
|
-
|
|
9225
|
+
|
|
9226
|
+
pattern: string
|
|
9227
|
+
|
|
9116
9228
|
flags?: string
|
|
9117
9229
|
} | string)))
|
|
9230
|
+
|
|
9118
9231
|
line?: (boolean | (({
|
|
9119
|
-
|
|
9232
|
+
|
|
9233
|
+
pattern: string
|
|
9234
|
+
|
|
9120
9235
|
flags?: string
|
|
9121
9236
|
} | string)[] | ({
|
|
9122
|
-
|
|
9237
|
+
|
|
9238
|
+
pattern: string
|
|
9239
|
+
|
|
9123
9240
|
flags?: string
|
|
9124
9241
|
} | string)))
|
|
9125
9242
|
})
|
|
@@ -9130,7 +9247,7 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9130
9247
|
|
|
9131
9248
|
groups?: (string | string[] | {
|
|
9132
9249
|
|
|
9133
|
-
newlinesBetween
|
|
9250
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9134
9251
|
})[]
|
|
9135
9252
|
}]
|
|
9136
9253
|
// ----- perfectionist/sort-enums -----
|
|
@@ -9141,7 +9258,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
9141
9258
|
order?: ("asc" | "desc")
|
|
9142
9259
|
|
|
9143
9260
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9144
|
-
[k: string]: unknown | undefined
|
|
9145
9261
|
}
|
|
9146
9262
|
|
|
9147
9263
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9155,8 +9271,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
9155
9271
|
order?: ("asc" | "desc")
|
|
9156
9272
|
|
|
9157
9273
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9158
|
-
|
|
9159
|
-
forceNumericSort?: boolean
|
|
9160
9274
|
customGroups?: ({
|
|
9161
9275
|
[k: string]: (string | string[]) | undefined
|
|
9162
9276
|
} | ({
|
|
@@ -9168,10 +9282,9 @@ type PerfectionistSortEnums = []|[{
|
|
|
9168
9282
|
order?: ("asc" | "desc")
|
|
9169
9283
|
|
|
9170
9284
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9171
|
-
[k: string]: unknown | undefined
|
|
9172
9285
|
}
|
|
9173
9286
|
|
|
9174
|
-
groupName
|
|
9287
|
+
groupName: string
|
|
9175
9288
|
|
|
9176
9289
|
order?: ("asc" | "desc")
|
|
9177
9290
|
|
|
@@ -9179,18 +9292,26 @@ type PerfectionistSortEnums = []|[{
|
|
|
9179
9292
|
anyOf?: {
|
|
9180
9293
|
|
|
9181
9294
|
elementValuePattern?: (({
|
|
9182
|
-
|
|
9295
|
+
|
|
9296
|
+
pattern: string
|
|
9297
|
+
|
|
9183
9298
|
flags?: string
|
|
9184
9299
|
} | string)[] | ({
|
|
9185
|
-
|
|
9300
|
+
|
|
9301
|
+
pattern: string
|
|
9302
|
+
|
|
9186
9303
|
flags?: string
|
|
9187
9304
|
} | string))
|
|
9188
9305
|
|
|
9189
9306
|
elementNamePattern?: (({
|
|
9190
|
-
|
|
9307
|
+
|
|
9308
|
+
pattern: string
|
|
9309
|
+
|
|
9191
9310
|
flags?: string
|
|
9192
9311
|
} | string)[] | ({
|
|
9193
|
-
|
|
9312
|
+
|
|
9313
|
+
pattern: string
|
|
9314
|
+
|
|
9194
9315
|
flags?: string
|
|
9195
9316
|
} | string))
|
|
9196
9317
|
}[]
|
|
@@ -9203,53 +9324,76 @@ type PerfectionistSortEnums = []|[{
|
|
|
9203
9324
|
order?: ("asc" | "desc")
|
|
9204
9325
|
|
|
9205
9326
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9206
|
-
[k: string]: unknown | undefined
|
|
9207
9327
|
}
|
|
9208
9328
|
|
|
9209
|
-
groupName
|
|
9329
|
+
groupName: string
|
|
9210
9330
|
|
|
9211
9331
|
order?: ("asc" | "desc")
|
|
9212
9332
|
|
|
9213
9333
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9214
9334
|
|
|
9215
9335
|
elementValuePattern?: (({
|
|
9216
|
-
|
|
9336
|
+
|
|
9337
|
+
pattern: string
|
|
9338
|
+
|
|
9217
9339
|
flags?: string
|
|
9218
9340
|
} | string)[] | ({
|
|
9219
|
-
|
|
9341
|
+
|
|
9342
|
+
pattern: string
|
|
9343
|
+
|
|
9220
9344
|
flags?: string
|
|
9221
9345
|
} | string))
|
|
9222
9346
|
|
|
9223
9347
|
elementNamePattern?: (({
|
|
9224
|
-
|
|
9348
|
+
|
|
9349
|
+
pattern: string
|
|
9350
|
+
|
|
9225
9351
|
flags?: string
|
|
9226
9352
|
} | string)[] | ({
|
|
9227
|
-
|
|
9353
|
+
|
|
9354
|
+
pattern: string
|
|
9355
|
+
|
|
9228
9356
|
flags?: string
|
|
9229
9357
|
} | string))
|
|
9230
9358
|
})[])
|
|
9231
9359
|
|
|
9360
|
+
forceNumericSort?: boolean
|
|
9361
|
+
|
|
9232
9362
|
sortByValue?: boolean
|
|
9233
9363
|
|
|
9234
9364
|
partitionByComment?: (boolean | (({
|
|
9235
|
-
|
|
9365
|
+
|
|
9366
|
+
pattern: string
|
|
9367
|
+
|
|
9236
9368
|
flags?: string
|
|
9237
9369
|
} | string)[] | ({
|
|
9238
|
-
|
|
9370
|
+
|
|
9371
|
+
pattern: string
|
|
9372
|
+
|
|
9239
9373
|
flags?: string
|
|
9240
9374
|
} | string)) | {
|
|
9375
|
+
|
|
9241
9376
|
block?: (boolean | (({
|
|
9242
|
-
|
|
9377
|
+
|
|
9378
|
+
pattern: string
|
|
9379
|
+
|
|
9243
9380
|
flags?: string
|
|
9244
9381
|
} | string)[] | ({
|
|
9245
|
-
|
|
9382
|
+
|
|
9383
|
+
pattern: string
|
|
9384
|
+
|
|
9246
9385
|
flags?: string
|
|
9247
9386
|
} | string)))
|
|
9387
|
+
|
|
9248
9388
|
line?: (boolean | (({
|
|
9249
|
-
|
|
9389
|
+
|
|
9390
|
+
pattern: string
|
|
9391
|
+
|
|
9250
9392
|
flags?: string
|
|
9251
9393
|
} | string)[] | ({
|
|
9252
|
-
|
|
9394
|
+
|
|
9395
|
+
pattern: string
|
|
9396
|
+
|
|
9253
9397
|
flags?: string
|
|
9254
9398
|
} | string)))
|
|
9255
9399
|
})
|
|
@@ -9260,7 +9404,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
9260
9404
|
|
|
9261
9405
|
groups?: (string | string[] | {
|
|
9262
9406
|
|
|
9263
|
-
newlinesBetween
|
|
9407
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9264
9408
|
})[]
|
|
9265
9409
|
}]
|
|
9266
9410
|
// ----- perfectionist/sort-exports -----
|
|
@@ -9271,7 +9415,6 @@ type PerfectionistSortExports = {
|
|
|
9271
9415
|
order?: ("asc" | "desc")
|
|
9272
9416
|
|
|
9273
9417
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9274
|
-
[k: string]: unknown | undefined
|
|
9275
9418
|
}
|
|
9276
9419
|
|
|
9277
9420
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9297,10 +9440,9 @@ type PerfectionistSortExports = {
|
|
|
9297
9440
|
order?: ("asc" | "desc")
|
|
9298
9441
|
|
|
9299
9442
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9300
|
-
[k: string]: unknown | undefined
|
|
9301
9443
|
}
|
|
9302
9444
|
|
|
9303
|
-
groupName
|
|
9445
|
+
groupName: string
|
|
9304
9446
|
|
|
9305
9447
|
order?: ("asc" | "desc")
|
|
9306
9448
|
|
|
@@ -9312,10 +9454,14 @@ type PerfectionistSortExports = {
|
|
|
9312
9454
|
selector?: "export"
|
|
9313
9455
|
|
|
9314
9456
|
elementNamePattern?: (({
|
|
9315
|
-
|
|
9457
|
+
|
|
9458
|
+
pattern: string
|
|
9459
|
+
|
|
9316
9460
|
flags?: string
|
|
9317
9461
|
} | string)[] | ({
|
|
9318
|
-
|
|
9462
|
+
|
|
9463
|
+
pattern: string
|
|
9464
|
+
|
|
9319
9465
|
flags?: string
|
|
9320
9466
|
} | string))
|
|
9321
9467
|
}[]
|
|
@@ -9328,10 +9474,9 @@ type PerfectionistSortExports = {
|
|
|
9328
9474
|
order?: ("asc" | "desc")
|
|
9329
9475
|
|
|
9330
9476
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9331
|
-
[k: string]: unknown | undefined
|
|
9332
9477
|
}
|
|
9333
9478
|
|
|
9334
|
-
groupName
|
|
9479
|
+
groupName: string
|
|
9335
9480
|
|
|
9336
9481
|
order?: ("asc" | "desc")
|
|
9337
9482
|
|
|
@@ -9342,33 +9487,51 @@ type PerfectionistSortExports = {
|
|
|
9342
9487
|
selector?: "export"
|
|
9343
9488
|
|
|
9344
9489
|
elementNamePattern?: (({
|
|
9345
|
-
|
|
9490
|
+
|
|
9491
|
+
pattern: string
|
|
9492
|
+
|
|
9346
9493
|
flags?: string
|
|
9347
9494
|
} | string)[] | ({
|
|
9348
|
-
|
|
9495
|
+
|
|
9496
|
+
pattern: string
|
|
9497
|
+
|
|
9349
9498
|
flags?: string
|
|
9350
9499
|
} | string))
|
|
9351
9500
|
})[]
|
|
9352
9501
|
|
|
9353
9502
|
partitionByComment?: (boolean | (({
|
|
9354
|
-
|
|
9503
|
+
|
|
9504
|
+
pattern: string
|
|
9505
|
+
|
|
9355
9506
|
flags?: string
|
|
9356
9507
|
} | string)[] | ({
|
|
9357
|
-
|
|
9508
|
+
|
|
9509
|
+
pattern: string
|
|
9510
|
+
|
|
9358
9511
|
flags?: string
|
|
9359
9512
|
} | string)) | {
|
|
9513
|
+
|
|
9360
9514
|
block?: (boolean | (({
|
|
9361
|
-
|
|
9515
|
+
|
|
9516
|
+
pattern: string
|
|
9517
|
+
|
|
9362
9518
|
flags?: string
|
|
9363
9519
|
} | string)[] | ({
|
|
9364
|
-
|
|
9520
|
+
|
|
9521
|
+
pattern: string
|
|
9522
|
+
|
|
9365
9523
|
flags?: string
|
|
9366
9524
|
} | string)))
|
|
9525
|
+
|
|
9367
9526
|
line?: (boolean | (({
|
|
9368
|
-
|
|
9527
|
+
|
|
9528
|
+
pattern: string
|
|
9529
|
+
|
|
9369
9530
|
flags?: string
|
|
9370
9531
|
} | string)[] | ({
|
|
9371
|
-
|
|
9532
|
+
|
|
9533
|
+
pattern: string
|
|
9534
|
+
|
|
9372
9535
|
flags?: string
|
|
9373
9536
|
} | string)))
|
|
9374
9537
|
})
|
|
@@ -9379,7 +9542,7 @@ type PerfectionistSortExports = {
|
|
|
9379
9542
|
|
|
9380
9543
|
groups?: (string | string[] | {
|
|
9381
9544
|
|
|
9382
|
-
newlinesBetween
|
|
9545
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9383
9546
|
})[]
|
|
9384
9547
|
}[]
|
|
9385
9548
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
@@ -9390,7 +9553,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
9390
9553
|
order?: ("asc" | "desc")
|
|
9391
9554
|
|
|
9392
9555
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9393
|
-
[k: string]: unknown | undefined
|
|
9394
9556
|
}
|
|
9395
9557
|
|
|
9396
9558
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9411,18 +9573,17 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
9411
9573
|
|
|
9412
9574
|
groups?: (string | string[] | {
|
|
9413
9575
|
|
|
9414
|
-
newlinesBetween
|
|
9576
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9415
9577
|
})[]
|
|
9416
9578
|
}]
|
|
9417
|
-
// ----- perfectionist/sort-
|
|
9418
|
-
type
|
|
9579
|
+
// ----- perfectionist/sort-imports -----
|
|
9580
|
+
type PerfectionistSortImports = {
|
|
9419
9581
|
|
|
9420
9582
|
fallbackSort?: {
|
|
9421
9583
|
|
|
9422
9584
|
order?: ("asc" | "desc")
|
|
9423
9585
|
|
|
9424
9586
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9425
|
-
[k: string]: unknown | undefined
|
|
9426
9587
|
}
|
|
9427
9588
|
|
|
9428
9589
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9437,7 +9598,14 @@ type PerfectionistSortInterfaces = {
|
|
|
9437
9598
|
|
|
9438
9599
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9439
9600
|
customGroups?: ({
|
|
9440
|
-
|
|
9601
|
+
|
|
9602
|
+
value?: {
|
|
9603
|
+
[k: string]: (string | string[]) | undefined
|
|
9604
|
+
}
|
|
9605
|
+
|
|
9606
|
+
type?: {
|
|
9607
|
+
[k: string]: (string | string[]) | undefined
|
|
9608
|
+
}
|
|
9441
9609
|
} | ({
|
|
9442
9610
|
|
|
9443
9611
|
newlinesInside?: ("always" | "never")
|
|
@@ -9447,37 +9615,42 @@ type PerfectionistSortInterfaces = {
|
|
|
9447
9615
|
order?: ("asc" | "desc")
|
|
9448
9616
|
|
|
9449
9617
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9450
|
-
sortBy?: ("name" | "value")
|
|
9451
|
-
[k: string]: unknown | undefined
|
|
9452
9618
|
}
|
|
9453
9619
|
|
|
9454
|
-
groupName
|
|
9620
|
+
groupName: string
|
|
9455
9621
|
|
|
9456
9622
|
order?: ("asc" | "desc")
|
|
9457
9623
|
|
|
9458
9624
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9459
9625
|
anyOf?: {
|
|
9460
9626
|
|
|
9461
|
-
modifiers?: ("
|
|
9627
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
9462
9628
|
|
|
9463
|
-
selector?: ("
|
|
9629
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
9464
9630
|
|
|
9465
9631
|
elementValuePattern?: (({
|
|
9466
|
-
|
|
9632
|
+
|
|
9633
|
+
pattern: string
|
|
9634
|
+
|
|
9467
9635
|
flags?: string
|
|
9468
9636
|
} | string)[] | ({
|
|
9469
|
-
|
|
9637
|
+
|
|
9638
|
+
pattern: string
|
|
9639
|
+
|
|
9470
9640
|
flags?: string
|
|
9471
9641
|
} | string))
|
|
9472
9642
|
|
|
9473
9643
|
elementNamePattern?: (({
|
|
9474
|
-
|
|
9644
|
+
|
|
9645
|
+
pattern: string
|
|
9646
|
+
|
|
9475
9647
|
flags?: string
|
|
9476
9648
|
} | string)[] | ({
|
|
9477
|
-
|
|
9649
|
+
|
|
9650
|
+
pattern: string
|
|
9651
|
+
|
|
9478
9652
|
flags?: string
|
|
9479
9653
|
} | string))
|
|
9480
|
-
sortBy?: ("name" | "value")
|
|
9481
9654
|
}[]
|
|
9482
9655
|
} | {
|
|
9483
9656
|
|
|
@@ -9488,77 +9661,84 @@ type PerfectionistSortInterfaces = {
|
|
|
9488
9661
|
order?: ("asc" | "desc")
|
|
9489
9662
|
|
|
9490
9663
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9491
|
-
sortBy?: ("name" | "value")
|
|
9492
|
-
[k: string]: unknown | undefined
|
|
9493
9664
|
}
|
|
9494
9665
|
|
|
9495
|
-
groupName
|
|
9666
|
+
groupName: string
|
|
9496
9667
|
|
|
9497
9668
|
order?: ("asc" | "desc")
|
|
9498
9669
|
|
|
9499
9670
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9500
9671
|
|
|
9501
|
-
modifiers?: ("
|
|
9672
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
9502
9673
|
|
|
9503
|
-
selector?: ("
|
|
9674
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
9504
9675
|
|
|
9505
9676
|
elementValuePattern?: (({
|
|
9506
|
-
|
|
9677
|
+
|
|
9678
|
+
pattern: string
|
|
9679
|
+
|
|
9507
9680
|
flags?: string
|
|
9508
9681
|
} | string)[] | ({
|
|
9509
|
-
|
|
9682
|
+
|
|
9683
|
+
pattern: string
|
|
9684
|
+
|
|
9510
9685
|
flags?: string
|
|
9511
9686
|
} | string))
|
|
9512
9687
|
|
|
9513
9688
|
elementNamePattern?: (({
|
|
9514
|
-
|
|
9689
|
+
|
|
9690
|
+
pattern: string
|
|
9691
|
+
|
|
9515
9692
|
flags?: string
|
|
9516
9693
|
} | string)[] | ({
|
|
9517
|
-
|
|
9694
|
+
|
|
9695
|
+
pattern: string
|
|
9696
|
+
|
|
9518
9697
|
flags?: string
|
|
9519
9698
|
} | string))
|
|
9520
|
-
sortBy?: ("name" | "value")
|
|
9521
9699
|
})[])
|
|
9522
9700
|
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
pattern?: string
|
|
9531
|
-
flags?: string
|
|
9532
|
-
} | string))
|
|
9533
|
-
|
|
9534
|
-
declarationMatchesPattern?: (({
|
|
9535
|
-
pattern?: string
|
|
9536
|
-
flags?: string
|
|
9537
|
-
} | string)[] | ({
|
|
9538
|
-
pattern?: string
|
|
9539
|
-
flags?: string
|
|
9540
|
-
} | string))
|
|
9541
|
-
}
|
|
9701
|
+
maxLineLength?: number
|
|
9702
|
+
|
|
9703
|
+
sortSideEffects?: boolean
|
|
9704
|
+
|
|
9705
|
+
environment?: ("node" | "bun")
|
|
9706
|
+
|
|
9707
|
+
tsconfigRootDir?: string
|
|
9542
9708
|
|
|
9543
9709
|
partitionByComment?: (boolean | (({
|
|
9544
|
-
|
|
9710
|
+
|
|
9711
|
+
pattern: string
|
|
9712
|
+
|
|
9545
9713
|
flags?: string
|
|
9546
9714
|
} | string)[] | ({
|
|
9547
|
-
|
|
9715
|
+
|
|
9716
|
+
pattern: string
|
|
9717
|
+
|
|
9548
9718
|
flags?: string
|
|
9549
9719
|
} | string)) | {
|
|
9720
|
+
|
|
9550
9721
|
block?: (boolean | (({
|
|
9551
|
-
|
|
9722
|
+
|
|
9723
|
+
pattern: string
|
|
9724
|
+
|
|
9552
9725
|
flags?: string
|
|
9553
9726
|
} | string)[] | ({
|
|
9554
|
-
|
|
9727
|
+
|
|
9728
|
+
pattern: string
|
|
9729
|
+
|
|
9555
9730
|
flags?: string
|
|
9556
9731
|
} | string)))
|
|
9732
|
+
|
|
9557
9733
|
line?: (boolean | (({
|
|
9558
|
-
|
|
9734
|
+
|
|
9735
|
+
pattern: string
|
|
9736
|
+
|
|
9559
9737
|
flags?: string
|
|
9560
9738
|
} | string)[] | ({
|
|
9561
|
-
|
|
9739
|
+
|
|
9740
|
+
pattern: string
|
|
9741
|
+
|
|
9562
9742
|
flags?: string
|
|
9563
9743
|
} | string)))
|
|
9564
9744
|
})
|
|
@@ -9567,29 +9747,32 @@ type PerfectionistSortInterfaces = {
|
|
|
9567
9747
|
|
|
9568
9748
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9569
9749
|
|
|
9570
|
-
|
|
9571
|
-
|
|
9750
|
+
internalPattern?: (({
|
|
9751
|
+
|
|
9752
|
+
pattern: string
|
|
9753
|
+
|
|
9572
9754
|
flags?: string
|
|
9573
9755
|
} | string)[] | ({
|
|
9574
|
-
|
|
9756
|
+
|
|
9757
|
+
pattern: string
|
|
9758
|
+
|
|
9575
9759
|
flags?: string
|
|
9576
9760
|
} | string))
|
|
9577
|
-
sortBy?: ("name" | "value")
|
|
9578
9761
|
|
|
9579
9762
|
groups?: (string | string[] | {
|
|
9580
9763
|
|
|
9581
|
-
newlinesBetween
|
|
9764
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9582
9765
|
})[]
|
|
9583
9766
|
}[]
|
|
9584
|
-
// ----- perfectionist/sort-
|
|
9585
|
-
type
|
|
9767
|
+
// ----- perfectionist/sort-interfaces -----
|
|
9768
|
+
type PerfectionistSortInterfaces = {
|
|
9586
9769
|
|
|
9587
9770
|
fallbackSort?: {
|
|
9588
9771
|
|
|
9589
9772
|
order?: ("asc" | "desc")
|
|
9590
9773
|
|
|
9591
9774
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9592
|
-
|
|
9775
|
+
sortBy?: ("name" | "value")
|
|
9593
9776
|
}
|
|
9594
9777
|
|
|
9595
9778
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9603,40 +9786,325 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
9603
9786
|
order?: ("asc" | "desc")
|
|
9604
9787
|
|
|
9605
9788
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
flags?: string
|
|
9610
|
-
} | string)[] | ({
|
|
9611
|
-
pattern?: string
|
|
9612
|
-
flags?: string
|
|
9613
|
-
} | string)) | {
|
|
9614
|
-
block?: (boolean | (({
|
|
9615
|
-
pattern?: string
|
|
9616
|
-
flags?: string
|
|
9617
|
-
} | string)[] | ({
|
|
9618
|
-
pattern?: string
|
|
9619
|
-
flags?: string
|
|
9620
|
-
} | string)))
|
|
9621
|
-
line?: (boolean | (({
|
|
9622
|
-
pattern?: string
|
|
9623
|
-
flags?: string
|
|
9624
|
-
} | string)[] | ({
|
|
9625
|
-
pattern?: string
|
|
9626
|
-
flags?: string
|
|
9627
|
-
} | string)))
|
|
9628
|
-
})
|
|
9629
|
-
|
|
9630
|
-
partitionByNewLine?: boolean
|
|
9631
|
-
|
|
9632
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9633
|
-
|
|
9634
|
-
groups?: (string | string[] | {
|
|
9789
|
+
customGroups?: ({
|
|
9790
|
+
[k: string]: (string | string[]) | undefined
|
|
9791
|
+
} | ({
|
|
9635
9792
|
|
|
9636
|
-
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
9793
|
+
newlinesInside?: ("always" | "never")
|
|
9794
|
+
|
|
9795
|
+
fallbackSort?: {
|
|
9796
|
+
|
|
9797
|
+
order?: ("asc" | "desc")
|
|
9798
|
+
|
|
9799
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9800
|
+
sortBy?: ("name" | "value")
|
|
9801
|
+
}
|
|
9802
|
+
|
|
9803
|
+
groupName: string
|
|
9804
|
+
|
|
9805
|
+
order?: ("asc" | "desc")
|
|
9806
|
+
|
|
9807
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9808
|
+
anyOf?: {
|
|
9809
|
+
|
|
9810
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9811
|
+
|
|
9812
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9813
|
+
|
|
9814
|
+
elementValuePattern?: (({
|
|
9815
|
+
|
|
9816
|
+
pattern: string
|
|
9817
|
+
|
|
9818
|
+
flags?: string
|
|
9819
|
+
} | string)[] | ({
|
|
9820
|
+
|
|
9821
|
+
pattern: string
|
|
9822
|
+
|
|
9823
|
+
flags?: string
|
|
9824
|
+
} | string))
|
|
9825
|
+
|
|
9826
|
+
elementNamePattern?: (({
|
|
9827
|
+
|
|
9828
|
+
pattern: string
|
|
9829
|
+
|
|
9830
|
+
flags?: string
|
|
9831
|
+
} | string)[] | ({
|
|
9832
|
+
|
|
9833
|
+
pattern: string
|
|
9834
|
+
|
|
9835
|
+
flags?: string
|
|
9836
|
+
} | string))
|
|
9837
|
+
sortBy?: ("name" | "value")
|
|
9838
|
+
}[]
|
|
9839
|
+
} | {
|
|
9840
|
+
|
|
9841
|
+
newlinesInside?: ("always" | "never")
|
|
9842
|
+
|
|
9843
|
+
fallbackSort?: {
|
|
9844
|
+
|
|
9845
|
+
order?: ("asc" | "desc")
|
|
9846
|
+
|
|
9847
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9848
|
+
sortBy?: ("name" | "value")
|
|
9849
|
+
}
|
|
9850
|
+
|
|
9851
|
+
groupName: string
|
|
9852
|
+
|
|
9853
|
+
order?: ("asc" | "desc")
|
|
9854
|
+
|
|
9855
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9856
|
+
|
|
9857
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
9858
|
+
|
|
9859
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
9860
|
+
|
|
9861
|
+
elementValuePattern?: (({
|
|
9862
|
+
|
|
9863
|
+
pattern: string
|
|
9864
|
+
|
|
9865
|
+
flags?: string
|
|
9866
|
+
} | string)[] | ({
|
|
9867
|
+
|
|
9868
|
+
pattern: string
|
|
9869
|
+
|
|
9870
|
+
flags?: string
|
|
9871
|
+
} | string))
|
|
9872
|
+
|
|
9873
|
+
elementNamePattern?: (({
|
|
9874
|
+
|
|
9875
|
+
pattern: string
|
|
9876
|
+
|
|
9877
|
+
flags?: string
|
|
9878
|
+
} | string)[] | ({
|
|
9879
|
+
|
|
9880
|
+
pattern: string
|
|
9881
|
+
|
|
9882
|
+
flags?: string
|
|
9883
|
+
} | string))
|
|
9884
|
+
sortBy?: ("name" | "value")
|
|
9885
|
+
})[])
|
|
9886
|
+
|
|
9887
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
9888
|
+
|
|
9889
|
+
useConfigurationIf?: {
|
|
9890
|
+
|
|
9891
|
+
allNamesMatchPattern?: (({
|
|
9892
|
+
|
|
9893
|
+
pattern: string
|
|
9894
|
+
|
|
9895
|
+
flags?: string
|
|
9896
|
+
} | string)[] | ({
|
|
9897
|
+
|
|
9898
|
+
pattern: string
|
|
9899
|
+
|
|
9900
|
+
flags?: string
|
|
9901
|
+
} | string))
|
|
9902
|
+
|
|
9903
|
+
declarationMatchesPattern?: (({
|
|
9904
|
+
|
|
9905
|
+
pattern: string
|
|
9906
|
+
|
|
9907
|
+
flags?: string
|
|
9908
|
+
} | string)[] | ({
|
|
9909
|
+
|
|
9910
|
+
pattern: string
|
|
9911
|
+
|
|
9912
|
+
flags?: string
|
|
9913
|
+
} | string))
|
|
9914
|
+
}
|
|
9915
|
+
|
|
9916
|
+
partitionByComment?: (boolean | (({
|
|
9917
|
+
|
|
9918
|
+
pattern: string
|
|
9919
|
+
|
|
9920
|
+
flags?: string
|
|
9921
|
+
} | string)[] | ({
|
|
9922
|
+
|
|
9923
|
+
pattern: string
|
|
9924
|
+
|
|
9925
|
+
flags?: string
|
|
9926
|
+
} | string)) | {
|
|
9927
|
+
|
|
9928
|
+
block?: (boolean | (({
|
|
9929
|
+
|
|
9930
|
+
pattern: string
|
|
9931
|
+
|
|
9932
|
+
flags?: string
|
|
9933
|
+
} | string)[] | ({
|
|
9934
|
+
|
|
9935
|
+
pattern: string
|
|
9936
|
+
|
|
9937
|
+
flags?: string
|
|
9938
|
+
} | string)))
|
|
9939
|
+
|
|
9940
|
+
line?: (boolean | (({
|
|
9941
|
+
|
|
9942
|
+
pattern: string
|
|
9943
|
+
|
|
9944
|
+
flags?: string
|
|
9945
|
+
} | string)[] | ({
|
|
9946
|
+
|
|
9947
|
+
pattern: string
|
|
9948
|
+
|
|
9949
|
+
flags?: string
|
|
9950
|
+
} | string)))
|
|
9951
|
+
})
|
|
9952
|
+
|
|
9953
|
+
partitionByNewLine?: boolean
|
|
9954
|
+
|
|
9955
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9956
|
+
|
|
9957
|
+
ignorePattern?: (({
|
|
9958
|
+
|
|
9959
|
+
pattern: string
|
|
9960
|
+
|
|
9961
|
+
flags?: string
|
|
9962
|
+
} | string)[] | ({
|
|
9963
|
+
|
|
9964
|
+
pattern: string
|
|
9965
|
+
|
|
9966
|
+
flags?: string
|
|
9967
|
+
} | string))
|
|
9968
|
+
sortBy?: ("name" | "value")
|
|
9969
|
+
|
|
9970
|
+
groups?: (string | string[] | {
|
|
9971
|
+
|
|
9972
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9973
|
+
})[]
|
|
9974
|
+
}[]
|
|
9975
|
+
// ----- perfectionist/sort-intersection-types -----
|
|
9976
|
+
type PerfectionistSortIntersectionTypes = {
|
|
9977
|
+
|
|
9978
|
+
fallbackSort?: {
|
|
9979
|
+
|
|
9980
|
+
order?: ("asc" | "desc")
|
|
9981
|
+
|
|
9982
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9983
|
+
}
|
|
9984
|
+
|
|
9985
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9986
|
+
|
|
9987
|
+
ignoreCase?: boolean
|
|
9988
|
+
|
|
9989
|
+
alphabet?: string
|
|
9990
|
+
|
|
9991
|
+
locales?: (string | string[])
|
|
9992
|
+
|
|
9993
|
+
order?: ("asc" | "desc")
|
|
9994
|
+
|
|
9995
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9996
|
+
|
|
9997
|
+
customGroups?: ({
|
|
9998
|
+
|
|
9999
|
+
newlinesInside?: ("always" | "never")
|
|
10000
|
+
|
|
10001
|
+
fallbackSort?: {
|
|
10002
|
+
|
|
10003
|
+
order?: ("asc" | "desc")
|
|
10004
|
+
|
|
10005
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10006
|
+
}
|
|
10007
|
+
|
|
10008
|
+
groupName: string
|
|
10009
|
+
|
|
10010
|
+
order?: ("asc" | "desc")
|
|
10011
|
+
|
|
10012
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10013
|
+
anyOf?: {
|
|
10014
|
+
|
|
10015
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
10016
|
+
|
|
10017
|
+
elementNamePattern?: (({
|
|
10018
|
+
|
|
10019
|
+
pattern: string
|
|
10020
|
+
|
|
10021
|
+
flags?: string
|
|
10022
|
+
} | string)[] | ({
|
|
10023
|
+
|
|
10024
|
+
pattern: string
|
|
10025
|
+
|
|
10026
|
+
flags?: string
|
|
10027
|
+
} | string))
|
|
10028
|
+
}[]
|
|
10029
|
+
} | {
|
|
10030
|
+
|
|
10031
|
+
newlinesInside?: ("always" | "never")
|
|
10032
|
+
|
|
10033
|
+
fallbackSort?: {
|
|
10034
|
+
|
|
10035
|
+
order?: ("asc" | "desc")
|
|
10036
|
+
|
|
10037
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10038
|
+
}
|
|
10039
|
+
|
|
10040
|
+
groupName: string
|
|
10041
|
+
|
|
10042
|
+
order?: ("asc" | "desc")
|
|
10043
|
+
|
|
10044
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10045
|
+
|
|
10046
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
10047
|
+
|
|
10048
|
+
elementNamePattern?: (({
|
|
10049
|
+
|
|
10050
|
+
pattern: string
|
|
10051
|
+
|
|
10052
|
+
flags?: string
|
|
10053
|
+
} | string)[] | ({
|
|
10054
|
+
|
|
10055
|
+
pattern: string
|
|
10056
|
+
|
|
10057
|
+
flags?: string
|
|
10058
|
+
} | string))
|
|
10059
|
+
})[]
|
|
10060
|
+
|
|
10061
|
+
partitionByComment?: (boolean | (({
|
|
10062
|
+
|
|
10063
|
+
pattern: string
|
|
10064
|
+
|
|
10065
|
+
flags?: string
|
|
10066
|
+
} | string)[] | ({
|
|
10067
|
+
|
|
10068
|
+
pattern: string
|
|
10069
|
+
|
|
10070
|
+
flags?: string
|
|
10071
|
+
} | string)) | {
|
|
10072
|
+
|
|
10073
|
+
block?: (boolean | (({
|
|
10074
|
+
|
|
10075
|
+
pattern: string
|
|
10076
|
+
|
|
10077
|
+
flags?: string
|
|
10078
|
+
} | string)[] | ({
|
|
10079
|
+
|
|
10080
|
+
pattern: string
|
|
10081
|
+
|
|
10082
|
+
flags?: string
|
|
10083
|
+
} | string)))
|
|
10084
|
+
|
|
10085
|
+
line?: (boolean | (({
|
|
10086
|
+
|
|
10087
|
+
pattern: string
|
|
10088
|
+
|
|
10089
|
+
flags?: string
|
|
10090
|
+
} | string)[] | ({
|
|
10091
|
+
|
|
10092
|
+
pattern: string
|
|
10093
|
+
|
|
10094
|
+
flags?: string
|
|
10095
|
+
} | string)))
|
|
10096
|
+
})
|
|
10097
|
+
|
|
10098
|
+
partitionByNewLine?: boolean
|
|
10099
|
+
|
|
10100
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10101
|
+
|
|
10102
|
+
groups?: (string | string[] | {
|
|
10103
|
+
|
|
10104
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10105
|
+
})[]
|
|
10106
|
+
}[]
|
|
10107
|
+
// ----- perfectionist/sort-jsx-props -----
|
|
9640
10108
|
type PerfectionistSortJsxProps = {
|
|
9641
10109
|
|
|
9642
10110
|
fallbackSort?: {
|
|
@@ -9644,7 +10112,6 @@ type PerfectionistSortJsxProps = {
|
|
|
9644
10112
|
order?: ("asc" | "desc")
|
|
9645
10113
|
|
|
9646
10114
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9647
|
-
[k: string]: unknown | undefined
|
|
9648
10115
|
}
|
|
9649
10116
|
|
|
9650
10117
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9669,10 +10136,9 @@ type PerfectionistSortJsxProps = {
|
|
|
9669
10136
|
order?: ("asc" | "desc")
|
|
9670
10137
|
|
|
9671
10138
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9672
|
-
[k: string]: unknown | undefined
|
|
9673
10139
|
}
|
|
9674
10140
|
|
|
9675
|
-
groupName
|
|
10141
|
+
groupName: string
|
|
9676
10142
|
|
|
9677
10143
|
order?: ("asc" | "desc")
|
|
9678
10144
|
|
|
@@ -9684,18 +10150,26 @@ type PerfectionistSortJsxProps = {
|
|
|
9684
10150
|
selector?: ("multiline" | "prop" | "shorthand")
|
|
9685
10151
|
|
|
9686
10152
|
elementValuePattern?: (({
|
|
9687
|
-
|
|
10153
|
+
|
|
10154
|
+
pattern: string
|
|
10155
|
+
|
|
9688
10156
|
flags?: string
|
|
9689
10157
|
} | string)[] | ({
|
|
9690
|
-
|
|
10158
|
+
|
|
10159
|
+
pattern: string
|
|
10160
|
+
|
|
9691
10161
|
flags?: string
|
|
9692
10162
|
} | string))
|
|
9693
10163
|
|
|
9694
10164
|
elementNamePattern?: (({
|
|
9695
|
-
|
|
10165
|
+
|
|
10166
|
+
pattern: string
|
|
10167
|
+
|
|
9696
10168
|
flags?: string
|
|
9697
10169
|
} | string)[] | ({
|
|
9698
|
-
|
|
10170
|
+
|
|
10171
|
+
pattern: string
|
|
10172
|
+
|
|
9699
10173
|
flags?: string
|
|
9700
10174
|
} | string))
|
|
9701
10175
|
}[]
|
|
@@ -9708,10 +10182,9 @@ type PerfectionistSortJsxProps = {
|
|
|
9708
10182
|
order?: ("asc" | "desc")
|
|
9709
10183
|
|
|
9710
10184
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9711
|
-
[k: string]: unknown | undefined
|
|
9712
10185
|
}
|
|
9713
10186
|
|
|
9714
|
-
groupName
|
|
10187
|
+
groupName: string
|
|
9715
10188
|
|
|
9716
10189
|
order?: ("asc" | "desc")
|
|
9717
10190
|
|
|
@@ -9722,36 +10195,53 @@ type PerfectionistSortJsxProps = {
|
|
|
9722
10195
|
selector?: ("multiline" | "prop" | "shorthand")
|
|
9723
10196
|
|
|
9724
10197
|
elementValuePattern?: (({
|
|
9725
|
-
|
|
10198
|
+
|
|
10199
|
+
pattern: string
|
|
10200
|
+
|
|
9726
10201
|
flags?: string
|
|
9727
10202
|
} | string)[] | ({
|
|
9728
|
-
|
|
10203
|
+
|
|
10204
|
+
pattern: string
|
|
10205
|
+
|
|
9729
10206
|
flags?: string
|
|
9730
10207
|
} | string))
|
|
9731
10208
|
|
|
9732
10209
|
elementNamePattern?: (({
|
|
9733
|
-
|
|
10210
|
+
|
|
10211
|
+
pattern: string
|
|
10212
|
+
|
|
9734
10213
|
flags?: string
|
|
9735
10214
|
} | string)[] | ({
|
|
9736
|
-
|
|
10215
|
+
|
|
10216
|
+
pattern: string
|
|
10217
|
+
|
|
9737
10218
|
flags?: string
|
|
9738
10219
|
} | string))
|
|
9739
10220
|
})[])
|
|
10221
|
+
|
|
9740
10222
|
useConfigurationIf?: {
|
|
9741
10223
|
|
|
9742
10224
|
allNamesMatchPattern?: (({
|
|
9743
|
-
|
|
10225
|
+
|
|
10226
|
+
pattern: string
|
|
10227
|
+
|
|
9744
10228
|
flags?: string
|
|
9745
10229
|
} | string)[] | ({
|
|
9746
|
-
|
|
10230
|
+
|
|
10231
|
+
pattern: string
|
|
10232
|
+
|
|
9747
10233
|
flags?: string
|
|
9748
10234
|
} | string))
|
|
9749
10235
|
|
|
9750
10236
|
tagMatchesPattern?: (({
|
|
9751
|
-
|
|
10237
|
+
|
|
10238
|
+
pattern: string
|
|
10239
|
+
|
|
9752
10240
|
flags?: string
|
|
9753
10241
|
} | string)[] | ({
|
|
9754
|
-
|
|
10242
|
+
|
|
10243
|
+
pattern: string
|
|
10244
|
+
|
|
9755
10245
|
flags?: string
|
|
9756
10246
|
} | string))
|
|
9757
10247
|
}
|
|
@@ -9761,16 +10251,20 @@ type PerfectionistSortJsxProps = {
|
|
|
9761
10251
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9762
10252
|
|
|
9763
10253
|
ignorePattern?: (({
|
|
9764
|
-
|
|
10254
|
+
|
|
10255
|
+
pattern: string
|
|
10256
|
+
|
|
9765
10257
|
flags?: string
|
|
9766
10258
|
} | string)[] | ({
|
|
9767
|
-
|
|
10259
|
+
|
|
10260
|
+
pattern: string
|
|
10261
|
+
|
|
9768
10262
|
flags?: string
|
|
9769
10263
|
} | string))
|
|
9770
10264
|
|
|
9771
10265
|
groups?: (string | string[] | {
|
|
9772
10266
|
|
|
9773
|
-
newlinesBetween
|
|
10267
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9774
10268
|
})[]
|
|
9775
10269
|
}[]
|
|
9776
10270
|
// ----- perfectionist/sort-maps -----
|
|
@@ -9781,7 +10275,6 @@ type PerfectionistSortMaps = {
|
|
|
9781
10275
|
order?: ("asc" | "desc")
|
|
9782
10276
|
|
|
9783
10277
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9784
|
-
[k: string]: unknown | undefined
|
|
9785
10278
|
}
|
|
9786
10279
|
|
|
9787
10280
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9805,10 +10298,9 @@ type PerfectionistSortMaps = {
|
|
|
9805
10298
|
order?: ("asc" | "desc")
|
|
9806
10299
|
|
|
9807
10300
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9808
|
-
[k: string]: unknown | undefined
|
|
9809
10301
|
}
|
|
9810
10302
|
|
|
9811
|
-
groupName
|
|
10303
|
+
groupName: string
|
|
9812
10304
|
|
|
9813
10305
|
order?: ("asc" | "desc")
|
|
9814
10306
|
|
|
@@ -9816,10 +10308,14 @@ type PerfectionistSortMaps = {
|
|
|
9816
10308
|
anyOf?: {
|
|
9817
10309
|
|
|
9818
10310
|
elementNamePattern?: (({
|
|
9819
|
-
|
|
10311
|
+
|
|
10312
|
+
pattern: string
|
|
10313
|
+
|
|
9820
10314
|
flags?: string
|
|
9821
10315
|
} | string)[] | ({
|
|
9822
|
-
|
|
10316
|
+
|
|
10317
|
+
pattern: string
|
|
10318
|
+
|
|
9823
10319
|
flags?: string
|
|
9824
10320
|
} | string))
|
|
9825
10321
|
}[]
|
|
@@ -9832,53 +10328,75 @@ type PerfectionistSortMaps = {
|
|
|
9832
10328
|
order?: ("asc" | "desc")
|
|
9833
10329
|
|
|
9834
10330
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9835
|
-
[k: string]: unknown | undefined
|
|
9836
10331
|
}
|
|
9837
10332
|
|
|
9838
|
-
groupName
|
|
10333
|
+
groupName: string
|
|
9839
10334
|
|
|
9840
10335
|
order?: ("asc" | "desc")
|
|
9841
10336
|
|
|
9842
10337
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9843
10338
|
|
|
9844
10339
|
elementNamePattern?: (({
|
|
9845
|
-
|
|
10340
|
+
|
|
10341
|
+
pattern: string
|
|
10342
|
+
|
|
9846
10343
|
flags?: string
|
|
9847
10344
|
} | string)[] | ({
|
|
9848
|
-
|
|
10345
|
+
|
|
10346
|
+
pattern: string
|
|
10347
|
+
|
|
9849
10348
|
flags?: string
|
|
9850
10349
|
} | string))
|
|
9851
10350
|
})[]
|
|
10351
|
+
|
|
9852
10352
|
useConfigurationIf?: {
|
|
9853
10353
|
|
|
9854
10354
|
allNamesMatchPattern?: (({
|
|
9855
|
-
|
|
10355
|
+
|
|
10356
|
+
pattern: string
|
|
10357
|
+
|
|
9856
10358
|
flags?: string
|
|
9857
10359
|
} | string)[] | ({
|
|
9858
|
-
|
|
10360
|
+
|
|
10361
|
+
pattern: string
|
|
10362
|
+
|
|
9859
10363
|
flags?: string
|
|
9860
10364
|
} | string))
|
|
9861
10365
|
}
|
|
9862
10366
|
|
|
9863
10367
|
partitionByComment?: (boolean | (({
|
|
9864
|
-
|
|
10368
|
+
|
|
10369
|
+
pattern: string
|
|
10370
|
+
|
|
9865
10371
|
flags?: string
|
|
9866
10372
|
} | string)[] | ({
|
|
9867
|
-
|
|
10373
|
+
|
|
10374
|
+
pattern: string
|
|
10375
|
+
|
|
9868
10376
|
flags?: string
|
|
9869
10377
|
} | string)) | {
|
|
10378
|
+
|
|
9870
10379
|
block?: (boolean | (({
|
|
9871
|
-
|
|
10380
|
+
|
|
10381
|
+
pattern: string
|
|
10382
|
+
|
|
9872
10383
|
flags?: string
|
|
9873
10384
|
} | string)[] | ({
|
|
9874
|
-
|
|
10385
|
+
|
|
10386
|
+
pattern: string
|
|
10387
|
+
|
|
9875
10388
|
flags?: string
|
|
9876
10389
|
} | string)))
|
|
10390
|
+
|
|
9877
10391
|
line?: (boolean | (({
|
|
9878
|
-
|
|
10392
|
+
|
|
10393
|
+
pattern: string
|
|
10394
|
+
|
|
9879
10395
|
flags?: string
|
|
9880
10396
|
} | string)[] | ({
|
|
9881
|
-
|
|
10397
|
+
|
|
10398
|
+
pattern: string
|
|
10399
|
+
|
|
9882
10400
|
flags?: string
|
|
9883
10401
|
} | string)))
|
|
9884
10402
|
})
|
|
@@ -9889,7 +10407,7 @@ type PerfectionistSortMaps = {
|
|
|
9889
10407
|
|
|
9890
10408
|
groups?: (string | string[] | {
|
|
9891
10409
|
|
|
9892
|
-
newlinesBetween
|
|
10410
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9893
10411
|
})[]
|
|
9894
10412
|
}[]
|
|
9895
10413
|
// ----- perfectionist/sort-modules -----
|
|
@@ -9900,7 +10418,6 @@ type PerfectionistSortModules = []|[{
|
|
|
9900
10418
|
order?: ("asc" | "desc")
|
|
9901
10419
|
|
|
9902
10420
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9903
|
-
[k: string]: unknown | undefined
|
|
9904
10421
|
}
|
|
9905
10422
|
|
|
9906
10423
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9924,10 +10441,9 @@ type PerfectionistSortModules = []|[{
|
|
|
9924
10441
|
order?: ("asc" | "desc")
|
|
9925
10442
|
|
|
9926
10443
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9927
|
-
[k: string]: unknown | undefined
|
|
9928
10444
|
}
|
|
9929
10445
|
|
|
9930
|
-
groupName
|
|
10446
|
+
groupName: string
|
|
9931
10447
|
|
|
9932
10448
|
order?: ("asc" | "desc")
|
|
9933
10449
|
|
|
@@ -9939,18 +10455,26 @@ type PerfectionistSortModules = []|[{
|
|
|
9939
10455
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
9940
10456
|
|
|
9941
10457
|
decoratorNamePattern?: (({
|
|
9942
|
-
|
|
10458
|
+
|
|
10459
|
+
pattern: string
|
|
10460
|
+
|
|
9943
10461
|
flags?: string
|
|
9944
10462
|
} | string)[] | ({
|
|
9945
|
-
|
|
10463
|
+
|
|
10464
|
+
pattern: string
|
|
10465
|
+
|
|
9946
10466
|
flags?: string
|
|
9947
10467
|
} | string))
|
|
9948
10468
|
|
|
9949
10469
|
elementNamePattern?: (({
|
|
9950
|
-
|
|
10470
|
+
|
|
10471
|
+
pattern: string
|
|
10472
|
+
|
|
9951
10473
|
flags?: string
|
|
9952
10474
|
} | string)[] | ({
|
|
9953
|
-
|
|
10475
|
+
|
|
10476
|
+
pattern: string
|
|
10477
|
+
|
|
9954
10478
|
flags?: string
|
|
9955
10479
|
} | string))
|
|
9956
10480
|
}[]
|
|
@@ -9963,10 +10487,9 @@ type PerfectionistSortModules = []|[{
|
|
|
9963
10487
|
order?: ("asc" | "desc")
|
|
9964
10488
|
|
|
9965
10489
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9966
|
-
[k: string]: unknown | undefined
|
|
9967
10490
|
}
|
|
9968
10491
|
|
|
9969
|
-
groupName
|
|
10492
|
+
groupName: string
|
|
9970
10493
|
|
|
9971
10494
|
order?: ("asc" | "desc")
|
|
9972
10495
|
|
|
@@ -9977,41 +10500,63 @@ type PerfectionistSortModules = []|[{
|
|
|
9977
10500
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
9978
10501
|
|
|
9979
10502
|
decoratorNamePattern?: (({
|
|
9980
|
-
|
|
10503
|
+
|
|
10504
|
+
pattern: string
|
|
10505
|
+
|
|
9981
10506
|
flags?: string
|
|
9982
10507
|
} | string)[] | ({
|
|
9983
|
-
|
|
10508
|
+
|
|
10509
|
+
pattern: string
|
|
10510
|
+
|
|
9984
10511
|
flags?: string
|
|
9985
10512
|
} | string))
|
|
9986
10513
|
|
|
9987
10514
|
elementNamePattern?: (({
|
|
9988
|
-
|
|
10515
|
+
|
|
10516
|
+
pattern: string
|
|
10517
|
+
|
|
9989
10518
|
flags?: string
|
|
9990
10519
|
} | string)[] | ({
|
|
9991
|
-
|
|
10520
|
+
|
|
10521
|
+
pattern: string
|
|
10522
|
+
|
|
9992
10523
|
flags?: string
|
|
9993
10524
|
} | string))
|
|
9994
10525
|
})[]
|
|
9995
10526
|
|
|
9996
10527
|
partitionByComment?: (boolean | (({
|
|
9997
|
-
|
|
10528
|
+
|
|
10529
|
+
pattern: string
|
|
10530
|
+
|
|
9998
10531
|
flags?: string
|
|
9999
10532
|
} | string)[] | ({
|
|
10000
|
-
|
|
10533
|
+
|
|
10534
|
+
pattern: string
|
|
10535
|
+
|
|
10001
10536
|
flags?: string
|
|
10002
10537
|
} | string)) | {
|
|
10538
|
+
|
|
10003
10539
|
block?: (boolean | (({
|
|
10004
|
-
|
|
10540
|
+
|
|
10541
|
+
pattern: string
|
|
10542
|
+
|
|
10005
10543
|
flags?: string
|
|
10006
10544
|
} | string)[] | ({
|
|
10007
|
-
|
|
10545
|
+
|
|
10546
|
+
pattern: string
|
|
10547
|
+
|
|
10008
10548
|
flags?: string
|
|
10009
10549
|
} | string)))
|
|
10550
|
+
|
|
10010
10551
|
line?: (boolean | (({
|
|
10011
|
-
|
|
10552
|
+
|
|
10553
|
+
pattern: string
|
|
10554
|
+
|
|
10012
10555
|
flags?: string
|
|
10013
10556
|
} | string)[] | ({
|
|
10014
|
-
|
|
10557
|
+
|
|
10558
|
+
pattern: string
|
|
10559
|
+
|
|
10015
10560
|
flags?: string
|
|
10016
10561
|
} | string)))
|
|
10017
10562
|
})
|
|
@@ -10022,7 +10567,7 @@ type PerfectionistSortModules = []|[{
|
|
|
10022
10567
|
|
|
10023
10568
|
groups?: (string | string[] | {
|
|
10024
10569
|
|
|
10025
|
-
newlinesBetween
|
|
10570
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10026
10571
|
})[]
|
|
10027
10572
|
}]
|
|
10028
10573
|
// ----- perfectionist/sort-named-exports -----
|
|
@@ -10033,7 +10578,6 @@ type PerfectionistSortNamedExports = {
|
|
|
10033
10578
|
order?: ("asc" | "desc")
|
|
10034
10579
|
|
|
10035
10580
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10036
|
-
[k: string]: unknown | undefined
|
|
10037
10581
|
}
|
|
10038
10582
|
|
|
10039
10583
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10061,10 +10605,9 @@ type PerfectionistSortNamedExports = {
|
|
|
10061
10605
|
order?: ("asc" | "desc")
|
|
10062
10606
|
|
|
10063
10607
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10064
|
-
[k: string]: unknown | undefined
|
|
10065
10608
|
}
|
|
10066
10609
|
|
|
10067
|
-
groupName
|
|
10610
|
+
groupName: string
|
|
10068
10611
|
|
|
10069
10612
|
order?: ("asc" | "desc")
|
|
10070
10613
|
|
|
@@ -10076,10 +10619,14 @@ type PerfectionistSortNamedExports = {
|
|
|
10076
10619
|
selector?: "export"
|
|
10077
10620
|
|
|
10078
10621
|
elementNamePattern?: (({
|
|
10079
|
-
|
|
10622
|
+
|
|
10623
|
+
pattern: string
|
|
10624
|
+
|
|
10080
10625
|
flags?: string
|
|
10081
10626
|
} | string)[] | ({
|
|
10082
|
-
|
|
10627
|
+
|
|
10628
|
+
pattern: string
|
|
10629
|
+
|
|
10083
10630
|
flags?: string
|
|
10084
10631
|
} | string))
|
|
10085
10632
|
}[]
|
|
@@ -10092,10 +10639,9 @@ type PerfectionistSortNamedExports = {
|
|
|
10092
10639
|
order?: ("asc" | "desc")
|
|
10093
10640
|
|
|
10094
10641
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10095
|
-
[k: string]: unknown | undefined
|
|
10096
10642
|
}
|
|
10097
10643
|
|
|
10098
|
-
groupName
|
|
10644
|
+
groupName: string
|
|
10099
10645
|
|
|
10100
10646
|
order?: ("asc" | "desc")
|
|
10101
10647
|
|
|
@@ -10106,33 +10652,51 @@ type PerfectionistSortNamedExports = {
|
|
|
10106
10652
|
selector?: "export"
|
|
10107
10653
|
|
|
10108
10654
|
elementNamePattern?: (({
|
|
10109
|
-
|
|
10655
|
+
|
|
10656
|
+
pattern: string
|
|
10657
|
+
|
|
10110
10658
|
flags?: string
|
|
10111
10659
|
} | string)[] | ({
|
|
10112
|
-
|
|
10660
|
+
|
|
10661
|
+
pattern: string
|
|
10662
|
+
|
|
10113
10663
|
flags?: string
|
|
10114
10664
|
} | string))
|
|
10115
10665
|
})[]
|
|
10116
10666
|
|
|
10117
10667
|
partitionByComment?: (boolean | (({
|
|
10118
|
-
|
|
10668
|
+
|
|
10669
|
+
pattern: string
|
|
10670
|
+
|
|
10119
10671
|
flags?: string
|
|
10120
10672
|
} | string)[] | ({
|
|
10121
|
-
|
|
10673
|
+
|
|
10674
|
+
pattern: string
|
|
10675
|
+
|
|
10122
10676
|
flags?: string
|
|
10123
10677
|
} | string)) | {
|
|
10678
|
+
|
|
10124
10679
|
block?: (boolean | (({
|
|
10125
|
-
|
|
10680
|
+
|
|
10681
|
+
pattern: string
|
|
10682
|
+
|
|
10126
10683
|
flags?: string
|
|
10127
10684
|
} | string)[] | ({
|
|
10128
|
-
|
|
10685
|
+
|
|
10686
|
+
pattern: string
|
|
10687
|
+
|
|
10129
10688
|
flags?: string
|
|
10130
10689
|
} | string)))
|
|
10690
|
+
|
|
10131
10691
|
line?: (boolean | (({
|
|
10132
|
-
|
|
10692
|
+
|
|
10693
|
+
pattern: string
|
|
10694
|
+
|
|
10133
10695
|
flags?: string
|
|
10134
10696
|
} | string)[] | ({
|
|
10135
|
-
|
|
10697
|
+
|
|
10698
|
+
pattern: string
|
|
10699
|
+
|
|
10136
10700
|
flags?: string
|
|
10137
10701
|
} | string)))
|
|
10138
10702
|
})
|
|
@@ -10143,7 +10707,7 @@ type PerfectionistSortNamedExports = {
|
|
|
10143
10707
|
|
|
10144
10708
|
groups?: (string | string[] | {
|
|
10145
10709
|
|
|
10146
|
-
newlinesBetween
|
|
10710
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10147
10711
|
})[]
|
|
10148
10712
|
}[]
|
|
10149
10713
|
// ----- perfectionist/sort-named-imports -----
|
|
@@ -10154,7 +10718,6 @@ type PerfectionistSortNamedImports = {
|
|
|
10154
10718
|
order?: ("asc" | "desc")
|
|
10155
10719
|
|
|
10156
10720
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10157
|
-
[k: string]: unknown | undefined
|
|
10158
10721
|
}
|
|
10159
10722
|
|
|
10160
10723
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10182,10 +10745,9 @@ type PerfectionistSortNamedImports = {
|
|
|
10182
10745
|
order?: ("asc" | "desc")
|
|
10183
10746
|
|
|
10184
10747
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10185
|
-
[k: string]: unknown | undefined
|
|
10186
10748
|
}
|
|
10187
10749
|
|
|
10188
|
-
groupName
|
|
10750
|
+
groupName: string
|
|
10189
10751
|
|
|
10190
10752
|
order?: ("asc" | "desc")
|
|
10191
10753
|
|
|
@@ -10197,10 +10759,14 @@ type PerfectionistSortNamedImports = {
|
|
|
10197
10759
|
selector?: "import"
|
|
10198
10760
|
|
|
10199
10761
|
elementNamePattern?: (({
|
|
10200
|
-
|
|
10762
|
+
|
|
10763
|
+
pattern: string
|
|
10764
|
+
|
|
10201
10765
|
flags?: string
|
|
10202
10766
|
} | string)[] | ({
|
|
10203
|
-
|
|
10767
|
+
|
|
10768
|
+
pattern: string
|
|
10769
|
+
|
|
10204
10770
|
flags?: string
|
|
10205
10771
|
} | string))
|
|
10206
10772
|
}[]
|
|
@@ -10213,10 +10779,9 @@ type PerfectionistSortNamedImports = {
|
|
|
10213
10779
|
order?: ("asc" | "desc")
|
|
10214
10780
|
|
|
10215
10781
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10216
|
-
[k: string]: unknown | undefined
|
|
10217
10782
|
}
|
|
10218
10783
|
|
|
10219
|
-
groupName
|
|
10784
|
+
groupName: string
|
|
10220
10785
|
|
|
10221
10786
|
order?: ("asc" | "desc")
|
|
10222
10787
|
|
|
@@ -10227,33 +10792,51 @@ type PerfectionistSortNamedImports = {
|
|
|
10227
10792
|
selector?: "import"
|
|
10228
10793
|
|
|
10229
10794
|
elementNamePattern?: (({
|
|
10230
|
-
|
|
10795
|
+
|
|
10796
|
+
pattern: string
|
|
10797
|
+
|
|
10231
10798
|
flags?: string
|
|
10232
10799
|
} | string)[] | ({
|
|
10233
|
-
|
|
10800
|
+
|
|
10801
|
+
pattern: string
|
|
10802
|
+
|
|
10234
10803
|
flags?: string
|
|
10235
10804
|
} | string))
|
|
10236
10805
|
})[]
|
|
10237
10806
|
|
|
10238
10807
|
partitionByComment?: (boolean | (({
|
|
10239
|
-
|
|
10808
|
+
|
|
10809
|
+
pattern: string
|
|
10810
|
+
|
|
10240
10811
|
flags?: string
|
|
10241
10812
|
} | string)[] | ({
|
|
10242
|
-
|
|
10813
|
+
|
|
10814
|
+
pattern: string
|
|
10815
|
+
|
|
10243
10816
|
flags?: string
|
|
10244
10817
|
} | string)) | {
|
|
10818
|
+
|
|
10245
10819
|
block?: (boolean | (({
|
|
10246
|
-
|
|
10820
|
+
|
|
10821
|
+
pattern: string
|
|
10822
|
+
|
|
10247
10823
|
flags?: string
|
|
10248
10824
|
} | string)[] | ({
|
|
10249
|
-
|
|
10825
|
+
|
|
10826
|
+
pattern: string
|
|
10827
|
+
|
|
10250
10828
|
flags?: string
|
|
10251
10829
|
} | string)))
|
|
10830
|
+
|
|
10252
10831
|
line?: (boolean | (({
|
|
10253
|
-
|
|
10832
|
+
|
|
10833
|
+
pattern: string
|
|
10834
|
+
|
|
10254
10835
|
flags?: string
|
|
10255
10836
|
} | string)[] | ({
|
|
10256
|
-
|
|
10837
|
+
|
|
10838
|
+
pattern: string
|
|
10839
|
+
|
|
10257
10840
|
flags?: string
|
|
10258
10841
|
} | string)))
|
|
10259
10842
|
})
|
|
@@ -10264,7 +10847,7 @@ type PerfectionistSortNamedImports = {
|
|
|
10264
10847
|
|
|
10265
10848
|
groups?: (string | string[] | {
|
|
10266
10849
|
|
|
10267
|
-
newlinesBetween
|
|
10850
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10268
10851
|
})[]
|
|
10269
10852
|
}[]
|
|
10270
10853
|
// ----- perfectionist/sort-object-types -----
|
|
@@ -10275,7 +10858,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10275
10858
|
order?: ("asc" | "desc")
|
|
10276
10859
|
|
|
10277
10860
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10278
|
-
|
|
10861
|
+
sortBy?: ("name" | "value")
|
|
10279
10862
|
}
|
|
10280
10863
|
|
|
10281
10864
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10301,10 +10884,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
10301
10884
|
|
|
10302
10885
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10303
10886
|
sortBy?: ("name" | "value")
|
|
10304
|
-
[k: string]: unknown | undefined
|
|
10305
10887
|
}
|
|
10306
10888
|
|
|
10307
|
-
groupName
|
|
10889
|
+
groupName: string
|
|
10308
10890
|
|
|
10309
10891
|
order?: ("asc" | "desc")
|
|
10310
10892
|
|
|
@@ -10316,18 +10898,26 @@ type PerfectionistSortObjectTypes = {
|
|
|
10316
10898
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10317
10899
|
|
|
10318
10900
|
elementValuePattern?: (({
|
|
10319
|
-
|
|
10901
|
+
|
|
10902
|
+
pattern: string
|
|
10903
|
+
|
|
10320
10904
|
flags?: string
|
|
10321
10905
|
} | string)[] | ({
|
|
10322
|
-
|
|
10906
|
+
|
|
10907
|
+
pattern: string
|
|
10908
|
+
|
|
10323
10909
|
flags?: string
|
|
10324
10910
|
} | string))
|
|
10325
10911
|
|
|
10326
10912
|
elementNamePattern?: (({
|
|
10327
|
-
|
|
10913
|
+
|
|
10914
|
+
pattern: string
|
|
10915
|
+
|
|
10328
10916
|
flags?: string
|
|
10329
10917
|
} | string)[] | ({
|
|
10330
|
-
|
|
10918
|
+
|
|
10919
|
+
pattern: string
|
|
10920
|
+
|
|
10331
10921
|
flags?: string
|
|
10332
10922
|
} | string))
|
|
10333
10923
|
sortBy?: ("name" | "value")
|
|
@@ -10342,10 +10932,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
10342
10932
|
|
|
10343
10933
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10344
10934
|
sortBy?: ("name" | "value")
|
|
10345
|
-
[k: string]: unknown | undefined
|
|
10346
10935
|
}
|
|
10347
10936
|
|
|
10348
|
-
groupName
|
|
10937
|
+
groupName: string
|
|
10349
10938
|
|
|
10350
10939
|
order?: ("asc" | "desc")
|
|
10351
10940
|
|
|
@@ -10356,62 +10945,93 @@ type PerfectionistSortObjectTypes = {
|
|
|
10356
10945
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10357
10946
|
|
|
10358
10947
|
elementValuePattern?: (({
|
|
10359
|
-
|
|
10948
|
+
|
|
10949
|
+
pattern: string
|
|
10950
|
+
|
|
10360
10951
|
flags?: string
|
|
10361
10952
|
} | string)[] | ({
|
|
10362
|
-
|
|
10953
|
+
|
|
10954
|
+
pattern: string
|
|
10955
|
+
|
|
10363
10956
|
flags?: string
|
|
10364
10957
|
} | string))
|
|
10365
10958
|
|
|
10366
10959
|
elementNamePattern?: (({
|
|
10367
|
-
|
|
10960
|
+
|
|
10961
|
+
pattern: string
|
|
10962
|
+
|
|
10368
10963
|
flags?: string
|
|
10369
10964
|
} | string)[] | ({
|
|
10370
|
-
|
|
10965
|
+
|
|
10966
|
+
pattern: string
|
|
10967
|
+
|
|
10371
10968
|
flags?: string
|
|
10372
10969
|
} | string))
|
|
10373
10970
|
sortBy?: ("name" | "value")
|
|
10374
10971
|
})[])
|
|
10375
10972
|
|
|
10376
10973
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10974
|
+
|
|
10377
10975
|
useConfigurationIf?: {
|
|
10378
10976
|
|
|
10379
10977
|
allNamesMatchPattern?: (({
|
|
10380
|
-
|
|
10978
|
+
|
|
10979
|
+
pattern: string
|
|
10980
|
+
|
|
10381
10981
|
flags?: string
|
|
10382
10982
|
} | string)[] | ({
|
|
10383
|
-
|
|
10983
|
+
|
|
10984
|
+
pattern: string
|
|
10985
|
+
|
|
10384
10986
|
flags?: string
|
|
10385
10987
|
} | string))
|
|
10386
10988
|
|
|
10387
10989
|
declarationMatchesPattern?: (({
|
|
10388
|
-
|
|
10990
|
+
|
|
10991
|
+
pattern: string
|
|
10992
|
+
|
|
10389
10993
|
flags?: string
|
|
10390
10994
|
} | string)[] | ({
|
|
10391
|
-
|
|
10995
|
+
|
|
10996
|
+
pattern: string
|
|
10997
|
+
|
|
10392
10998
|
flags?: string
|
|
10393
10999
|
} | string))
|
|
10394
11000
|
}
|
|
10395
11001
|
|
|
10396
11002
|
partitionByComment?: (boolean | (({
|
|
10397
|
-
|
|
11003
|
+
|
|
11004
|
+
pattern: string
|
|
11005
|
+
|
|
10398
11006
|
flags?: string
|
|
10399
11007
|
} | string)[] | ({
|
|
10400
|
-
|
|
11008
|
+
|
|
11009
|
+
pattern: string
|
|
11010
|
+
|
|
10401
11011
|
flags?: string
|
|
10402
11012
|
} | string)) | {
|
|
11013
|
+
|
|
10403
11014
|
block?: (boolean | (({
|
|
10404
|
-
|
|
11015
|
+
|
|
11016
|
+
pattern: string
|
|
11017
|
+
|
|
10405
11018
|
flags?: string
|
|
10406
11019
|
} | string)[] | ({
|
|
10407
|
-
|
|
11020
|
+
|
|
11021
|
+
pattern: string
|
|
11022
|
+
|
|
10408
11023
|
flags?: string
|
|
10409
11024
|
} | string)))
|
|
11025
|
+
|
|
10410
11026
|
line?: (boolean | (({
|
|
10411
|
-
|
|
11027
|
+
|
|
11028
|
+
pattern: string
|
|
11029
|
+
|
|
10412
11030
|
flags?: string
|
|
10413
11031
|
} | string)[] | ({
|
|
10414
|
-
|
|
11032
|
+
|
|
11033
|
+
pattern: string
|
|
11034
|
+
|
|
10415
11035
|
flags?: string
|
|
10416
11036
|
} | string)))
|
|
10417
11037
|
})
|
|
@@ -10421,17 +11041,21 @@ type PerfectionistSortObjectTypes = {
|
|
|
10421
11041
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10422
11042
|
|
|
10423
11043
|
ignorePattern?: (({
|
|
10424
|
-
|
|
11044
|
+
|
|
11045
|
+
pattern: string
|
|
11046
|
+
|
|
10425
11047
|
flags?: string
|
|
10426
11048
|
} | string)[] | ({
|
|
10427
|
-
|
|
11049
|
+
|
|
11050
|
+
pattern: string
|
|
11051
|
+
|
|
10428
11052
|
flags?: string
|
|
10429
11053
|
} | string))
|
|
10430
11054
|
sortBy?: ("name" | "value")
|
|
10431
11055
|
|
|
10432
11056
|
groups?: (string | string[] | {
|
|
10433
11057
|
|
|
10434
|
-
newlinesBetween
|
|
11058
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10435
11059
|
})[]
|
|
10436
11060
|
}[]
|
|
10437
11061
|
// ----- perfectionist/sort-objects -----
|
|
@@ -10442,7 +11066,6 @@ type PerfectionistSortObjects = {
|
|
|
10442
11066
|
order?: ("asc" | "desc")
|
|
10443
11067
|
|
|
10444
11068
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10445
|
-
[k: string]: unknown | undefined
|
|
10446
11069
|
}
|
|
10447
11070
|
|
|
10448
11071
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10472,10 +11095,9 @@ type PerfectionistSortObjects = {
|
|
|
10472
11095
|
order?: ("asc" | "desc")
|
|
10473
11096
|
|
|
10474
11097
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10475
|
-
[k: string]: unknown | undefined
|
|
10476
11098
|
}
|
|
10477
11099
|
|
|
10478
|
-
groupName
|
|
11100
|
+
groupName: string
|
|
10479
11101
|
|
|
10480
11102
|
order?: ("asc" | "desc")
|
|
10481
11103
|
|
|
@@ -10487,18 +11109,26 @@ type PerfectionistSortObjects = {
|
|
|
10487
11109
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
10488
11110
|
|
|
10489
11111
|
elementValuePattern?: (({
|
|
10490
|
-
|
|
11112
|
+
|
|
11113
|
+
pattern: string
|
|
11114
|
+
|
|
10491
11115
|
flags?: string
|
|
10492
11116
|
} | string)[] | ({
|
|
10493
|
-
|
|
11117
|
+
|
|
11118
|
+
pattern: string
|
|
11119
|
+
|
|
10494
11120
|
flags?: string
|
|
10495
11121
|
} | string))
|
|
10496
11122
|
|
|
10497
11123
|
elementNamePattern?: (({
|
|
10498
|
-
|
|
11124
|
+
|
|
11125
|
+
pattern: string
|
|
11126
|
+
|
|
10499
11127
|
flags?: string
|
|
10500
11128
|
} | string)[] | ({
|
|
10501
|
-
|
|
11129
|
+
|
|
11130
|
+
pattern: string
|
|
11131
|
+
|
|
10502
11132
|
flags?: string
|
|
10503
11133
|
} | string))
|
|
10504
11134
|
}[]
|
|
@@ -10511,10 +11141,9 @@ type PerfectionistSortObjects = {
|
|
|
10511
11141
|
order?: ("asc" | "desc")
|
|
10512
11142
|
|
|
10513
11143
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10514
|
-
[k: string]: unknown | undefined
|
|
10515
11144
|
}
|
|
10516
11145
|
|
|
10517
|
-
groupName
|
|
11146
|
+
groupName: string
|
|
10518
11147
|
|
|
10519
11148
|
order?: ("asc" | "desc")
|
|
10520
11149
|
|
|
@@ -10525,36 +11154,53 @@ type PerfectionistSortObjects = {
|
|
|
10525
11154
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
10526
11155
|
|
|
10527
11156
|
elementValuePattern?: (({
|
|
10528
|
-
|
|
11157
|
+
|
|
11158
|
+
pattern: string
|
|
11159
|
+
|
|
10529
11160
|
flags?: string
|
|
10530
11161
|
} | string)[] | ({
|
|
10531
|
-
|
|
11162
|
+
|
|
11163
|
+
pattern: string
|
|
11164
|
+
|
|
10532
11165
|
flags?: string
|
|
10533
11166
|
} | string))
|
|
10534
11167
|
|
|
10535
11168
|
elementNamePattern?: (({
|
|
10536
|
-
|
|
11169
|
+
|
|
11170
|
+
pattern: string
|
|
11171
|
+
|
|
10537
11172
|
flags?: string
|
|
10538
11173
|
} | string)[] | ({
|
|
10539
|
-
|
|
11174
|
+
|
|
11175
|
+
pattern: string
|
|
11176
|
+
|
|
10540
11177
|
flags?: string
|
|
10541
11178
|
} | string))
|
|
10542
11179
|
})[])
|
|
11180
|
+
|
|
10543
11181
|
useConfigurationIf?: {
|
|
10544
11182
|
|
|
10545
11183
|
allNamesMatchPattern?: (({
|
|
10546
|
-
|
|
11184
|
+
|
|
11185
|
+
pattern: string
|
|
11186
|
+
|
|
10547
11187
|
flags?: string
|
|
10548
11188
|
} | string)[] | ({
|
|
10549
|
-
|
|
11189
|
+
|
|
11190
|
+
pattern: string
|
|
11191
|
+
|
|
10550
11192
|
flags?: string
|
|
10551
11193
|
} | string))
|
|
10552
11194
|
|
|
10553
11195
|
callingFunctionNamePattern?: (({
|
|
10554
|
-
|
|
11196
|
+
|
|
11197
|
+
pattern: string
|
|
11198
|
+
|
|
10555
11199
|
flags?: string
|
|
10556
11200
|
} | string)[] | ({
|
|
10557
|
-
|
|
11201
|
+
|
|
11202
|
+
pattern: string
|
|
11203
|
+
|
|
10558
11204
|
flags?: string
|
|
10559
11205
|
} | string))
|
|
10560
11206
|
}
|
|
@@ -10566,24 +11212,38 @@ type PerfectionistSortObjects = {
|
|
|
10566
11212
|
styledComponents?: boolean
|
|
10567
11213
|
|
|
10568
11214
|
partitionByComment?: (boolean | (({
|
|
10569
|
-
|
|
11215
|
+
|
|
11216
|
+
pattern: string
|
|
11217
|
+
|
|
10570
11218
|
flags?: string
|
|
10571
11219
|
} | string)[] | ({
|
|
10572
|
-
|
|
11220
|
+
|
|
11221
|
+
pattern: string
|
|
11222
|
+
|
|
10573
11223
|
flags?: string
|
|
10574
11224
|
} | string)) | {
|
|
11225
|
+
|
|
10575
11226
|
block?: (boolean | (({
|
|
10576
|
-
|
|
11227
|
+
|
|
11228
|
+
pattern: string
|
|
11229
|
+
|
|
10577
11230
|
flags?: string
|
|
10578
11231
|
} | string)[] | ({
|
|
10579
|
-
|
|
11232
|
+
|
|
11233
|
+
pattern: string
|
|
11234
|
+
|
|
10580
11235
|
flags?: string
|
|
10581
11236
|
} | string)))
|
|
11237
|
+
|
|
10582
11238
|
line?: (boolean | (({
|
|
10583
|
-
|
|
11239
|
+
|
|
11240
|
+
pattern: string
|
|
11241
|
+
|
|
10584
11242
|
flags?: string
|
|
10585
11243
|
} | string)[] | ({
|
|
10586
|
-
|
|
11244
|
+
|
|
11245
|
+
pattern: string
|
|
11246
|
+
|
|
10587
11247
|
flags?: string
|
|
10588
11248
|
} | string)))
|
|
10589
11249
|
})
|
|
@@ -10593,16 +11253,20 @@ type PerfectionistSortObjects = {
|
|
|
10593
11253
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10594
11254
|
|
|
10595
11255
|
ignorePattern?: (({
|
|
10596
|
-
|
|
11256
|
+
|
|
11257
|
+
pattern: string
|
|
11258
|
+
|
|
10597
11259
|
flags?: string
|
|
10598
11260
|
} | string)[] | ({
|
|
10599
|
-
|
|
11261
|
+
|
|
11262
|
+
pattern: string
|
|
11263
|
+
|
|
10600
11264
|
flags?: string
|
|
10601
11265
|
} | string))
|
|
10602
11266
|
|
|
10603
11267
|
groups?: (string | string[] | {
|
|
10604
11268
|
|
|
10605
|
-
newlinesBetween
|
|
11269
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10606
11270
|
})[]
|
|
10607
11271
|
}[]
|
|
10608
11272
|
// ----- perfectionist/sort-sets -----
|
|
@@ -10613,7 +11277,6 @@ type PerfectionistSortSets = {
|
|
|
10613
11277
|
order?: ("asc" | "desc")
|
|
10614
11278
|
|
|
10615
11279
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10616
|
-
[k: string]: unknown | undefined
|
|
10617
11280
|
}
|
|
10618
11281
|
|
|
10619
11282
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10639,10 +11302,9 @@ type PerfectionistSortSets = {
|
|
|
10639
11302
|
order?: ("asc" | "desc")
|
|
10640
11303
|
|
|
10641
11304
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10642
|
-
[k: string]: unknown | undefined
|
|
10643
11305
|
}
|
|
10644
11306
|
|
|
10645
|
-
groupName
|
|
11307
|
+
groupName: string
|
|
10646
11308
|
|
|
10647
11309
|
order?: ("asc" | "desc")
|
|
10648
11310
|
|
|
@@ -10652,10 +11314,14 @@ type PerfectionistSortSets = {
|
|
|
10652
11314
|
selector?: ("literal" | "spread")
|
|
10653
11315
|
|
|
10654
11316
|
elementNamePattern?: (({
|
|
10655
|
-
|
|
11317
|
+
|
|
11318
|
+
pattern: string
|
|
11319
|
+
|
|
10656
11320
|
flags?: string
|
|
10657
11321
|
} | string)[] | ({
|
|
10658
|
-
|
|
11322
|
+
|
|
11323
|
+
pattern: string
|
|
11324
|
+
|
|
10659
11325
|
flags?: string
|
|
10660
11326
|
} | string))
|
|
10661
11327
|
}[]
|
|
@@ -10668,10 +11334,9 @@ type PerfectionistSortSets = {
|
|
|
10668
11334
|
order?: ("asc" | "desc")
|
|
10669
11335
|
|
|
10670
11336
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10671
|
-
[k: string]: unknown | undefined
|
|
10672
11337
|
}
|
|
10673
11338
|
|
|
10674
|
-
groupName
|
|
11339
|
+
groupName: string
|
|
10675
11340
|
|
|
10676
11341
|
order?: ("asc" | "desc")
|
|
10677
11342
|
|
|
@@ -10680,43 +11345,66 @@ type PerfectionistSortSets = {
|
|
|
10680
11345
|
selector?: ("literal" | "spread")
|
|
10681
11346
|
|
|
10682
11347
|
elementNamePattern?: (({
|
|
10683
|
-
|
|
11348
|
+
|
|
11349
|
+
pattern: string
|
|
11350
|
+
|
|
10684
11351
|
flags?: string
|
|
10685
11352
|
} | string)[] | ({
|
|
10686
|
-
|
|
11353
|
+
|
|
11354
|
+
pattern: string
|
|
11355
|
+
|
|
10687
11356
|
flags?: string
|
|
10688
11357
|
} | string))
|
|
10689
11358
|
})[]
|
|
11359
|
+
|
|
10690
11360
|
useConfigurationIf?: {
|
|
10691
11361
|
|
|
10692
11362
|
allNamesMatchPattern?: (({
|
|
10693
|
-
|
|
11363
|
+
|
|
11364
|
+
pattern: string
|
|
11365
|
+
|
|
10694
11366
|
flags?: string
|
|
10695
11367
|
} | string)[] | ({
|
|
10696
|
-
|
|
11368
|
+
|
|
11369
|
+
pattern: string
|
|
11370
|
+
|
|
10697
11371
|
flags?: string
|
|
10698
11372
|
} | string))
|
|
10699
11373
|
}
|
|
10700
11374
|
|
|
10701
11375
|
partitionByComment?: (boolean | (({
|
|
10702
|
-
|
|
11376
|
+
|
|
11377
|
+
pattern: string
|
|
11378
|
+
|
|
10703
11379
|
flags?: string
|
|
10704
11380
|
} | string)[] | ({
|
|
10705
|
-
|
|
11381
|
+
|
|
11382
|
+
pattern: string
|
|
11383
|
+
|
|
10706
11384
|
flags?: string
|
|
10707
11385
|
} | string)) | {
|
|
11386
|
+
|
|
10708
11387
|
block?: (boolean | (({
|
|
10709
|
-
|
|
11388
|
+
|
|
11389
|
+
pattern: string
|
|
11390
|
+
|
|
10710
11391
|
flags?: string
|
|
10711
11392
|
} | string)[] | ({
|
|
10712
|
-
|
|
11393
|
+
|
|
11394
|
+
pattern: string
|
|
11395
|
+
|
|
10713
11396
|
flags?: string
|
|
10714
11397
|
} | string)))
|
|
11398
|
+
|
|
10715
11399
|
line?: (boolean | (({
|
|
10716
|
-
|
|
11400
|
+
|
|
11401
|
+
pattern: string
|
|
11402
|
+
|
|
10717
11403
|
flags?: string
|
|
10718
11404
|
} | string)[] | ({
|
|
10719
|
-
|
|
11405
|
+
|
|
11406
|
+
pattern: string
|
|
11407
|
+
|
|
10720
11408
|
flags?: string
|
|
10721
11409
|
} | string)))
|
|
10722
11410
|
})
|
|
@@ -10727,7 +11415,7 @@ type PerfectionistSortSets = {
|
|
|
10727
11415
|
|
|
10728
11416
|
groups?: (string | string[] | {
|
|
10729
11417
|
|
|
10730
|
-
newlinesBetween
|
|
11418
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10731
11419
|
})[]
|
|
10732
11420
|
}[]
|
|
10733
11421
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -10738,7 +11426,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10738
11426
|
order?: ("asc" | "desc")
|
|
10739
11427
|
|
|
10740
11428
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10741
|
-
[k: string]: unknown | undefined
|
|
10742
11429
|
}
|
|
10743
11430
|
|
|
10744
11431
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10754,14 +11441,13 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10754
11441
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10755
11442
|
}]
|
|
10756
11443
|
// ----- perfectionist/sort-union-types -----
|
|
10757
|
-
type PerfectionistSortUnionTypes =
|
|
11444
|
+
type PerfectionistSortUnionTypes = {
|
|
10758
11445
|
|
|
10759
11446
|
fallbackSort?: {
|
|
10760
11447
|
|
|
10761
11448
|
order?: ("asc" | "desc")
|
|
10762
11449
|
|
|
10763
11450
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10764
|
-
[k: string]: unknown | undefined
|
|
10765
11451
|
}
|
|
10766
11452
|
|
|
10767
11453
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10776,25 +11462,103 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10776
11462
|
|
|
10777
11463
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10778
11464
|
|
|
11465
|
+
customGroups?: ({
|
|
11466
|
+
|
|
11467
|
+
newlinesInside?: ("always" | "never")
|
|
11468
|
+
|
|
11469
|
+
fallbackSort?: {
|
|
11470
|
+
|
|
11471
|
+
order?: ("asc" | "desc")
|
|
11472
|
+
|
|
11473
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11474
|
+
}
|
|
11475
|
+
|
|
11476
|
+
groupName: string
|
|
11477
|
+
|
|
11478
|
+
order?: ("asc" | "desc")
|
|
11479
|
+
|
|
11480
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11481
|
+
anyOf?: {
|
|
11482
|
+
|
|
11483
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
11484
|
+
|
|
11485
|
+
elementNamePattern?: (({
|
|
11486
|
+
|
|
11487
|
+
pattern: string
|
|
11488
|
+
|
|
11489
|
+
flags?: string
|
|
11490
|
+
} | string)[] | ({
|
|
11491
|
+
|
|
11492
|
+
pattern: string
|
|
11493
|
+
|
|
11494
|
+
flags?: string
|
|
11495
|
+
} | string))
|
|
11496
|
+
}[]
|
|
11497
|
+
} | {
|
|
11498
|
+
|
|
11499
|
+
newlinesInside?: ("always" | "never")
|
|
11500
|
+
|
|
11501
|
+
fallbackSort?: {
|
|
11502
|
+
|
|
11503
|
+
order?: ("asc" | "desc")
|
|
11504
|
+
|
|
11505
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11506
|
+
}
|
|
11507
|
+
|
|
11508
|
+
groupName: string
|
|
11509
|
+
|
|
11510
|
+
order?: ("asc" | "desc")
|
|
11511
|
+
|
|
11512
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11513
|
+
|
|
11514
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
11515
|
+
|
|
11516
|
+
elementNamePattern?: (({
|
|
11517
|
+
|
|
11518
|
+
pattern: string
|
|
11519
|
+
|
|
11520
|
+
flags?: string
|
|
11521
|
+
} | string)[] | ({
|
|
11522
|
+
|
|
11523
|
+
pattern: string
|
|
11524
|
+
|
|
11525
|
+
flags?: string
|
|
11526
|
+
} | string))
|
|
11527
|
+
})[]
|
|
11528
|
+
|
|
10779
11529
|
partitionByComment?: (boolean | (({
|
|
10780
|
-
|
|
11530
|
+
|
|
11531
|
+
pattern: string
|
|
11532
|
+
|
|
10781
11533
|
flags?: string
|
|
10782
11534
|
} | string)[] | ({
|
|
10783
|
-
|
|
11535
|
+
|
|
11536
|
+
pattern: string
|
|
11537
|
+
|
|
10784
11538
|
flags?: string
|
|
10785
11539
|
} | string)) | {
|
|
11540
|
+
|
|
10786
11541
|
block?: (boolean | (({
|
|
10787
|
-
|
|
11542
|
+
|
|
11543
|
+
pattern: string
|
|
11544
|
+
|
|
10788
11545
|
flags?: string
|
|
10789
11546
|
} | string)[] | ({
|
|
10790
|
-
|
|
11547
|
+
|
|
11548
|
+
pattern: string
|
|
11549
|
+
|
|
10791
11550
|
flags?: string
|
|
10792
11551
|
} | string)))
|
|
11552
|
+
|
|
10793
11553
|
line?: (boolean | (({
|
|
10794
|
-
|
|
11554
|
+
|
|
11555
|
+
pattern: string
|
|
11556
|
+
|
|
10795
11557
|
flags?: string
|
|
10796
11558
|
} | string)[] | ({
|
|
10797
|
-
|
|
11559
|
+
|
|
11560
|
+
pattern: string
|
|
11561
|
+
|
|
10798
11562
|
flags?: string
|
|
10799
11563
|
} | string)))
|
|
10800
11564
|
})
|
|
@@ -10805,9 +11569,9 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10805
11569
|
|
|
10806
11570
|
groups?: (string | string[] | {
|
|
10807
11571
|
|
|
10808
|
-
newlinesBetween
|
|
11572
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10809
11573
|
})[]
|
|
10810
|
-
}]
|
|
11574
|
+
}[]
|
|
10811
11575
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10812
11576
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10813
11577
|
|
|
@@ -10816,7 +11580,6 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10816
11580
|
order?: ("asc" | "desc")
|
|
10817
11581
|
|
|
10818
11582
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10819
|
-
[k: string]: unknown | undefined
|
|
10820
11583
|
}
|
|
10821
11584
|
|
|
10822
11585
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10831,30 +11594,115 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10831
11594
|
|
|
10832
11595
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10833
11596
|
|
|
11597
|
+
customGroups?: ({
|
|
11598
|
+
|
|
11599
|
+
newlinesInside?: ("always" | "never")
|
|
11600
|
+
|
|
11601
|
+
fallbackSort?: {
|
|
11602
|
+
|
|
11603
|
+
order?: ("asc" | "desc")
|
|
11604
|
+
|
|
11605
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11606
|
+
}
|
|
11607
|
+
|
|
11608
|
+
groupName: string
|
|
11609
|
+
|
|
11610
|
+
order?: ("asc" | "desc")
|
|
11611
|
+
|
|
11612
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11613
|
+
anyOf?: {
|
|
11614
|
+
|
|
11615
|
+
selector?: ("initialized" | "uninitialized")
|
|
11616
|
+
|
|
11617
|
+
elementNamePattern?: (({
|
|
11618
|
+
|
|
11619
|
+
pattern: string
|
|
11620
|
+
|
|
11621
|
+
flags?: string
|
|
11622
|
+
} | string)[] | ({
|
|
11623
|
+
|
|
11624
|
+
pattern: string
|
|
11625
|
+
|
|
11626
|
+
flags?: string
|
|
11627
|
+
} | string))
|
|
11628
|
+
}[]
|
|
11629
|
+
} | {
|
|
11630
|
+
|
|
11631
|
+
newlinesInside?: ("always" | "never")
|
|
11632
|
+
|
|
11633
|
+
fallbackSort?: {
|
|
11634
|
+
|
|
11635
|
+
order?: ("asc" | "desc")
|
|
11636
|
+
|
|
11637
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11638
|
+
}
|
|
11639
|
+
|
|
11640
|
+
groupName: string
|
|
11641
|
+
|
|
11642
|
+
order?: ("asc" | "desc")
|
|
11643
|
+
|
|
11644
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11645
|
+
|
|
11646
|
+
selector?: ("initialized" | "uninitialized")
|
|
11647
|
+
|
|
11648
|
+
elementNamePattern?: (({
|
|
11649
|
+
|
|
11650
|
+
pattern: string
|
|
11651
|
+
|
|
11652
|
+
flags?: string
|
|
11653
|
+
} | string)[] | ({
|
|
11654
|
+
|
|
11655
|
+
pattern: string
|
|
11656
|
+
|
|
11657
|
+
flags?: string
|
|
11658
|
+
} | string))
|
|
11659
|
+
})[]
|
|
11660
|
+
|
|
10834
11661
|
partitionByComment?: (boolean | (({
|
|
10835
|
-
|
|
11662
|
+
|
|
11663
|
+
pattern: string
|
|
11664
|
+
|
|
10836
11665
|
flags?: string
|
|
10837
11666
|
} | string)[] | ({
|
|
10838
|
-
|
|
11667
|
+
|
|
11668
|
+
pattern: string
|
|
11669
|
+
|
|
10839
11670
|
flags?: string
|
|
10840
11671
|
} | string)) | {
|
|
11672
|
+
|
|
10841
11673
|
block?: (boolean | (({
|
|
10842
|
-
|
|
11674
|
+
|
|
11675
|
+
pattern: string
|
|
11676
|
+
|
|
10843
11677
|
flags?: string
|
|
10844
11678
|
} | string)[] | ({
|
|
10845
|
-
|
|
11679
|
+
|
|
11680
|
+
pattern: string
|
|
11681
|
+
|
|
10846
11682
|
flags?: string
|
|
10847
11683
|
} | string)))
|
|
11684
|
+
|
|
10848
11685
|
line?: (boolean | (({
|
|
10849
|
-
|
|
11686
|
+
|
|
11687
|
+
pattern: string
|
|
11688
|
+
|
|
10850
11689
|
flags?: string
|
|
10851
11690
|
} | string)[] | ({
|
|
10852
|
-
|
|
11691
|
+
|
|
11692
|
+
pattern: string
|
|
11693
|
+
|
|
10853
11694
|
flags?: string
|
|
10854
11695
|
} | string)))
|
|
10855
11696
|
})
|
|
10856
11697
|
|
|
10857
11698
|
partitionByNewLine?: boolean
|
|
11699
|
+
|
|
11700
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11701
|
+
|
|
11702
|
+
groups?: (string | string[] | {
|
|
11703
|
+
|
|
11704
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11705
|
+
})[]
|
|
10858
11706
|
}]
|
|
10859
11707
|
// ----- prefer-arrow-callback -----
|
|
10860
11708
|
type PreferArrowCallback = []|[{
|
|
@@ -11331,10 +12179,6 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
11331
12179
|
interface _UnicornImportStyle_BooleanObject {
|
|
11332
12180
|
[k: string]: boolean | undefined
|
|
11333
12181
|
}
|
|
11334
|
-
// ----- unicorn/no-array-push-push -----
|
|
11335
|
-
type UnicornNoArrayPushPush = []|[{
|
|
11336
|
-
ignore?: unknown[]
|
|
11337
|
-
}]
|
|
11338
12182
|
// ----- unicorn/no-array-reduce -----
|
|
11339
12183
|
type UnicornNoArrayReduce = []|[{
|
|
11340
12184
|
allowSimpleOperations?: boolean
|
|
@@ -11430,6 +12274,10 @@ type UnicornPreferNumberProperties = []|[{
|
|
|
11430
12274
|
type UnicornPreferObjectFromEntries = []|[{
|
|
11431
12275
|
functions?: unknown[]
|
|
11432
12276
|
}]
|
|
12277
|
+
// ----- unicorn/prefer-single-call -----
|
|
12278
|
+
type UnicornPreferSingleCall = []|[{
|
|
12279
|
+
ignore?: unknown[]
|
|
12280
|
+
}]
|
|
11433
12281
|
// ----- unicorn/prefer-structured-clone -----
|
|
11434
12282
|
type UnicornPreferStructuredClone = []|[{
|
|
11435
12283
|
functions?: unknown[]
|