@ncontiero/eslint-config 5.1.1 → 6.0.0
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/README.md +1 -1
- package/dist/index.d.ts +1782 -587
- package/dist/index.js +1 -1
- package/package.json +37 -37
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,11 @@ interface RuleOptions {
|
|
|
19
19
|
* @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
|
|
20
20
|
*/
|
|
21
21
|
'@tanstack/query/infinite-query-property-order'?: Linter.RuleEntry<[]>
|
|
22
|
+
/**
|
|
23
|
+
* Ensure correct order of inference-sensitive properties in useMutation()
|
|
24
|
+
* @see https://tanstack.com/query/latest/docs/eslint/mutation-property-order
|
|
25
|
+
*/
|
|
26
|
+
'@tanstack/query/mutation-property-order'?: Linter.RuleEntry<[]>
|
|
22
27
|
/**
|
|
23
28
|
* Disallows rest destructuring in queries
|
|
24
29
|
* @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
|
|
@@ -29,6 +34,11 @@ interface RuleOptions {
|
|
|
29
34
|
* @see https://tanstack.com/query/latest/docs/eslint/no-unstable-deps
|
|
30
35
|
*/
|
|
31
36
|
'@tanstack/query/no-unstable-deps'?: Linter.RuleEntry<[]>
|
|
37
|
+
/**
|
|
38
|
+
* Ensures queryFn returns a non-undefined value
|
|
39
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-void-query-fn
|
|
40
|
+
*/
|
|
41
|
+
'@tanstack/query/no-void-query-fn'?: Linter.RuleEntry<[]>
|
|
32
42
|
/**
|
|
33
43
|
* Makes sure that QueryClient is stable
|
|
34
44
|
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
@@ -412,6 +422,11 @@ interface RuleOptions {
|
|
|
412
422
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
413
423
|
*/
|
|
414
424
|
'@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
425
|
+
/**
|
|
426
|
+
* Disallow conversion idioms when they do not change the type or value of the expression
|
|
427
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-conversion
|
|
428
|
+
*/
|
|
429
|
+
'@typescript-eslint/no-unnecessary-type-conversion'?: Linter.RuleEntry<[]>
|
|
415
430
|
/**
|
|
416
431
|
* Disallow type parameters that aren't used multiple times
|
|
417
432
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
@@ -673,6 +688,7 @@ interface RuleOptions {
|
|
|
673
688
|
/**
|
|
674
689
|
* Require type annotations in certain places
|
|
675
690
|
* @see https://typescript-eslint.io/rules/typedef
|
|
691
|
+
* @deprecated
|
|
676
692
|
*/
|
|
677
693
|
'@typescript-eslint/typedef'?: Linter.RuleEntry<TypescriptEslintTypedef>
|
|
678
694
|
/**
|
|
@@ -1074,233 +1090,238 @@ interface RuleOptions {
|
|
|
1074
1090
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1075
1091
|
/**
|
|
1076
1092
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1077
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1093
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
|
|
1078
1094
|
*/
|
|
1079
1095
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1080
1096
|
/**
|
|
1081
1097
|
* Ensure a default export is present, given a default import.
|
|
1082
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1098
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
|
|
1083
1099
|
*/
|
|
1084
1100
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1085
1101
|
/**
|
|
1086
1102
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1087
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1103
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
|
|
1088
1104
|
*/
|
|
1089
1105
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1090
1106
|
/**
|
|
1091
1107
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1092
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1108
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
|
|
1093
1109
|
*/
|
|
1094
1110
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1095
1111
|
/**
|
|
1096
1112
|
* Ensure all exports appear after other statements.
|
|
1097
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1113
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
|
|
1098
1114
|
*/
|
|
1099
1115
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1100
1116
|
/**
|
|
1101
1117
|
* Ensure consistent use of file extension within the import path.
|
|
1102
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1118
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
|
|
1103
1119
|
*/
|
|
1104
1120
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1105
1121
|
/**
|
|
1106
1122
|
* Ensure all imports appear before other statements.
|
|
1107
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1123
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
|
|
1108
1124
|
*/
|
|
1109
1125
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1110
1126
|
/**
|
|
1111
1127
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1112
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1128
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
|
|
1113
1129
|
*/
|
|
1114
1130
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1115
1131
|
/**
|
|
1116
1132
|
* Replaced by `import-x/first`.
|
|
1117
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1133
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
|
|
1118
1134
|
* @deprecated
|
|
1119
1135
|
*/
|
|
1120
1136
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1121
1137
|
/**
|
|
1122
1138
|
* Enforce the maximum number of dependencies a module can have.
|
|
1123
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1139
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
|
|
1124
1140
|
*/
|
|
1125
1141
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1126
1142
|
/**
|
|
1127
1143
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1128
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1144
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
|
|
1129
1145
|
*/
|
|
1130
1146
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1131
1147
|
/**
|
|
1132
1148
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1133
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1149
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
|
|
1134
1150
|
*/
|
|
1135
1151
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1136
1152
|
/**
|
|
1137
1153
|
* Enforce a newline after import statements.
|
|
1138
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1154
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
|
|
1139
1155
|
*/
|
|
1140
1156
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1141
1157
|
/**
|
|
1142
1158
|
* Forbid import of modules using absolute paths.
|
|
1143
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1159
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
|
|
1144
1160
|
*/
|
|
1145
1161
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1146
1162
|
/**
|
|
1147
1163
|
* Forbid AMD `require` and `define` calls.
|
|
1148
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1164
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
|
|
1149
1165
|
*/
|
|
1150
1166
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1151
1167
|
/**
|
|
1152
1168
|
* Forbid anonymous values as default exports.
|
|
1153
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1169
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
|
|
1154
1170
|
*/
|
|
1155
1171
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1156
1172
|
/**
|
|
1157
1173
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1158
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1174
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
|
|
1159
1175
|
*/
|
|
1160
1176
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1161
1177
|
/**
|
|
1162
1178
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1163
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1179
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
|
|
1164
1180
|
*/
|
|
1165
1181
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1166
1182
|
/**
|
|
1167
1183
|
* Forbid default exports.
|
|
1168
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1184
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
|
|
1169
1185
|
*/
|
|
1170
1186
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1171
1187
|
/**
|
|
1172
1188
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1173
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1189
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
|
|
1174
1190
|
*/
|
|
1175
1191
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1176
1192
|
/**
|
|
1177
1193
|
* Forbid repeated import of the same module in multiple places.
|
|
1178
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1194
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
|
|
1179
1195
|
*/
|
|
1180
1196
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1181
1197
|
/**
|
|
1182
1198
|
* Forbid `require()` calls with expressions.
|
|
1183
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1199
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
|
|
1184
1200
|
*/
|
|
1185
1201
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1186
1202
|
/**
|
|
1187
1203
|
* Forbid empty named import blocks.
|
|
1188
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1204
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
|
|
1189
1205
|
*/
|
|
1190
1206
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1191
1207
|
/**
|
|
1192
1208
|
* Forbid the use of extraneous packages.
|
|
1193
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1209
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
|
|
1194
1210
|
*/
|
|
1195
1211
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1196
1212
|
/**
|
|
1197
1213
|
* Forbid import statements with CommonJS module.exports.
|
|
1198
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1214
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
|
|
1199
1215
|
*/
|
|
1200
1216
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1201
1217
|
/**
|
|
1202
1218
|
* Forbid importing the submodules of other modules.
|
|
1203
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1219
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
|
|
1204
1220
|
*/
|
|
1205
1221
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1206
1222
|
/**
|
|
1207
1223
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1208
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1224
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
|
|
1209
1225
|
*/
|
|
1210
1226
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1211
1227
|
/**
|
|
1212
1228
|
* Forbid use of exported name as identifier of default export.
|
|
1213
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1229
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
|
|
1214
1230
|
*/
|
|
1215
1231
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1216
1232
|
/**
|
|
1217
1233
|
* Forbid use of exported name as property of default export.
|
|
1218
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1234
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
|
|
1219
1235
|
*/
|
|
1220
1236
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1221
1237
|
/**
|
|
1222
1238
|
* Forbid named default exports.
|
|
1223
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1239
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
|
|
1224
1240
|
*/
|
|
1225
1241
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1226
1242
|
/**
|
|
1227
1243
|
* Forbid named exports.
|
|
1228
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1244
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
|
|
1229
1245
|
*/
|
|
1230
1246
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1231
1247
|
/**
|
|
1232
1248
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1233
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1249
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
|
|
1234
1250
|
*/
|
|
1235
1251
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1236
1252
|
/**
|
|
1237
1253
|
* Forbid Node.js builtin modules.
|
|
1238
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1254
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
|
|
1239
1255
|
*/
|
|
1240
1256
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1241
1257
|
/**
|
|
1242
1258
|
* Forbid importing packages through relative paths.
|
|
1243
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1259
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
|
|
1244
1260
|
*/
|
|
1245
1261
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1246
1262
|
/**
|
|
1247
1263
|
* Forbid importing modules from parent directories.
|
|
1248
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1264
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
|
|
1249
1265
|
*/
|
|
1250
1266
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1251
1267
|
/**
|
|
1252
1268
|
* Forbid importing a default export by a different name.
|
|
1253
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1269
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
|
|
1254
1270
|
*/
|
|
1255
1271
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1256
1272
|
/**
|
|
1257
1273
|
* Enforce which files can be imported in a given folder.
|
|
1258
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1274
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
|
|
1259
1275
|
*/
|
|
1260
1276
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1261
1277
|
/**
|
|
1262
1278
|
* Forbid a module from importing itself.
|
|
1263
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1279
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
|
|
1264
1280
|
*/
|
|
1265
1281
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1266
1282
|
/**
|
|
1267
1283
|
* Forbid unassigned imports.
|
|
1268
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1284
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
|
|
1269
1285
|
*/
|
|
1270
1286
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1271
1287
|
/**
|
|
1272
1288
|
* Ensure imports point to a file/module that can be resolved.
|
|
1273
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1289
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
|
|
1274
1290
|
*/
|
|
1275
1291
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1276
1292
|
/**
|
|
1277
1293
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1278
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1294
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
|
|
1279
1295
|
*/
|
|
1280
1296
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1281
1297
|
/**
|
|
1282
1298
|
* Forbid unnecessary path segments in import and require statements.
|
|
1283
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1299
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
|
|
1284
1300
|
*/
|
|
1285
1301
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1286
1302
|
/**
|
|
1287
1303
|
* Forbid webpack loader syntax in imports.
|
|
1288
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1304
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
|
|
1289
1305
|
*/
|
|
1290
1306
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1291
1307
|
/**
|
|
1292
1308
|
* Enforce a convention in module import order.
|
|
1293
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1309
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
|
|
1294
1310
|
*/
|
|
1295
1311
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1296
1312
|
/**
|
|
1297
1313
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1298
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1314
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
|
|
1299
1315
|
*/
|
|
1300
1316
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1317
|
+
/**
|
|
1318
|
+
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
1319
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
|
|
1320
|
+
*/
|
|
1321
|
+
'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>
|
|
1301
1322
|
/**
|
|
1302
1323
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1303
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1324
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
|
|
1304
1325
|
*/
|
|
1305
1326
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1306
1327
|
/**
|
|
@@ -1774,7 +1795,7 @@ interface RuleOptions {
|
|
|
1774
1795
|
* disallow unnecessary escape usage
|
|
1775
1796
|
* @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-useless-escape.html
|
|
1776
1797
|
*/
|
|
1777
|
-
'jsonc/no-useless-escape'?: Linter.RuleEntry<
|
|
1798
|
+
'jsonc/no-useless-escape'?: Linter.RuleEntry<JsoncNoUselessEscape>
|
|
1778
1799
|
/**
|
|
1779
1800
|
* enforce consistent line breaks inside braces
|
|
1780
1801
|
* @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-newline.html
|
|
@@ -2078,32 +2099,89 @@ interface RuleOptions {
|
|
|
2078
2099
|
'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
|
|
2079
2100
|
/**
|
|
2080
2101
|
* Require languages for fenced code blocks
|
|
2102
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
|
|
2081
2103
|
*/
|
|
2082
2104
|
'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
|
|
2083
2105
|
/**
|
|
2084
2106
|
* Enforce heading levels increment by one
|
|
2107
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
2085
2108
|
*/
|
|
2086
2109
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>
|
|
2110
|
+
/**
|
|
2111
|
+
* Disallow bare URLs
|
|
2112
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
2113
|
+
*/
|
|
2114
|
+
'markdown/no-bare-urls'?: Linter.RuleEntry<[]>
|
|
2115
|
+
/**
|
|
2116
|
+
* Disallow duplicate definitions
|
|
2117
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
|
|
2118
|
+
*/
|
|
2119
|
+
'markdown/no-duplicate-definitions'?: Linter.RuleEntry<MarkdownNoDuplicateDefinitions>
|
|
2087
2120
|
/**
|
|
2088
2121
|
* Disallow duplicate headings in the same document
|
|
2122
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
2123
|
+
*/
|
|
2124
|
+
'markdown/no-duplicate-headings'?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>
|
|
2125
|
+
/**
|
|
2126
|
+
* Disallow empty definitions
|
|
2127
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
|
|
2128
|
+
*/
|
|
2129
|
+
'markdown/no-empty-definitions'?: Linter.RuleEntry<[]>
|
|
2130
|
+
/**
|
|
2131
|
+
* Disallow empty images
|
|
2132
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-images.md
|
|
2089
2133
|
*/
|
|
2090
|
-
'markdown/no-
|
|
2134
|
+
'markdown/no-empty-images'?: Linter.RuleEntry<[]>
|
|
2091
2135
|
/**
|
|
2092
2136
|
* Disallow empty links
|
|
2137
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
2093
2138
|
*/
|
|
2094
2139
|
'markdown/no-empty-links'?: Linter.RuleEntry<[]>
|
|
2095
2140
|
/**
|
|
2096
2141
|
* Disallow HTML tags
|
|
2142
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
|
|
2097
2143
|
*/
|
|
2098
2144
|
'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
|
|
2099
2145
|
/**
|
|
2100
2146
|
* Disallow invalid label references
|
|
2147
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
|
|
2101
2148
|
*/
|
|
2102
2149
|
'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
2150
|
+
/**
|
|
2151
|
+
* Disallow headings without a space after the hash characters
|
|
2152
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md
|
|
2153
|
+
*/
|
|
2154
|
+
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<[]>
|
|
2103
2155
|
/**
|
|
2104
2156
|
* Disallow missing label references
|
|
2157
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
2105
2158
|
*/
|
|
2106
2159
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
2160
|
+
/**
|
|
2161
|
+
* Disallow link fragments that do not reference valid headings
|
|
2162
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
2163
|
+
*/
|
|
2164
|
+
'markdown/no-missing-link-fragments'?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>
|
|
2165
|
+
/**
|
|
2166
|
+
* Disallow multiple H1 headings in the same document
|
|
2167
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
2168
|
+
*/
|
|
2169
|
+
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>
|
|
2170
|
+
/**
|
|
2171
|
+
* Disallow reversed link and image syntax
|
|
2172
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
2173
|
+
*/
|
|
2174
|
+
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>
|
|
2175
|
+
/**
|
|
2176
|
+
* Require alternative text for images
|
|
2177
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
|
|
2178
|
+
*/
|
|
2179
|
+
'markdown/require-alt-text'?: Linter.RuleEntry<[]>
|
|
2180
|
+
/**
|
|
2181
|
+
* Disallow data rows in a GitHub Flavored Markdown table from having more cells than the header row
|
|
2182
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/table-column-count.md
|
|
2183
|
+
*/
|
|
2184
|
+
'markdown/table-column-count'?: Linter.RuleEntry<[]>
|
|
2107
2185
|
/**
|
|
2108
2186
|
* Enforce a maximum number of classes per file
|
|
2109
2187
|
* @see https://eslint.org/docs/latest/rules/max-classes-per-file
|
|
@@ -2886,7 +2964,7 @@ interface RuleOptions {
|
|
|
2886
2964
|
* Disallow identifiers from shadowing restricted names
|
|
2887
2965
|
* @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
|
|
2888
2966
|
*/
|
|
2889
|
-
'no-shadow-restricted-names'?: Linter.RuleEntry<
|
|
2967
|
+
'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
|
|
2890
2968
|
/**
|
|
2891
2969
|
* Disallow spacing between function identifiers and their applications (deprecated)
|
|
2892
2970
|
* @see https://eslint.org/docs/latest/rules/no-spaced-func
|
|
@@ -2936,6 +3014,11 @@ interface RuleOptions {
|
|
|
2936
3014
|
* @deprecated
|
|
2937
3015
|
*/
|
|
2938
3016
|
'no-trailing-spaces'?: Linter.RuleEntry<NoTrailingSpaces>
|
|
3017
|
+
/**
|
|
3018
|
+
* Disallow `let` or `var` variables that are read but never assigned
|
|
3019
|
+
* @see https://eslint.org/docs/latest/rules/no-unassigned-vars
|
|
3020
|
+
*/
|
|
3021
|
+
'no-unassigned-vars'?: Linter.RuleEntry<[]>
|
|
2939
3022
|
/**
|
|
2940
3023
|
* Disallow the use of undeclared variables unless mentioned in `/*global *\/` comments
|
|
2941
3024
|
* @see https://eslint.org/docs/latest/rules/no-undef
|
|
@@ -3060,7 +3143,7 @@ interface RuleOptions {
|
|
|
3060
3143
|
* Disallow unnecessary escape characters
|
|
3061
3144
|
* @see https://eslint.org/docs/latest/rules/no-useless-escape
|
|
3062
3145
|
*/
|
|
3063
|
-
'no-useless-escape'?: Linter.RuleEntry<
|
|
3146
|
+
'no-useless-escape'?: Linter.RuleEntry<NoUselessEscape>
|
|
3064
3147
|
/**
|
|
3065
3148
|
* Disallow renaming import, export, and destructured assignments to the same name
|
|
3066
3149
|
* @see https://eslint.org/docs/latest/rules/no-useless-rename
|
|
@@ -3208,6 +3291,11 @@ interface RuleOptions {
|
|
|
3208
3291
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-sync.md
|
|
3209
3292
|
*/
|
|
3210
3293
|
'node/no-sync'?: Linter.RuleEntry<NodeNoSync>
|
|
3294
|
+
/**
|
|
3295
|
+
* disallow top-level `await` in published modules
|
|
3296
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-top-level-await.md
|
|
3297
|
+
*/
|
|
3298
|
+
'node/no-top-level-await'?: Linter.RuleEntry<NodeNoTopLevelAwait>
|
|
3211
3299
|
/**
|
|
3212
3300
|
* disallow `bin` files that npm ignores
|
|
3213
3301
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
|
|
@@ -4481,7 +4569,7 @@ interface RuleOptions {
|
|
|
4481
4569
|
* enforce using quantifier
|
|
4482
4570
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
4483
4571
|
*/
|
|
4484
|
-
'regexp/prefer-quantifier'?: Linter.RuleEntry<
|
|
4572
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<RegexpPreferQuantifier>
|
|
4485
4573
|
/**
|
|
4486
4574
|
* enforce using `?` quantifier
|
|
4487
4575
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
@@ -4858,643 +4946,670 @@ interface RuleOptions {
|
|
|
4858
4946
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4859
4947
|
/**
|
|
4860
4948
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4861
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
|
|
4862
4950
|
*/
|
|
4863
4951
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4864
4952
|
/**
|
|
4865
4953
|
* Enforce a specific parameter name in catch clauses.
|
|
4866
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
|
|
4867
4955
|
*/
|
|
4868
4956
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4869
4957
|
/**
|
|
4870
4958
|
* Enforce consistent assertion style with `node:assert`.
|
|
4871
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
|
|
4872
4960
|
*/
|
|
4873
4961
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
4874
4962
|
/**
|
|
4875
4963
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4876
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
|
|
4877
4965
|
*/
|
|
4878
4966
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
4879
4967
|
/**
|
|
4880
4968
|
* Use destructured variables over properties.
|
|
4881
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
|
|
4882
4970
|
*/
|
|
4883
4971
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4884
4972
|
/**
|
|
4885
4973
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4886
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4887
4975
|
*/
|
|
4888
4976
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4889
4977
|
/**
|
|
4890
4978
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4891
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
|
|
4892
4980
|
*/
|
|
4893
4981
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4894
4982
|
/**
|
|
4895
4983
|
* Move function definitions to the highest possible scope.
|
|
4896
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
|
|
4897
4985
|
*/
|
|
4898
4986
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4899
4987
|
/**
|
|
4900
4988
|
* Enforce correct `Error` subclassing.
|
|
4901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
|
|
4902
4990
|
*/
|
|
4903
4991
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4904
4992
|
/**
|
|
4905
4993
|
* Enforce no spaces between braces.
|
|
4906
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
|
|
4907
4995
|
*/
|
|
4908
4996
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4909
4997
|
/**
|
|
4910
4998
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
|
|
4912
5000
|
*/
|
|
4913
5001
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4914
5002
|
/**
|
|
4915
5003
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
|
|
4917
5005
|
*/
|
|
4918
5006
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
4919
5007
|
/**
|
|
4920
5008
|
* Add expiration conditions to TODO comments.
|
|
4921
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
|
|
4922
5010
|
*/
|
|
4923
5011
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4924
5012
|
/**
|
|
4925
5013
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4926
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
|
|
4927
5015
|
*/
|
|
4928
5016
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4929
5017
|
/**
|
|
4930
5018
|
* Enforce a case style for filenames.
|
|
4931
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
|
|
4932
5020
|
*/
|
|
4933
5021
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4934
5022
|
/**
|
|
4935
5023
|
* Enforce specific import styles per module.
|
|
4936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
|
|
4937
5025
|
*/
|
|
4938
5026
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4939
5027
|
/**
|
|
4940
5028
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4941
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
|
|
4942
5030
|
*/
|
|
4943
5031
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4944
5032
|
/**
|
|
4945
5033
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4946
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
4947
5035
|
*/
|
|
4948
5036
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4949
5037
|
/**
|
|
4950
5038
|
* Disallow recursive access to `this` within getters and setters.
|
|
4951
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
|
|
4952
5040
|
*/
|
|
4953
5041
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
4954
5042
|
/**
|
|
4955
5043
|
* Disallow anonymous functions and classes as the default export.
|
|
4956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
|
|
4957
5045
|
*/
|
|
4958
5046
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4959
5047
|
/**
|
|
4960
5048
|
* Prevent passing a function reference directly to iterator methods.
|
|
4961
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
|
|
4962
5050
|
*/
|
|
4963
5051
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4964
5052
|
/**
|
|
4965
5053
|
* Prefer `for…of` over the `forEach` method.
|
|
4966
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
|
|
4967
5055
|
*/
|
|
4968
5056
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4969
5057
|
/**
|
|
4970
5058
|
* Disallow using the `this` argument in array methods.
|
|
4971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
|
|
4972
5060
|
*/
|
|
4973
5061
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4974
5062
|
/**
|
|
4975
|
-
*
|
|
4976
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5063
|
+
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
|
|
5065
|
+
* @deprecated
|
|
4977
5066
|
*/
|
|
4978
|
-
'unicorn/no-array-push-push'?: Linter.RuleEntry<
|
|
5067
|
+
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
|
|
4979
5068
|
/**
|
|
4980
5069
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5070
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
|
|
4982
5071
|
*/
|
|
4983
5072
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4984
5073
|
/**
|
|
4985
5074
|
* Disallow member access from await expression.
|
|
4986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5075
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
|
|
4987
5076
|
*/
|
|
4988
5077
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4989
5078
|
/**
|
|
4990
5079
|
* Disallow using `await` in `Promise` method parameters.
|
|
4991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4992
5081
|
*/
|
|
4993
5082
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4994
5083
|
/**
|
|
4995
5084
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4996
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5085
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
|
|
4997
5086
|
*/
|
|
4998
5087
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4999
5088
|
/**
|
|
5000
5089
|
* Do not use `document.cookie` directly.
|
|
5001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
|
|
5002
5091
|
*/
|
|
5003
5092
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5004
5093
|
/**
|
|
5005
5094
|
* Disallow empty files.
|
|
5006
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5095
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
|
|
5007
5096
|
*/
|
|
5008
5097
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5009
5098
|
/**
|
|
5010
5099
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5011
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5100
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
|
|
5012
5101
|
*/
|
|
5013
5102
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5014
5103
|
/**
|
|
5015
5104
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5016
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5105
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
|
|
5017
5106
|
*/
|
|
5018
5107
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5019
5108
|
/**
|
|
5020
5109
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5110
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
|
|
5022
5111
|
* @deprecated
|
|
5023
5112
|
*/
|
|
5024
5113
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5025
5114
|
/**
|
|
5026
5115
|
* Disallow `instanceof` with built-in objects
|
|
5027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
|
|
5028
5117
|
*/
|
|
5029
5118
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
5030
5119
|
/**
|
|
5031
5120
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
|
|
5033
5122
|
*/
|
|
5034
5123
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5035
5124
|
/**
|
|
5036
5125
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
5038
5127
|
*/
|
|
5039
5128
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5040
5129
|
/**
|
|
5041
5130
|
* Disallow identifiers starting with `new` or `class`.
|
|
5042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
|
|
5043
5132
|
*/
|
|
5044
5133
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5045
5134
|
/**
|
|
5046
|
-
*
|
|
5047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5135
|
+
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5137
|
+
* @deprecated
|
|
5048
5138
|
*/
|
|
5049
5139
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5050
5140
|
/**
|
|
5051
5141
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
|
|
5053
5143
|
*/
|
|
5054
5144
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5055
5145
|
/**
|
|
5056
5146
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
5058
5148
|
*/
|
|
5059
5149
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5060
5150
|
/**
|
|
5061
5151
|
* Disallow named usage of default import and export.
|
|
5062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
|
|
5063
5153
|
*/
|
|
5064
5154
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
5065
5155
|
/**
|
|
5066
5156
|
* Disallow negated conditions.
|
|
5067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
|
|
5068
5158
|
*/
|
|
5069
5159
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5070
5160
|
/**
|
|
5071
5161
|
* Disallow negated expression in equality check.
|
|
5072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5162
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
|
|
5073
5163
|
*/
|
|
5074
5164
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5075
5165
|
/**
|
|
5076
5166
|
* Disallow nested ternary expressions.
|
|
5077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5167
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
|
|
5078
5168
|
*/
|
|
5079
5169
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5080
5170
|
/**
|
|
5081
5171
|
* Disallow `new Array()`.
|
|
5082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5172
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
|
|
5083
5173
|
*/
|
|
5084
5174
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5085
5175
|
/**
|
|
5086
5176
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
|
|
5088
5178
|
*/
|
|
5089
5179
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5090
5180
|
/**
|
|
5091
5181
|
* Disallow the use of the `null` literal.
|
|
5092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5182
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
|
|
5093
5183
|
*/
|
|
5094
5184
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5095
5185
|
/**
|
|
5096
5186
|
* Disallow the use of objects as default parameters.
|
|
5097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
|
|
5098
5188
|
*/
|
|
5099
5189
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5100
5190
|
/**
|
|
5101
5191
|
* Disallow `process.exit()`.
|
|
5102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
|
|
5103
5193
|
*/
|
|
5104
5194
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5105
5195
|
/**
|
|
5106
5196
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
5108
5198
|
*/
|
|
5109
5199
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5110
5200
|
/**
|
|
5111
5201
|
* Disallow classes that only have static members.
|
|
5112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
|
|
5113
5203
|
*/
|
|
5114
5204
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5115
5205
|
/**
|
|
5116
5206
|
* Disallow `then` property.
|
|
5117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
|
|
5118
5208
|
*/
|
|
5119
5209
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5120
5210
|
/**
|
|
5121
5211
|
* Disallow assigning `this` to a variable.
|
|
5122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5212
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
|
|
5123
5213
|
*/
|
|
5124
5214
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5125
5215
|
/**
|
|
5126
5216
|
* Disallow comparing `undefined` using `typeof`.
|
|
5127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
|
|
5128
5218
|
*/
|
|
5129
5219
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5220
|
+
/**
|
|
5221
|
+
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5223
|
+
*/
|
|
5224
|
+
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5225
|
+
/**
|
|
5226
|
+
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
|
|
5228
|
+
*/
|
|
5229
|
+
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
|
|
5130
5230
|
/**
|
|
5131
5231
|
* Disallow awaiting non-promise values.
|
|
5132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
|
|
5133
5233
|
*/
|
|
5134
5234
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5135
5235
|
/**
|
|
5136
5236
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
5138
5238
|
*/
|
|
5139
5239
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5240
|
+
/**
|
|
5241
|
+
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
|
|
5243
|
+
*/
|
|
5244
|
+
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
|
|
5140
5245
|
/**
|
|
5141
5246
|
* Disallow unreadable array destructuring.
|
|
5142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
5143
5248
|
*/
|
|
5144
5249
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5145
5250
|
/**
|
|
5146
5251
|
* Disallow unreadable IIFEs.
|
|
5147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
|
|
5148
5253
|
*/
|
|
5149
5254
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5150
5255
|
/**
|
|
5151
5256
|
* Disallow unused object properties.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
|
|
5153
5258
|
*/
|
|
5154
5259
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5155
5260
|
/**
|
|
5156
5261
|
* Disallow useless fallback when spreading in object literals.
|
|
5157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
5158
5263
|
*/
|
|
5159
5264
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5160
5265
|
/**
|
|
5161
5266
|
* Disallow useless array length check.
|
|
5162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
|
|
5163
5268
|
*/
|
|
5164
5269
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5165
5270
|
/**
|
|
5166
5271
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
5168
5273
|
*/
|
|
5169
5274
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5170
5275
|
/**
|
|
5171
5276
|
* Disallow unnecessary spread.
|
|
5172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
|
|
5173
5278
|
*/
|
|
5174
5279
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5175
5280
|
/**
|
|
5176
5281
|
* Disallow useless case in switch statements.
|
|
5177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
|
|
5178
5283
|
*/
|
|
5179
5284
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5180
5285
|
/**
|
|
5181
5286
|
* Disallow useless `undefined`.
|
|
5182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
|
|
5183
5288
|
*/
|
|
5184
5289
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5185
5290
|
/**
|
|
5186
5291
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5292
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
|
|
5188
5293
|
*/
|
|
5189
5294
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5190
5295
|
/**
|
|
5191
5296
|
* Enforce proper case for numeric literals.
|
|
5192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
|
|
5193
5298
|
*/
|
|
5194
5299
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
5195
5300
|
/**
|
|
5196
5301
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5302
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
|
|
5198
5303
|
*/
|
|
5199
5304
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5200
5305
|
/**
|
|
5201
5306
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5307
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
|
|
5203
5308
|
*/
|
|
5204
5309
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5205
5310
|
/**
|
|
5206
5311
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5312
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
|
|
5208
5313
|
*/
|
|
5209
5314
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5210
5315
|
/**
|
|
5211
5316
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5317
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
|
|
5213
5318
|
*/
|
|
5214
5319
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5215
5320
|
/**
|
|
5216
5321
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5322
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
|
|
5218
5323
|
*/
|
|
5219
5324
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5220
5325
|
/**
|
|
5221
5326
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5327
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
|
|
5223
5328
|
*/
|
|
5224
5329
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5225
5330
|
/**
|
|
5226
5331
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
|
|
5228
5333
|
*/
|
|
5229
5334
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5230
5335
|
/**
|
|
5231
5336
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
|
|
5233
5338
|
*/
|
|
5234
5339
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5235
5340
|
/**
|
|
5236
5341
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
5238
5343
|
*/
|
|
5239
5344
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5240
5345
|
/**
|
|
5241
5346
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
|
|
5243
5348
|
*/
|
|
5244
5349
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5245
5350
|
/**
|
|
5246
5351
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
|
|
5248
5353
|
*/
|
|
5249
5354
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5250
5355
|
/**
|
|
5251
5356
|
* Prefer default parameters over reassignment.
|
|
5252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
|
|
5253
5358
|
*/
|
|
5254
5359
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5255
5360
|
/**
|
|
5256
5361
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
|
|
5258
5363
|
*/
|
|
5259
5364
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5260
5365
|
/**
|
|
5261
5366
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
5263
5368
|
*/
|
|
5264
5369
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5265
5370
|
/**
|
|
5266
5371
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
|
|
5268
5373
|
*/
|
|
5269
5374
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5270
5375
|
/**
|
|
5271
5376
|
* Prefer `.textContent` over `.innerText`.
|
|
5272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5377
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
5273
5378
|
*/
|
|
5274
5379
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5275
5380
|
/**
|
|
5276
5381
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
|
|
5278
5383
|
*/
|
|
5279
5384
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5280
5385
|
/**
|
|
5281
5386
|
* Prefer `export…from` when re-exporting.
|
|
5282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
|
|
5283
5388
|
*/
|
|
5284
5389
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5285
5390
|
/**
|
|
5286
5391
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
|
|
5288
5393
|
*/
|
|
5289
5394
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5395
|
+
/**
|
|
5396
|
+
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
|
|
5398
|
+
*/
|
|
5399
|
+
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
|
|
5290
5400
|
/**
|
|
5291
5401
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
|
|
5293
5403
|
*/
|
|
5294
5404
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5295
5405
|
/**
|
|
5296
5406
|
* Prefer reading a JSON file as a buffer.
|
|
5297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
5298
5408
|
*/
|
|
5299
5409
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5300
5410
|
/**
|
|
5301
5411
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
5303
5413
|
*/
|
|
5304
5414
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5305
5415
|
/**
|
|
5306
5416
|
* Prefer using a logical operator over a ternary.
|
|
5307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5308
5418
|
*/
|
|
5309
5419
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5310
5420
|
/**
|
|
5311
5421
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
|
|
5313
5423
|
*/
|
|
5314
5424
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
5315
5425
|
/**
|
|
5316
5426
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
|
|
5318
5428
|
*/
|
|
5319
5429
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5320
5430
|
/**
|
|
5321
5431
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
5323
5433
|
*/
|
|
5324
5434
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5325
5435
|
/**
|
|
5326
5436
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
|
|
5328
5438
|
*/
|
|
5329
5439
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5330
5440
|
/**
|
|
5331
5441
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
|
|
5333
5443
|
*/
|
|
5334
5444
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5335
5445
|
/**
|
|
5336
5446
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5447
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
5338
5448
|
*/
|
|
5339
5449
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5340
5450
|
/**
|
|
5341
5451
|
* Prefer negative index over `.length - index` when possible.
|
|
5342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5452
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
|
|
5343
5453
|
*/
|
|
5344
5454
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5345
5455
|
/**
|
|
5346
5456
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5457
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
|
|
5348
5458
|
*/
|
|
5349
5459
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5350
5460
|
/**
|
|
5351
5461
|
* Prefer `Number` static properties over global ones.
|
|
5352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
|
|
5353
5463
|
*/
|
|
5354
5464
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5355
5465
|
/**
|
|
5356
5466
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
|
|
5358
5468
|
*/
|
|
5359
5469
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5360
5470
|
/**
|
|
5361
5471
|
* Prefer omitting the `catch` binding parameter.
|
|
5362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
5363
5473
|
*/
|
|
5364
5474
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5365
5475
|
/**
|
|
5366
5476
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
|
|
5368
5478
|
*/
|
|
5369
5479
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5370
5480
|
/**
|
|
5371
5481
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
|
|
5373
5483
|
*/
|
|
5374
5484
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5375
5485
|
/**
|
|
5376
5486
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
|
|
5378
5488
|
*/
|
|
5379
5489
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5380
5490
|
/**
|
|
5381
5491
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
|
|
5383
5493
|
*/
|
|
5384
5494
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5385
5495
|
/**
|
|
5386
5496
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
|
|
5388
5498
|
*/
|
|
5389
5499
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5390
5500
|
/**
|
|
5391
5501
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
|
|
5393
5503
|
*/
|
|
5394
5504
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5505
|
+
/**
|
|
5506
|
+
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
|
|
5508
|
+
*/
|
|
5509
|
+
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
|
|
5395
5510
|
/**
|
|
5396
5511
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
|
|
5398
5513
|
*/
|
|
5399
5514
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5400
5515
|
/**
|
|
5401
5516
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
|
|
5403
5518
|
*/
|
|
5404
5519
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5405
5520
|
/**
|
|
5406
5521
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
|
|
5408
5523
|
*/
|
|
5409
5524
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5410
5525
|
/**
|
|
5411
5526
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
|
|
5413
5528
|
*/
|
|
5414
5529
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5415
5530
|
/**
|
|
5416
5531
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
5418
5533
|
*/
|
|
5419
5534
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5420
5535
|
/**
|
|
5421
5536
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
5423
5538
|
*/
|
|
5424
5539
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5425
5540
|
/**
|
|
5426
5541
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
|
|
5428
5543
|
*/
|
|
5429
5544
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5430
5545
|
/**
|
|
5431
5546
|
* Prefer `switch` over multiple `else-if`.
|
|
5432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
|
|
5433
5548
|
*/
|
|
5434
5549
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5435
5550
|
/**
|
|
5436
5551
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
|
|
5438
5553
|
*/
|
|
5439
5554
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5440
5555
|
/**
|
|
5441
5556
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
|
|
5443
5558
|
*/
|
|
5444
5559
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5445
5560
|
/**
|
|
5446
5561
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
|
|
5448
5563
|
*/
|
|
5449
5564
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5450
5565
|
/**
|
|
5451
5566
|
* Prevent abbreviations.
|
|
5452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
|
|
5453
5568
|
*/
|
|
5454
5569
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5455
5570
|
/**
|
|
5456
5571
|
* Enforce consistent relative URL style.
|
|
5457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
|
|
5458
5573
|
*/
|
|
5459
5574
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5460
5575
|
/**
|
|
5461
5576
|
* Enforce using the separator argument with `Array#join()`.
|
|
5462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
|
|
5463
5578
|
*/
|
|
5464
5579
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5465
5580
|
/**
|
|
5466
5581
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5468
5583
|
*/
|
|
5469
5584
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5470
5585
|
/**
|
|
5471
5586
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
|
|
5473
5588
|
*/
|
|
5474
5589
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5475
5590
|
/**
|
|
5476
5591
|
* Enforce better string content.
|
|
5477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
|
|
5478
5593
|
*/
|
|
5479
5594
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5480
5595
|
/**
|
|
5481
5596
|
* Enforce consistent brace style for `case` clauses.
|
|
5482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
|
|
5483
5598
|
*/
|
|
5484
5599
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5485
5600
|
/**
|
|
5486
5601
|
* Fix whitespace-insensitive template indentation.
|
|
5487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
|
|
5488
5603
|
*/
|
|
5489
5604
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5490
5605
|
/**
|
|
5491
5606
|
* Enforce consistent case for text encoding identifiers.
|
|
5492
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
|
|
5493
5608
|
*/
|
|
5494
5609
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5495
5610
|
/**
|
|
5496
5611
|
* Require `new` when creating an error.
|
|
5497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
|
|
5498
5613
|
*/
|
|
5499
5614
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5500
5615
|
/**
|
|
@@ -6188,6 +6303,8 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
|
6188
6303
|
// ----- @typescript-eslint/no-base-to-string -----
|
|
6189
6304
|
type TypescriptEslintNoBaseToString = []|[{
|
|
6190
6305
|
|
|
6306
|
+
checkUnknown?: boolean
|
|
6307
|
+
|
|
6191
6308
|
ignoredTypeNames?: string[]
|
|
6192
6309
|
}]
|
|
6193
6310
|
// ----- @typescript-eslint/no-confusing-void-expression -----
|
|
@@ -6502,6 +6619,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
6502
6619
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
6503
6620
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
6504
6621
|
|
|
6622
|
+
checkLiteralConstAssertions?: boolean
|
|
6623
|
+
|
|
6505
6624
|
typesToIgnore?: string[]
|
|
6506
6625
|
}]
|
|
6507
6626
|
// ----- @typescript-eslint/no-unused-expressions -----
|
|
@@ -6510,6 +6629,7 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
6510
6629
|
allowTernary?: boolean
|
|
6511
6630
|
allowTaggedTemplates?: boolean
|
|
6512
6631
|
enforceForJSX?: boolean
|
|
6632
|
+
ignoreDirectives?: boolean
|
|
6513
6633
|
}]
|
|
6514
6634
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
6515
6635
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -6572,6 +6692,8 @@ type TypescriptEslintOnlyThrowError = []|[{
|
|
|
6572
6692
|
package: string
|
|
6573
6693
|
})[]
|
|
6574
6694
|
|
|
6695
|
+
allowRethrowing?: boolean
|
|
6696
|
+
|
|
6575
6697
|
allowThrowingAny?: boolean
|
|
6576
6698
|
|
|
6577
6699
|
allowThrowingUnknown?: boolean
|
|
@@ -6973,6 +7095,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
6973
7095
|
type ClassMethodsUseThis = []|[{
|
|
6974
7096
|
exceptMethods?: string[]
|
|
6975
7097
|
enforceForClassFields?: boolean
|
|
7098
|
+
ignoreOverrideMethods?: boolean
|
|
7099
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
6976
7100
|
}]
|
|
6977
7101
|
// ----- comma-dangle -----
|
|
6978
7102
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -7064,6 +7188,7 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
|
7064
7188
|
// ----- func-style -----
|
|
7065
7189
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
7066
7190
|
allowArrowFunctions?: boolean
|
|
7191
|
+
allowTypeAnnotation?: boolean
|
|
7067
7192
|
overrides?: {
|
|
7068
7193
|
namedExports?: ("declaration" | "expression" | "ignore")
|
|
7069
7194
|
}
|
|
@@ -7136,6 +7261,14 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
7136
7261
|
}
|
|
7137
7262
|
ignorePackages?: boolean
|
|
7138
7263
|
checkTypeImports?: boolean
|
|
7264
|
+
pathGroupOverrides?: {
|
|
7265
|
+
pattern: string
|
|
7266
|
+
patternOptions?: {
|
|
7267
|
+
[k: string]: unknown | undefined
|
|
7268
|
+
}
|
|
7269
|
+
action: ("enforce" | "ignore")
|
|
7270
|
+
}[]
|
|
7271
|
+
fix?: boolean
|
|
7139
7272
|
[k: string]: unknown | undefined
|
|
7140
7273
|
}] | []|[{
|
|
7141
7274
|
pattern?: {
|
|
@@ -7143,6 +7276,14 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
7143
7276
|
}
|
|
7144
7277
|
ignorePackages?: boolean
|
|
7145
7278
|
checkTypeImports?: boolean
|
|
7279
|
+
pathGroupOverrides?: {
|
|
7280
|
+
pattern: string
|
|
7281
|
+
patternOptions?: {
|
|
7282
|
+
[k: string]: unknown | undefined
|
|
7283
|
+
}
|
|
7284
|
+
action: ("enforce" | "ignore")
|
|
7285
|
+
}[]
|
|
7286
|
+
fix?: boolean
|
|
7146
7287
|
[k: string]: unknown | undefined
|
|
7147
7288
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
7148
7289
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
@@ -7363,6 +7504,10 @@ type ImportOrder = []|[{
|
|
|
7363
7504
|
type ImportPreferDefaultExport = []|[{
|
|
7364
7505
|
target?: ("single" | "any")
|
|
7365
7506
|
}]
|
|
7507
|
+
// ----- import/prefer-namespace-import -----
|
|
7508
|
+
type ImportPreferNamespaceImport = []|[{
|
|
7509
|
+
patterns?: string[]
|
|
7510
|
+
}]
|
|
7366
7511
|
// ----- indent -----
|
|
7367
7512
|
type Indent = []|[("tab" | number)]|[("tab" | number), {
|
|
7368
7513
|
SwitchCase?: number
|
|
@@ -7462,10 +7607,10 @@ type JsdocCheckLineAlignment = []|[("always" | "never" | "any")]|[("always" | "n
|
|
|
7462
7607
|
postTag?: number
|
|
7463
7608
|
postType?: number
|
|
7464
7609
|
}
|
|
7610
|
+
disableWrapIndent?: boolean
|
|
7465
7611
|
preserveMainDescriptionPostDelimiter?: boolean
|
|
7466
7612
|
tags?: string[]
|
|
7467
7613
|
wrapIndent?: string
|
|
7468
|
-
disableWrapIndent?: boolean
|
|
7469
7614
|
}]
|
|
7470
7615
|
// ----- jsdoc/check-param-names -----
|
|
7471
7616
|
type JsdocCheckParamNames = []|[{
|
|
@@ -7548,6 +7693,7 @@ type JsdocLinesBeforeBlock = []|[{
|
|
|
7548
7693
|
checkBlockStarts?: boolean
|
|
7549
7694
|
excludedTags?: string[]
|
|
7550
7695
|
ignoreSameLine?: boolean
|
|
7696
|
+
ignoreSingleLines?: boolean
|
|
7551
7697
|
lines?: number
|
|
7552
7698
|
}]
|
|
7553
7699
|
// ----- jsdoc/match-description -----
|
|
@@ -8019,6 +8165,10 @@ type JsoncNoIrregularWhitespace = []|[{
|
|
|
8019
8165
|
skipRegExps?: boolean
|
|
8020
8166
|
skipJSXText?: boolean
|
|
8021
8167
|
}]
|
|
8168
|
+
// ----- jsonc/no-useless-escape -----
|
|
8169
|
+
type JsoncNoUselessEscape = []|[{
|
|
8170
|
+
allowRegexCharacters?: string[]
|
|
8171
|
+
}]
|
|
8022
8172
|
// ----- jsonc/object-curly-newline -----
|
|
8023
8173
|
type JsoncObjectCurlyNewline = []|[((("always" | "never") | {
|
|
8024
8174
|
multiline?: boolean
|
|
@@ -8756,10 +8906,28 @@ type LogicalAssignmentOperators = (([]|["always"]|["always", {
|
|
|
8756
8906
|
type MarkdownFencedCodeLanguage = []|[{
|
|
8757
8907
|
required?: string[]
|
|
8758
8908
|
}]
|
|
8909
|
+
// ----- markdown/no-duplicate-definitions -----
|
|
8910
|
+
type MarkdownNoDuplicateDefinitions = []|[{
|
|
8911
|
+
allowDefinitions?: string[]
|
|
8912
|
+
allowFootnoteDefinitions?: string[]
|
|
8913
|
+
}]
|
|
8914
|
+
// ----- markdown/no-duplicate-headings -----
|
|
8915
|
+
type MarkdownNoDuplicateHeadings = []|[{
|
|
8916
|
+
checkSiblingsOnly?: boolean
|
|
8917
|
+
}]
|
|
8759
8918
|
// ----- markdown/no-html -----
|
|
8760
8919
|
type MarkdownNoHtml = []|[{
|
|
8761
8920
|
allowed?: string[]
|
|
8762
8921
|
}]
|
|
8922
|
+
// ----- markdown/no-missing-link-fragments -----
|
|
8923
|
+
type MarkdownNoMissingLinkFragments = []|[{
|
|
8924
|
+
ignoreCase?: boolean
|
|
8925
|
+
allowPattern?: string
|
|
8926
|
+
}]
|
|
8927
|
+
// ----- markdown/no-multiple-h1 -----
|
|
8928
|
+
type MarkdownNoMultipleH1 = []|[{
|
|
8929
|
+
frontmatterTitle?: string
|
|
8930
|
+
}]
|
|
8763
8931
|
// ----- max-classes-per-file -----
|
|
8764
8932
|
type MaxClassesPerFile = []|[(number | {
|
|
8765
8933
|
ignoreExpressions?: boolean
|
|
@@ -8860,6 +9028,8 @@ type MaxNestedCallbacks = []|[(number | {
|
|
|
8860
9028
|
type MaxParams = []|[(number | {
|
|
8861
9029
|
maximum?: number
|
|
8862
9030
|
max?: number
|
|
9031
|
+
|
|
9032
|
+
countVoidThis?: boolean
|
|
8863
9033
|
})]
|
|
8864
9034
|
// ----- max-statements -----
|
|
8865
9035
|
type MaxStatements = []|[(number | {
|
|
@@ -8925,6 +9095,7 @@ type NoConstantCondition = []|[{
|
|
|
8925
9095
|
// ----- no-duplicate-imports -----
|
|
8926
9096
|
type NoDuplicateImports = []|[{
|
|
8927
9097
|
includeExports?: boolean
|
|
9098
|
+
allowSeparateTypeImports?: boolean
|
|
8928
9099
|
}]
|
|
8929
9100
|
// ----- no-else-return -----
|
|
8930
9101
|
type NoElseReturn = []|[{
|
|
@@ -8936,7 +9107,7 @@ type NoEmpty = []|[{
|
|
|
8936
9107
|
}]
|
|
8937
9108
|
// ----- no-empty-function -----
|
|
8938
9109
|
type NoEmptyFunction = []|[{
|
|
8939
|
-
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
|
|
9110
|
+
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
|
|
8940
9111
|
}]
|
|
8941
9112
|
// ----- no-empty-pattern -----
|
|
8942
9113
|
type NoEmptyPattern = []|[{
|
|
@@ -9028,6 +9199,10 @@ type NoMagicNumbers = []|[{
|
|
|
9028
9199
|
ignoreArrayIndexes?: boolean
|
|
9029
9200
|
ignoreDefaultValues?: boolean
|
|
9030
9201
|
ignoreClassFieldInitialValues?: boolean
|
|
9202
|
+
ignoreEnums?: boolean
|
|
9203
|
+
ignoreNumericLiteralTypes?: boolean
|
|
9204
|
+
ignoreReadonlyClassProperties?: boolean
|
|
9205
|
+
ignoreTypeIndexes?: boolean
|
|
9031
9206
|
}]
|
|
9032
9207
|
// ----- no-misleading-character-class -----
|
|
9033
9208
|
type NoMisleadingCharacterClass = []|[{
|
|
@@ -9138,13 +9313,9 @@ type NoRestrictedModules = ((string | {
|
|
|
9138
9313
|
}[])
|
|
9139
9314
|
// ----- no-restricted-properties -----
|
|
9140
9315
|
type NoRestrictedProperties = ({
|
|
9141
|
-
|
|
9142
|
-
property?: string
|
|
9143
|
-
message?: string
|
|
9316
|
+
[k: string]: unknown | undefined
|
|
9144
9317
|
} | {
|
|
9145
|
-
|
|
9146
|
-
property: string
|
|
9147
|
-
message?: string
|
|
9318
|
+
[k: string]: unknown | undefined
|
|
9148
9319
|
})[]
|
|
9149
9320
|
// ----- no-restricted-syntax -----
|
|
9150
9321
|
type NoRestrictedSyntax = (string | {
|
|
@@ -9164,9 +9335,15 @@ type NoSequences = []|[{
|
|
|
9164
9335
|
// ----- no-shadow -----
|
|
9165
9336
|
type NoShadow = []|[{
|
|
9166
9337
|
builtinGlobals?: boolean
|
|
9167
|
-
hoist?: ("all" | "functions" | "never")
|
|
9338
|
+
hoist?: ("all" | "functions" | "never" | "types" | "functions-and-types")
|
|
9168
9339
|
allow?: string[]
|
|
9169
9340
|
ignoreOnInitialization?: boolean
|
|
9341
|
+
ignoreTypeValueShadow?: boolean
|
|
9342
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
9343
|
+
}]
|
|
9344
|
+
// ----- no-shadow-restricted-names -----
|
|
9345
|
+
type NoShadowRestrictedNames = []|[{
|
|
9346
|
+
reportGlobalThis?: boolean
|
|
9170
9347
|
}]
|
|
9171
9348
|
// ----- no-sync -----
|
|
9172
9349
|
type NoSync = []|[{
|
|
@@ -9219,6 +9396,7 @@ type NoUnusedExpressions = []|[{
|
|
|
9219
9396
|
allowTernary?: boolean
|
|
9220
9397
|
allowTaggedTemplates?: boolean
|
|
9221
9398
|
enforceForJSX?: boolean
|
|
9399
|
+
ignoreDirectives?: boolean
|
|
9222
9400
|
}]
|
|
9223
9401
|
// ----- no-unused-vars -----
|
|
9224
9402
|
type NoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -9239,11 +9417,18 @@ type NoUseBeforeDefine = []|[("nofunc" | {
|
|
|
9239
9417
|
classes?: boolean
|
|
9240
9418
|
variables?: boolean
|
|
9241
9419
|
allowNamedExports?: boolean
|
|
9420
|
+
enums?: boolean
|
|
9421
|
+
typedefs?: boolean
|
|
9422
|
+
ignoreTypeReferences?: boolean
|
|
9242
9423
|
})]
|
|
9243
9424
|
// ----- no-useless-computed-key -----
|
|
9244
9425
|
type NoUselessComputedKey = []|[{
|
|
9245
9426
|
enforceForClassMembers?: boolean
|
|
9246
9427
|
}]
|
|
9428
|
+
// ----- no-useless-escape -----
|
|
9429
|
+
type NoUselessEscape = []|[{
|
|
9430
|
+
allowRegexCharacters?: string[]
|
|
9431
|
+
}]
|
|
9247
9432
|
// ----- no-useless-rename -----
|
|
9248
9433
|
type NoUselessRename = []|[{
|
|
9249
9434
|
ignoreDestructuring?: boolean
|
|
@@ -9404,7 +9589,38 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
9404
9589
|
// ----- node/no-sync -----
|
|
9405
9590
|
type NodeNoSync = []|[{
|
|
9406
9591
|
allowAtRootLevel?: boolean
|
|
9407
|
-
ignores?: string
|
|
9592
|
+
ignores?: (string | {
|
|
9593
|
+
from?: "file"
|
|
9594
|
+
path?: string
|
|
9595
|
+
name?: string[]
|
|
9596
|
+
} | {
|
|
9597
|
+
from?: "lib"
|
|
9598
|
+
name?: string[]
|
|
9599
|
+
} | {
|
|
9600
|
+
from?: "package"
|
|
9601
|
+
package?: string
|
|
9602
|
+
name?: string[]
|
|
9603
|
+
})[]
|
|
9604
|
+
}]
|
|
9605
|
+
// ----- node/no-top-level-await -----
|
|
9606
|
+
type NodeNoTopLevelAwait = []|[{
|
|
9607
|
+
ignoreBin?: boolean
|
|
9608
|
+
convertPath?: ({
|
|
9609
|
+
|
|
9610
|
+
[k: string]: [string, string]
|
|
9611
|
+
} | [{
|
|
9612
|
+
|
|
9613
|
+
include: [string, ...(string)[]]
|
|
9614
|
+
exclude?: string[]
|
|
9615
|
+
|
|
9616
|
+
replace: [string, string]
|
|
9617
|
+
}, ...({
|
|
9618
|
+
|
|
9619
|
+
include: [string, ...(string)[]]
|
|
9620
|
+
exclude?: string[]
|
|
9621
|
+
|
|
9622
|
+
replace: [string, string]
|
|
9623
|
+
})[]])
|
|
9408
9624
|
}]
|
|
9409
9625
|
// ----- node/no-unpublished-bin -----
|
|
9410
9626
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -9449,6 +9665,7 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
9449
9665
|
resolverConfig?: {
|
|
9450
9666
|
[k: string]: unknown | undefined
|
|
9451
9667
|
}
|
|
9668
|
+
tryExtensions?: string[]
|
|
9452
9669
|
ignoreTypeImport?: boolean
|
|
9453
9670
|
ignorePrivate?: boolean
|
|
9454
9671
|
}]
|
|
@@ -9492,7 +9709,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9492
9709
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9493
9710
|
version?: string
|
|
9494
9711
|
allowExperimental?: boolean
|
|
9495
|
-
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")[]
|
|
9712
|
+
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")[]
|
|
9496
9713
|
}]
|
|
9497
9714
|
// ----- node/prefer-global/buffer -----
|
|
9498
9715
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9640,7 +9857,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9640
9857
|
order?: ("asc" | "desc")
|
|
9641
9858
|
|
|
9642
9859
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9643
|
-
[k: string]: unknown | undefined
|
|
9644
9860
|
}
|
|
9645
9861
|
|
|
9646
9862
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9658,18 +9874,16 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9658
9874
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9659
9875
|
|
|
9660
9876
|
customGroups?: ({
|
|
9661
|
-
|
|
9662
|
-
newlinesInside?: ("always" | "never")
|
|
9877
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9663
9878
|
|
|
9664
9879
|
fallbackSort?: {
|
|
9665
9880
|
|
|
9666
9881
|
order?: ("asc" | "desc")
|
|
9667
9882
|
|
|
9668
9883
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9669
|
-
[k: string]: unknown | undefined
|
|
9670
9884
|
}
|
|
9671
9885
|
|
|
9672
|
-
groupName
|
|
9886
|
+
groupName: string
|
|
9673
9887
|
|
|
9674
9888
|
order?: ("asc" | "desc")
|
|
9675
9889
|
|
|
@@ -9679,26 +9893,28 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9679
9893
|
selector?: ("literal" | "spread")
|
|
9680
9894
|
|
|
9681
9895
|
elementNamePattern?: (({
|
|
9682
|
-
|
|
9896
|
+
|
|
9897
|
+
pattern: string
|
|
9898
|
+
|
|
9683
9899
|
flags?: string
|
|
9684
9900
|
} | string)[] | ({
|
|
9685
|
-
|
|
9901
|
+
|
|
9902
|
+
pattern: string
|
|
9903
|
+
|
|
9686
9904
|
flags?: string
|
|
9687
9905
|
} | string))
|
|
9688
9906
|
}[]
|
|
9689
9907
|
} | {
|
|
9690
|
-
|
|
9691
|
-
newlinesInside?: ("always" | "never")
|
|
9908
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9692
9909
|
|
|
9693
9910
|
fallbackSort?: {
|
|
9694
9911
|
|
|
9695
9912
|
order?: ("asc" | "desc")
|
|
9696
9913
|
|
|
9697
9914
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9698
|
-
[k: string]: unknown | undefined
|
|
9699
9915
|
}
|
|
9700
9916
|
|
|
9701
|
-
groupName
|
|
9917
|
+
groupName: string
|
|
9702
9918
|
|
|
9703
9919
|
order?: ("asc" | "desc")
|
|
9704
9920
|
|
|
@@ -9707,54 +9923,77 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9707
9923
|
selector?: ("literal" | "spread")
|
|
9708
9924
|
|
|
9709
9925
|
elementNamePattern?: (({
|
|
9710
|
-
|
|
9926
|
+
|
|
9927
|
+
pattern: string
|
|
9928
|
+
|
|
9711
9929
|
flags?: string
|
|
9712
9930
|
} | string)[] | ({
|
|
9713
|
-
|
|
9931
|
+
|
|
9932
|
+
pattern: string
|
|
9933
|
+
|
|
9714
9934
|
flags?: string
|
|
9715
9935
|
} | string))
|
|
9716
9936
|
})[]
|
|
9937
|
+
|
|
9717
9938
|
useConfigurationIf?: {
|
|
9718
9939
|
|
|
9719
9940
|
allNamesMatchPattern?: (({
|
|
9720
|
-
|
|
9941
|
+
|
|
9942
|
+
pattern: string
|
|
9943
|
+
|
|
9721
9944
|
flags?: string
|
|
9722
9945
|
} | string)[] | ({
|
|
9723
|
-
|
|
9946
|
+
|
|
9947
|
+
pattern: string
|
|
9948
|
+
|
|
9724
9949
|
flags?: string
|
|
9725
9950
|
} | string))
|
|
9726
9951
|
}
|
|
9727
9952
|
|
|
9728
9953
|
partitionByComment?: (boolean | (({
|
|
9729
|
-
|
|
9954
|
+
|
|
9955
|
+
pattern: string
|
|
9956
|
+
|
|
9730
9957
|
flags?: string
|
|
9731
9958
|
} | string)[] | ({
|
|
9732
|
-
|
|
9959
|
+
|
|
9960
|
+
pattern: string
|
|
9961
|
+
|
|
9733
9962
|
flags?: string
|
|
9734
9963
|
} | string)) | {
|
|
9964
|
+
|
|
9735
9965
|
block?: (boolean | (({
|
|
9736
|
-
|
|
9966
|
+
|
|
9967
|
+
pattern: string
|
|
9968
|
+
|
|
9737
9969
|
flags?: string
|
|
9738
9970
|
} | string)[] | ({
|
|
9739
|
-
|
|
9971
|
+
|
|
9972
|
+
pattern: string
|
|
9973
|
+
|
|
9740
9974
|
flags?: string
|
|
9741
9975
|
} | string)))
|
|
9976
|
+
|
|
9742
9977
|
line?: (boolean | (({
|
|
9743
|
-
|
|
9978
|
+
|
|
9979
|
+
pattern: string
|
|
9980
|
+
|
|
9744
9981
|
flags?: string
|
|
9745
9982
|
} | string)[] | ({
|
|
9746
|
-
|
|
9983
|
+
|
|
9984
|
+
pattern: string
|
|
9985
|
+
|
|
9747
9986
|
flags?: string
|
|
9748
9987
|
} | string)))
|
|
9749
9988
|
})
|
|
9750
9989
|
|
|
9751
9990
|
partitionByNewLine?: boolean
|
|
9752
|
-
|
|
9753
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9991
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9754
9992
|
|
|
9755
9993
|
groups?: (string | string[] | {
|
|
9994
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9756
9995
|
|
|
9757
|
-
|
|
9996
|
+
commentAbove?: string
|
|
9758
9997
|
})[]
|
|
9759
9998
|
}[]
|
|
9760
9999
|
// ----- perfectionist/sort-classes -----
|
|
@@ -9765,7 +10004,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
9765
10004
|
order?: ("asc" | "desc")
|
|
9766
10005
|
|
|
9767
10006
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9768
|
-
[k: string]: unknown | undefined
|
|
9769
10007
|
}
|
|
9770
10008
|
|
|
9771
10009
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9781,18 +10019,16 @@ type PerfectionistSortClasses = []|[{
|
|
|
9781
10019
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9782
10020
|
|
|
9783
10021
|
customGroups?: ({
|
|
9784
|
-
|
|
9785
|
-
newlinesInside?: ("always" | "never")
|
|
10022
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9786
10023
|
|
|
9787
10024
|
fallbackSort?: {
|
|
9788
10025
|
|
|
9789
10026
|
order?: ("asc" | "desc")
|
|
9790
10027
|
|
|
9791
10028
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9792
|
-
[k: string]: unknown | undefined
|
|
9793
10029
|
}
|
|
9794
10030
|
|
|
9795
|
-
groupName
|
|
10031
|
+
groupName: string
|
|
9796
10032
|
|
|
9797
10033
|
order?: ("asc" | "desc")
|
|
9798
10034
|
|
|
@@ -9804,42 +10040,52 @@ type PerfectionistSortClasses = []|[{
|
|
|
9804
10040
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9805
10041
|
|
|
9806
10042
|
decoratorNamePattern?: (({
|
|
9807
|
-
|
|
10043
|
+
|
|
10044
|
+
pattern: string
|
|
10045
|
+
|
|
9808
10046
|
flags?: string
|
|
9809
10047
|
} | string)[] | ({
|
|
9810
|
-
|
|
10048
|
+
|
|
10049
|
+
pattern: string
|
|
10050
|
+
|
|
9811
10051
|
flags?: string
|
|
9812
10052
|
} | string))
|
|
9813
10053
|
|
|
9814
10054
|
elementValuePattern?: (({
|
|
9815
|
-
|
|
10055
|
+
|
|
10056
|
+
pattern: string
|
|
10057
|
+
|
|
9816
10058
|
flags?: string
|
|
9817
10059
|
} | string)[] | ({
|
|
9818
|
-
|
|
10060
|
+
|
|
10061
|
+
pattern: string
|
|
10062
|
+
|
|
9819
10063
|
flags?: string
|
|
9820
10064
|
} | string))
|
|
9821
10065
|
|
|
9822
10066
|
elementNamePattern?: (({
|
|
9823
|
-
|
|
10067
|
+
|
|
10068
|
+
pattern: string
|
|
10069
|
+
|
|
9824
10070
|
flags?: string
|
|
9825
10071
|
} | string)[] | ({
|
|
9826
|
-
|
|
10072
|
+
|
|
10073
|
+
pattern: string
|
|
10074
|
+
|
|
9827
10075
|
flags?: string
|
|
9828
10076
|
} | string))
|
|
9829
10077
|
}[]
|
|
9830
10078
|
} | {
|
|
9831
|
-
|
|
9832
|
-
newlinesInside?: ("always" | "never")
|
|
10079
|
+
newlinesInside?: (("always" | "never") | number)
|
|
9833
10080
|
|
|
9834
10081
|
fallbackSort?: {
|
|
9835
10082
|
|
|
9836
10083
|
order?: ("asc" | "desc")
|
|
9837
10084
|
|
|
9838
10085
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9839
|
-
[k: string]: unknown | undefined
|
|
9840
10086
|
}
|
|
9841
10087
|
|
|
9842
|
-
groupName
|
|
10088
|
+
groupName: string
|
|
9843
10089
|
|
|
9844
10090
|
order?: ("asc" | "desc")
|
|
9845
10091
|
|
|
@@ -9850,68 +10096,98 @@ type PerfectionistSortClasses = []|[{
|
|
|
9850
10096
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9851
10097
|
|
|
9852
10098
|
decoratorNamePattern?: (({
|
|
9853
|
-
|
|
10099
|
+
|
|
10100
|
+
pattern: string
|
|
10101
|
+
|
|
9854
10102
|
flags?: string
|
|
9855
10103
|
} | string)[] | ({
|
|
9856
|
-
|
|
10104
|
+
|
|
10105
|
+
pattern: string
|
|
10106
|
+
|
|
9857
10107
|
flags?: string
|
|
9858
10108
|
} | string))
|
|
9859
10109
|
|
|
9860
10110
|
elementValuePattern?: (({
|
|
9861
|
-
|
|
10111
|
+
|
|
10112
|
+
pattern: string
|
|
10113
|
+
|
|
9862
10114
|
flags?: string
|
|
9863
10115
|
} | string)[] | ({
|
|
9864
|
-
|
|
10116
|
+
|
|
10117
|
+
pattern: string
|
|
10118
|
+
|
|
9865
10119
|
flags?: string
|
|
9866
10120
|
} | string))
|
|
9867
10121
|
|
|
9868
10122
|
elementNamePattern?: (({
|
|
9869
|
-
|
|
10123
|
+
|
|
10124
|
+
pattern: string
|
|
10125
|
+
|
|
9870
10126
|
flags?: string
|
|
9871
10127
|
} | string)[] | ({
|
|
9872
|
-
|
|
10128
|
+
|
|
10129
|
+
pattern: string
|
|
10130
|
+
|
|
9873
10131
|
flags?: string
|
|
9874
10132
|
} | string))
|
|
9875
10133
|
})[]
|
|
9876
10134
|
|
|
9877
10135
|
ignoreCallbackDependenciesPatterns?: (({
|
|
9878
|
-
|
|
10136
|
+
|
|
10137
|
+
pattern: string
|
|
10138
|
+
|
|
9879
10139
|
flags?: string
|
|
9880
10140
|
} | string)[] | ({
|
|
9881
|
-
|
|
10141
|
+
|
|
10142
|
+
pattern: string
|
|
10143
|
+
|
|
9882
10144
|
flags?: string
|
|
9883
10145
|
} | string))
|
|
9884
10146
|
|
|
9885
10147
|
partitionByComment?: (boolean | (({
|
|
9886
|
-
|
|
10148
|
+
|
|
10149
|
+
pattern: string
|
|
10150
|
+
|
|
9887
10151
|
flags?: string
|
|
9888
10152
|
} | string)[] | ({
|
|
9889
|
-
|
|
10153
|
+
|
|
10154
|
+
pattern: string
|
|
10155
|
+
|
|
9890
10156
|
flags?: string
|
|
9891
10157
|
} | string)) | {
|
|
10158
|
+
|
|
9892
10159
|
block?: (boolean | (({
|
|
9893
|
-
|
|
10160
|
+
|
|
10161
|
+
pattern: string
|
|
10162
|
+
|
|
9894
10163
|
flags?: string
|
|
9895
10164
|
} | string)[] | ({
|
|
9896
|
-
|
|
10165
|
+
|
|
10166
|
+
pattern: string
|
|
10167
|
+
|
|
9897
10168
|
flags?: string
|
|
9898
10169
|
} | string)))
|
|
10170
|
+
|
|
9899
10171
|
line?: (boolean | (({
|
|
9900
|
-
|
|
10172
|
+
|
|
10173
|
+
pattern: string
|
|
10174
|
+
|
|
9901
10175
|
flags?: string
|
|
9902
10176
|
} | string)[] | ({
|
|
9903
|
-
|
|
10177
|
+
|
|
10178
|
+
pattern: string
|
|
10179
|
+
|
|
9904
10180
|
flags?: string
|
|
9905
10181
|
} | string)))
|
|
9906
10182
|
})
|
|
9907
10183
|
|
|
9908
10184
|
partitionByNewLine?: boolean
|
|
9909
|
-
|
|
9910
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10185
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9911
10186
|
|
|
9912
10187
|
groups?: (string | string[] | {
|
|
10188
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9913
10189
|
|
|
9914
|
-
|
|
10190
|
+
commentAbove?: string
|
|
9915
10191
|
})[]
|
|
9916
10192
|
}]
|
|
9917
10193
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -9922,7 +10198,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9922
10198
|
order?: ("asc" | "desc")
|
|
9923
10199
|
|
|
9924
10200
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9925
|
-
[k: string]: unknown | undefined
|
|
9926
10201
|
}
|
|
9927
10202
|
|
|
9928
10203
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9948,24 +10223,38 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9948
10223
|
sortOnClasses?: boolean
|
|
9949
10224
|
|
|
9950
10225
|
partitionByComment?: (boolean | (({
|
|
9951
|
-
|
|
10226
|
+
|
|
10227
|
+
pattern: string
|
|
10228
|
+
|
|
9952
10229
|
flags?: string
|
|
9953
10230
|
} | string)[] | ({
|
|
9954
|
-
|
|
10231
|
+
|
|
10232
|
+
pattern: string
|
|
10233
|
+
|
|
9955
10234
|
flags?: string
|
|
9956
10235
|
} | string)) | {
|
|
10236
|
+
|
|
9957
10237
|
block?: (boolean | (({
|
|
9958
|
-
|
|
10238
|
+
|
|
10239
|
+
pattern: string
|
|
10240
|
+
|
|
9959
10241
|
flags?: string
|
|
9960
10242
|
} | string)[] | ({
|
|
9961
|
-
|
|
10243
|
+
|
|
10244
|
+
pattern: string
|
|
10245
|
+
|
|
9962
10246
|
flags?: string
|
|
9963
10247
|
} | string)))
|
|
10248
|
+
|
|
9964
10249
|
line?: (boolean | (({
|
|
9965
|
-
|
|
10250
|
+
|
|
10251
|
+
pattern: string
|
|
10252
|
+
|
|
9966
10253
|
flags?: string
|
|
9967
10254
|
} | string)[] | ({
|
|
9968
|
-
|
|
10255
|
+
|
|
10256
|
+
pattern: string
|
|
10257
|
+
|
|
9969
10258
|
flags?: string
|
|
9970
10259
|
} | string)))
|
|
9971
10260
|
})
|
|
@@ -9975,8 +10264,9 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9975
10264
|
}
|
|
9976
10265
|
|
|
9977
10266
|
groups?: (string | string[] | {
|
|
10267
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
9978
10268
|
|
|
9979
|
-
|
|
10269
|
+
commentAbove?: string
|
|
9980
10270
|
})[]
|
|
9981
10271
|
}]
|
|
9982
10272
|
// ----- perfectionist/sort-enums -----
|
|
@@ -9987,7 +10277,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
9987
10277
|
order?: ("asc" | "desc")
|
|
9988
10278
|
|
|
9989
10279
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9990
|
-
[k: string]: unknown | undefined
|
|
9991
10280
|
}
|
|
9992
10281
|
|
|
9993
10282
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10001,23 +10290,19 @@ type PerfectionistSortEnums = []|[{
|
|
|
10001
10290
|
order?: ("asc" | "desc")
|
|
10002
10291
|
|
|
10003
10292
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10004
|
-
|
|
10005
|
-
forceNumericSort?: boolean
|
|
10006
10293
|
customGroups?: ({
|
|
10007
10294
|
[k: string]: (string | string[]) | undefined
|
|
10008
10295
|
} | ({
|
|
10009
|
-
|
|
10010
|
-
newlinesInside?: ("always" | "never")
|
|
10296
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10011
10297
|
|
|
10012
10298
|
fallbackSort?: {
|
|
10013
10299
|
|
|
10014
10300
|
order?: ("asc" | "desc")
|
|
10015
10301
|
|
|
10016
10302
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10017
|
-
[k: string]: unknown | undefined
|
|
10018
10303
|
}
|
|
10019
10304
|
|
|
10020
|
-
groupName
|
|
10305
|
+
groupName: string
|
|
10021
10306
|
|
|
10022
10307
|
order?: ("asc" | "desc")
|
|
10023
10308
|
|
|
@@ -10025,99 +10310,128 @@ type PerfectionistSortEnums = []|[{
|
|
|
10025
10310
|
anyOf?: {
|
|
10026
10311
|
|
|
10027
10312
|
elementValuePattern?: (({
|
|
10028
|
-
|
|
10313
|
+
|
|
10314
|
+
pattern: string
|
|
10315
|
+
|
|
10029
10316
|
flags?: string
|
|
10030
10317
|
} | string)[] | ({
|
|
10031
|
-
|
|
10318
|
+
|
|
10319
|
+
pattern: string
|
|
10320
|
+
|
|
10032
10321
|
flags?: string
|
|
10033
10322
|
} | string))
|
|
10034
10323
|
|
|
10035
10324
|
elementNamePattern?: (({
|
|
10036
|
-
|
|
10325
|
+
|
|
10326
|
+
pattern: string
|
|
10327
|
+
|
|
10037
10328
|
flags?: string
|
|
10038
10329
|
} | string)[] | ({
|
|
10039
|
-
|
|
10330
|
+
|
|
10331
|
+
pattern: string
|
|
10332
|
+
|
|
10040
10333
|
flags?: string
|
|
10041
10334
|
} | string))
|
|
10042
10335
|
}[]
|
|
10043
10336
|
} | {
|
|
10044
|
-
|
|
10045
|
-
newlinesInside?: ("always" | "never")
|
|
10337
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10046
10338
|
|
|
10047
10339
|
fallbackSort?: {
|
|
10048
10340
|
|
|
10049
10341
|
order?: ("asc" | "desc")
|
|
10050
10342
|
|
|
10051
10343
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10052
|
-
[k: string]: unknown | undefined
|
|
10053
10344
|
}
|
|
10054
10345
|
|
|
10055
|
-
groupName
|
|
10346
|
+
groupName: string
|
|
10056
10347
|
|
|
10057
10348
|
order?: ("asc" | "desc")
|
|
10058
10349
|
|
|
10059
10350
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10060
10351
|
|
|
10061
10352
|
elementValuePattern?: (({
|
|
10062
|
-
|
|
10353
|
+
|
|
10354
|
+
pattern: string
|
|
10355
|
+
|
|
10063
10356
|
flags?: string
|
|
10064
10357
|
} | string)[] | ({
|
|
10065
|
-
|
|
10358
|
+
|
|
10359
|
+
pattern: string
|
|
10360
|
+
|
|
10066
10361
|
flags?: string
|
|
10067
10362
|
} | string))
|
|
10068
10363
|
|
|
10069
10364
|
elementNamePattern?: (({
|
|
10070
|
-
|
|
10365
|
+
|
|
10366
|
+
pattern: string
|
|
10367
|
+
|
|
10071
10368
|
flags?: string
|
|
10072
10369
|
} | string)[] | ({
|
|
10073
|
-
|
|
10370
|
+
|
|
10371
|
+
pattern: string
|
|
10372
|
+
|
|
10074
10373
|
flags?: string
|
|
10075
10374
|
} | string))
|
|
10076
10375
|
})[])
|
|
10077
10376
|
|
|
10377
|
+
forceNumericSort?: boolean
|
|
10378
|
+
|
|
10078
10379
|
sortByValue?: boolean
|
|
10079
10380
|
|
|
10080
10381
|
partitionByComment?: (boolean | (({
|
|
10081
|
-
|
|
10382
|
+
|
|
10383
|
+
pattern: string
|
|
10384
|
+
|
|
10082
10385
|
flags?: string
|
|
10083
10386
|
} | string)[] | ({
|
|
10084
|
-
|
|
10387
|
+
|
|
10388
|
+
pattern: string
|
|
10389
|
+
|
|
10085
10390
|
flags?: string
|
|
10086
10391
|
} | string)) | {
|
|
10392
|
+
|
|
10087
10393
|
block?: (boolean | (({
|
|
10088
|
-
|
|
10394
|
+
|
|
10395
|
+
pattern: string
|
|
10396
|
+
|
|
10089
10397
|
flags?: string
|
|
10090
10398
|
} | string)[] | ({
|
|
10091
|
-
|
|
10399
|
+
|
|
10400
|
+
pattern: string
|
|
10401
|
+
|
|
10092
10402
|
flags?: string
|
|
10093
10403
|
} | string)))
|
|
10404
|
+
|
|
10094
10405
|
line?: (boolean | (({
|
|
10095
|
-
|
|
10406
|
+
|
|
10407
|
+
pattern: string
|
|
10408
|
+
|
|
10096
10409
|
flags?: string
|
|
10097
10410
|
} | string)[] | ({
|
|
10098
|
-
|
|
10411
|
+
|
|
10412
|
+
pattern: string
|
|
10413
|
+
|
|
10099
10414
|
flags?: string
|
|
10100
10415
|
} | string)))
|
|
10101
10416
|
})
|
|
10102
10417
|
|
|
10103
10418
|
partitionByNewLine?: boolean
|
|
10104
|
-
|
|
10105
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10419
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10106
10420
|
|
|
10107
10421
|
groups?: (string | string[] | {
|
|
10422
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10108
10423
|
|
|
10109
|
-
|
|
10424
|
+
commentAbove?: string
|
|
10110
10425
|
})[]
|
|
10111
10426
|
}]
|
|
10112
10427
|
// ----- perfectionist/sort-exports -----
|
|
10113
|
-
type PerfectionistSortExports =
|
|
10428
|
+
type PerfectionistSortExports = {
|
|
10114
10429
|
|
|
10115
10430
|
fallbackSort?: {
|
|
10116
10431
|
|
|
10117
10432
|
order?: ("asc" | "desc")
|
|
10118
10433
|
|
|
10119
10434
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10120
|
-
[k: string]: unknown | undefined
|
|
10121
10435
|
}
|
|
10122
10436
|
|
|
10123
10437
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10134,40 +10448,126 @@ type PerfectionistSortExports = []|[{
|
|
|
10134
10448
|
|
|
10135
10449
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10136
10450
|
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10451
|
+
customGroups?: ({
|
|
10452
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10453
|
+
|
|
10454
|
+
fallbackSort?: {
|
|
10455
|
+
|
|
10456
|
+
order?: ("asc" | "desc")
|
|
10457
|
+
|
|
10458
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10459
|
+
}
|
|
10460
|
+
|
|
10461
|
+
groupName: string
|
|
10462
|
+
|
|
10463
|
+
order?: ("asc" | "desc")
|
|
10464
|
+
|
|
10465
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10466
|
+
anyOf?: {
|
|
10467
|
+
|
|
10468
|
+
modifiers?: ("value" | "type")[]
|
|
10469
|
+
|
|
10470
|
+
selector?: "export"
|
|
10471
|
+
|
|
10472
|
+
elementNamePattern?: (({
|
|
10473
|
+
|
|
10474
|
+
pattern: string
|
|
10475
|
+
|
|
10476
|
+
flags?: string
|
|
10477
|
+
} | string)[] | ({
|
|
10478
|
+
|
|
10479
|
+
pattern: string
|
|
10480
|
+
|
|
10481
|
+
flags?: string
|
|
10482
|
+
} | string))
|
|
10483
|
+
}[]
|
|
10484
|
+
} | {
|
|
10485
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10486
|
+
|
|
10487
|
+
fallbackSort?: {
|
|
10488
|
+
|
|
10489
|
+
order?: ("asc" | "desc")
|
|
10490
|
+
|
|
10491
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10492
|
+
}
|
|
10493
|
+
|
|
10494
|
+
groupName: string
|
|
10495
|
+
|
|
10496
|
+
order?: ("asc" | "desc")
|
|
10497
|
+
|
|
10498
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10499
|
+
|
|
10500
|
+
modifiers?: ("value" | "type")[]
|
|
10501
|
+
|
|
10502
|
+
selector?: "export"
|
|
10503
|
+
|
|
10504
|
+
elementNamePattern?: (({
|
|
10505
|
+
|
|
10506
|
+
pattern: string
|
|
10507
|
+
|
|
10508
|
+
flags?: string
|
|
10509
|
+
} | string)[] | ({
|
|
10510
|
+
|
|
10511
|
+
pattern: string
|
|
10512
|
+
|
|
10513
|
+
flags?: string
|
|
10514
|
+
} | string))
|
|
10515
|
+
})[]
|
|
10516
|
+
|
|
10517
|
+
partitionByComment?: (boolean | (({
|
|
10518
|
+
|
|
10519
|
+
pattern: string
|
|
10520
|
+
|
|
10521
|
+
flags?: string
|
|
10522
|
+
} | string)[] | ({
|
|
10523
|
+
|
|
10524
|
+
pattern: string
|
|
10525
|
+
|
|
10526
|
+
flags?: string
|
|
10527
|
+
} | string)) | {
|
|
10528
|
+
|
|
10529
|
+
block?: (boolean | (({
|
|
10530
|
+
|
|
10531
|
+
pattern: string
|
|
10532
|
+
|
|
10533
|
+
flags?: string
|
|
10534
|
+
} | string)[] | ({
|
|
10535
|
+
|
|
10536
|
+
pattern: string
|
|
10537
|
+
|
|
10538
|
+
flags?: string
|
|
10539
|
+
} | string)))
|
|
10540
|
+
|
|
10541
|
+
line?: (boolean | (({
|
|
10542
|
+
|
|
10543
|
+
pattern: string
|
|
10544
|
+
|
|
10545
|
+
flags?: string
|
|
10546
|
+
} | string)[] | ({
|
|
10547
|
+
|
|
10548
|
+
pattern: string
|
|
10549
|
+
|
|
10550
|
+
flags?: string
|
|
10551
|
+
} | string)))
|
|
10552
|
+
})
|
|
10553
|
+
|
|
10554
|
+
partitionByNewLine?: boolean
|
|
10555
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10556
|
+
|
|
10557
|
+
groups?: (string | string[] | {
|
|
10558
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10559
|
+
|
|
10560
|
+
commentAbove?: string
|
|
10561
|
+
})[]
|
|
10562
|
+
}[]
|
|
10563
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
10564
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
10565
|
+
|
|
10165
10566
|
fallbackSort?: {
|
|
10166
10567
|
|
|
10167
10568
|
order?: ("asc" | "desc")
|
|
10168
10569
|
|
|
10169
10570
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10170
|
-
[k: string]: unknown | undefined
|
|
10171
10571
|
}
|
|
10172
10572
|
|
|
10173
10573
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10187,20 +10587,19 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10187
10587
|
}
|
|
10188
10588
|
|
|
10189
10589
|
groups?: (string | string[] | {
|
|
10590
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10190
10591
|
|
|
10191
|
-
|
|
10592
|
+
commentAbove?: string
|
|
10192
10593
|
})[]
|
|
10193
10594
|
}]
|
|
10194
10595
|
// ----- perfectionist/sort-imports -----
|
|
10195
|
-
type PerfectionistSortImports =
|
|
10196
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10596
|
+
type PerfectionistSortImports = {
|
|
10197
10597
|
|
|
10198
10598
|
fallbackSort?: {
|
|
10199
10599
|
|
|
10200
10600
|
order?: ("asc" | "desc")
|
|
10201
10601
|
|
|
10202
10602
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10203
|
-
[k: string]: unknown | undefined
|
|
10204
10603
|
}
|
|
10205
10604
|
|
|
10206
10605
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10214,16 +10613,109 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10214
10613
|
order?: ("asc" | "desc")
|
|
10215
10614
|
|
|
10216
10615
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10217
|
-
|
|
10218
|
-
customGroups?: {
|
|
10616
|
+
customGroups?: ({
|
|
10219
10617
|
|
|
10220
10618
|
value?: {
|
|
10221
|
-
[k: string]:
|
|
10619
|
+
[k: string]: (string | string[]) | undefined
|
|
10222
10620
|
}
|
|
10223
10621
|
|
|
10224
10622
|
type?: {
|
|
10225
|
-
[k: string]:
|
|
10623
|
+
[k: string]: (string | string[]) | undefined
|
|
10624
|
+
}
|
|
10625
|
+
} | ({
|
|
10626
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10627
|
+
|
|
10628
|
+
fallbackSort?: {
|
|
10629
|
+
|
|
10630
|
+
order?: ("asc" | "desc")
|
|
10631
|
+
|
|
10632
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10633
|
+
}
|
|
10634
|
+
|
|
10635
|
+
groupName: string
|
|
10636
|
+
|
|
10637
|
+
order?: ("asc" | "desc")
|
|
10638
|
+
|
|
10639
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10640
|
+
anyOf?: {
|
|
10641
|
+
|
|
10642
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
10643
|
+
|
|
10644
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
10645
|
+
|
|
10646
|
+
elementValuePattern?: (({
|
|
10647
|
+
|
|
10648
|
+
pattern: string
|
|
10649
|
+
|
|
10650
|
+
flags?: string
|
|
10651
|
+
} | string)[] | ({
|
|
10652
|
+
|
|
10653
|
+
pattern: string
|
|
10654
|
+
|
|
10655
|
+
flags?: string
|
|
10656
|
+
} | string))
|
|
10657
|
+
|
|
10658
|
+
elementNamePattern?: (({
|
|
10659
|
+
|
|
10660
|
+
pattern: string
|
|
10661
|
+
|
|
10662
|
+
flags?: string
|
|
10663
|
+
} | string)[] | ({
|
|
10664
|
+
|
|
10665
|
+
pattern: string
|
|
10666
|
+
|
|
10667
|
+
flags?: string
|
|
10668
|
+
} | string))
|
|
10669
|
+
}[]
|
|
10670
|
+
} | {
|
|
10671
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10672
|
+
|
|
10673
|
+
fallbackSort?: {
|
|
10674
|
+
|
|
10675
|
+
order?: ("asc" | "desc")
|
|
10676
|
+
|
|
10677
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10226
10678
|
}
|
|
10679
|
+
|
|
10680
|
+
groupName: string
|
|
10681
|
+
|
|
10682
|
+
order?: ("asc" | "desc")
|
|
10683
|
+
|
|
10684
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10685
|
+
|
|
10686
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
10687
|
+
|
|
10688
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
10689
|
+
|
|
10690
|
+
elementValuePattern?: (({
|
|
10691
|
+
|
|
10692
|
+
pattern: string
|
|
10693
|
+
|
|
10694
|
+
flags?: string
|
|
10695
|
+
} | string)[] | ({
|
|
10696
|
+
|
|
10697
|
+
pattern: string
|
|
10698
|
+
|
|
10699
|
+
flags?: string
|
|
10700
|
+
} | string))
|
|
10701
|
+
|
|
10702
|
+
elementNamePattern?: (({
|
|
10703
|
+
|
|
10704
|
+
pattern: string
|
|
10705
|
+
|
|
10706
|
+
flags?: string
|
|
10707
|
+
} | string)[] | ({
|
|
10708
|
+
|
|
10709
|
+
pattern: string
|
|
10710
|
+
|
|
10711
|
+
flags?: string
|
|
10712
|
+
} | string))
|
|
10713
|
+
})[])
|
|
10714
|
+
tsconfig?: {
|
|
10715
|
+
|
|
10716
|
+
rootDir: string
|
|
10717
|
+
|
|
10718
|
+
filename?: string
|
|
10227
10719
|
}
|
|
10228
10720
|
|
|
10229
10721
|
maxLineLength?: number
|
|
@@ -10235,52 +10727,63 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10235
10727
|
tsconfigRootDir?: string
|
|
10236
10728
|
|
|
10237
10729
|
partitionByComment?: (boolean | (({
|
|
10238
|
-
|
|
10730
|
+
|
|
10731
|
+
pattern: string
|
|
10732
|
+
|
|
10239
10733
|
flags?: string
|
|
10240
10734
|
} | string)[] | ({
|
|
10241
|
-
|
|
10735
|
+
|
|
10736
|
+
pattern: string
|
|
10737
|
+
|
|
10242
10738
|
flags?: string
|
|
10243
10739
|
} | string)) | {
|
|
10740
|
+
|
|
10244
10741
|
block?: (boolean | (({
|
|
10245
|
-
|
|
10742
|
+
|
|
10743
|
+
pattern: string
|
|
10744
|
+
|
|
10246
10745
|
flags?: string
|
|
10247
10746
|
} | string)[] | ({
|
|
10248
|
-
|
|
10747
|
+
|
|
10748
|
+
pattern: string
|
|
10749
|
+
|
|
10249
10750
|
flags?: string
|
|
10250
10751
|
} | string)))
|
|
10752
|
+
|
|
10251
10753
|
line?: (boolean | (({
|
|
10252
|
-
|
|
10754
|
+
|
|
10755
|
+
pattern: string
|
|
10756
|
+
|
|
10253
10757
|
flags?: string
|
|
10254
10758
|
} | string)[] | ({
|
|
10255
|
-
|
|
10759
|
+
|
|
10760
|
+
pattern: string
|
|
10761
|
+
|
|
10256
10762
|
flags?: string
|
|
10257
10763
|
} | string)))
|
|
10258
10764
|
})
|
|
10259
10765
|
|
|
10260
10766
|
partitionByNewLine?: boolean
|
|
10261
|
-
|
|
10262
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10767
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10263
10768
|
|
|
10264
10769
|
internalPattern?: (({
|
|
10265
|
-
|
|
10770
|
+
|
|
10771
|
+
pattern: string
|
|
10772
|
+
|
|
10266
10773
|
flags?: string
|
|
10267
10774
|
} | string)[] | ({
|
|
10268
|
-
|
|
10775
|
+
|
|
10776
|
+
pattern: string
|
|
10777
|
+
|
|
10269
10778
|
flags?: string
|
|
10270
10779
|
} | string))
|
|
10271
10780
|
|
|
10272
10781
|
groups?: (string | string[] | {
|
|
10782
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10273
10783
|
|
|
10274
|
-
|
|
10784
|
+
commentAbove?: string
|
|
10275
10785
|
})[]
|
|
10276
|
-
}
|
|
10277
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10278
|
-
[k: string]: unknown | undefined
|
|
10279
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
10280
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
10281
|
-
type: "line-length"
|
|
10282
|
-
[k: string]: unknown | undefined
|
|
10283
|
-
}
|
|
10786
|
+
}[]
|
|
10284
10787
|
// ----- perfectionist/sort-interfaces -----
|
|
10285
10788
|
type PerfectionistSortInterfaces = {
|
|
10286
10789
|
|
|
@@ -10289,7 +10792,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10289
10792
|
order?: ("asc" | "desc")
|
|
10290
10793
|
|
|
10291
10794
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10292
|
-
|
|
10795
|
+
sortBy?: ("name" | "value")
|
|
10293
10796
|
}
|
|
10294
10797
|
|
|
10295
10798
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10306,8 +10809,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10306
10809
|
customGroups?: ({
|
|
10307
10810
|
[k: string]: (string | string[]) | undefined
|
|
10308
10811
|
} | ({
|
|
10309
|
-
|
|
10310
|
-
newlinesInside?: ("always" | "never")
|
|
10812
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10311
10813
|
|
|
10312
10814
|
fallbackSort?: {
|
|
10313
10815
|
|
|
@@ -10315,10 +10817,9 @@ type PerfectionistSortInterfaces = {
|
|
|
10315
10817
|
|
|
10316
10818
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10317
10819
|
sortBy?: ("name" | "value")
|
|
10318
|
-
[k: string]: unknown | undefined
|
|
10319
10820
|
}
|
|
10320
10821
|
|
|
10321
|
-
groupName
|
|
10822
|
+
groupName: string
|
|
10322
10823
|
|
|
10323
10824
|
order?: ("asc" | "desc")
|
|
10324
10825
|
|
|
@@ -10330,25 +10831,32 @@ type PerfectionistSortInterfaces = {
|
|
|
10330
10831
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10331
10832
|
|
|
10332
10833
|
elementValuePattern?: (({
|
|
10333
|
-
|
|
10834
|
+
|
|
10835
|
+
pattern: string
|
|
10836
|
+
|
|
10334
10837
|
flags?: string
|
|
10335
10838
|
} | string)[] | ({
|
|
10336
|
-
|
|
10839
|
+
|
|
10840
|
+
pattern: string
|
|
10841
|
+
|
|
10337
10842
|
flags?: string
|
|
10338
10843
|
} | string))
|
|
10339
10844
|
|
|
10340
10845
|
elementNamePattern?: (({
|
|
10341
|
-
|
|
10846
|
+
|
|
10847
|
+
pattern: string
|
|
10848
|
+
|
|
10342
10849
|
flags?: string
|
|
10343
10850
|
} | string)[] | ({
|
|
10344
|
-
|
|
10851
|
+
|
|
10852
|
+
pattern: string
|
|
10853
|
+
|
|
10345
10854
|
flags?: string
|
|
10346
10855
|
} | string))
|
|
10347
10856
|
sortBy?: ("name" | "value")
|
|
10348
10857
|
}[]
|
|
10349
10858
|
} | {
|
|
10350
|
-
|
|
10351
|
-
newlinesInside?: ("always" | "never")
|
|
10859
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10352
10860
|
|
|
10353
10861
|
fallbackSort?: {
|
|
10354
10862
|
|
|
@@ -10356,10 +10864,9 @@ type PerfectionistSortInterfaces = {
|
|
|
10356
10864
|
|
|
10357
10865
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10358
10866
|
sortBy?: ("name" | "value")
|
|
10359
|
-
[k: string]: unknown | undefined
|
|
10360
10867
|
}
|
|
10361
10868
|
|
|
10362
|
-
groupName
|
|
10869
|
+
groupName: string
|
|
10363
10870
|
|
|
10364
10871
|
order?: ("asc" | "desc")
|
|
10365
10872
|
|
|
@@ -10370,93 +10877,127 @@ type PerfectionistSortInterfaces = {
|
|
|
10370
10877
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10371
10878
|
|
|
10372
10879
|
elementValuePattern?: (({
|
|
10373
|
-
|
|
10880
|
+
|
|
10881
|
+
pattern: string
|
|
10882
|
+
|
|
10374
10883
|
flags?: string
|
|
10375
10884
|
} | string)[] | ({
|
|
10376
|
-
|
|
10885
|
+
|
|
10886
|
+
pattern: string
|
|
10887
|
+
|
|
10377
10888
|
flags?: string
|
|
10378
10889
|
} | string))
|
|
10379
10890
|
|
|
10380
10891
|
elementNamePattern?: (({
|
|
10381
|
-
|
|
10892
|
+
|
|
10893
|
+
pattern: string
|
|
10894
|
+
|
|
10382
10895
|
flags?: string
|
|
10383
10896
|
} | string)[] | ({
|
|
10384
|
-
|
|
10897
|
+
|
|
10898
|
+
pattern: string
|
|
10899
|
+
|
|
10385
10900
|
flags?: string
|
|
10386
10901
|
} | string))
|
|
10387
10902
|
sortBy?: ("name" | "value")
|
|
10388
10903
|
})[])
|
|
10904
|
+
|
|
10905
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10906
|
+
|
|
10389
10907
|
useConfigurationIf?: {
|
|
10390
10908
|
|
|
10391
10909
|
allNamesMatchPattern?: (({
|
|
10392
|
-
|
|
10910
|
+
|
|
10911
|
+
pattern: string
|
|
10912
|
+
|
|
10393
10913
|
flags?: string
|
|
10394
10914
|
} | string)[] | ({
|
|
10395
|
-
|
|
10915
|
+
|
|
10916
|
+
pattern: string
|
|
10917
|
+
|
|
10396
10918
|
flags?: string
|
|
10397
10919
|
} | string))
|
|
10398
10920
|
|
|
10399
10921
|
declarationMatchesPattern?: (({
|
|
10400
|
-
|
|
10922
|
+
|
|
10923
|
+
pattern: string
|
|
10924
|
+
|
|
10401
10925
|
flags?: string
|
|
10402
10926
|
} | string)[] | ({
|
|
10403
|
-
|
|
10927
|
+
|
|
10928
|
+
pattern: string
|
|
10929
|
+
|
|
10404
10930
|
flags?: string
|
|
10405
10931
|
} | string))
|
|
10406
10932
|
}
|
|
10407
10933
|
|
|
10408
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10409
|
-
|
|
10410
10934
|
partitionByComment?: (boolean | (({
|
|
10411
|
-
|
|
10935
|
+
|
|
10936
|
+
pattern: string
|
|
10937
|
+
|
|
10412
10938
|
flags?: string
|
|
10413
10939
|
} | string)[] | ({
|
|
10414
|
-
|
|
10940
|
+
|
|
10941
|
+
pattern: string
|
|
10942
|
+
|
|
10415
10943
|
flags?: string
|
|
10416
10944
|
} | string)) | {
|
|
10945
|
+
|
|
10417
10946
|
block?: (boolean | (({
|
|
10418
|
-
|
|
10947
|
+
|
|
10948
|
+
pattern: string
|
|
10949
|
+
|
|
10419
10950
|
flags?: string
|
|
10420
10951
|
} | string)[] | ({
|
|
10421
|
-
|
|
10952
|
+
|
|
10953
|
+
pattern: string
|
|
10954
|
+
|
|
10422
10955
|
flags?: string
|
|
10423
10956
|
} | string)))
|
|
10957
|
+
|
|
10424
10958
|
line?: (boolean | (({
|
|
10425
|
-
|
|
10959
|
+
|
|
10960
|
+
pattern: string
|
|
10961
|
+
|
|
10426
10962
|
flags?: string
|
|
10427
10963
|
} | string)[] | ({
|
|
10428
|
-
|
|
10964
|
+
|
|
10965
|
+
pattern: string
|
|
10966
|
+
|
|
10429
10967
|
flags?: string
|
|
10430
10968
|
} | string)))
|
|
10431
10969
|
})
|
|
10432
10970
|
|
|
10433
10971
|
partitionByNewLine?: boolean
|
|
10434
|
-
|
|
10435
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10972
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10436
10973
|
|
|
10437
10974
|
ignorePattern?: (({
|
|
10438
|
-
|
|
10975
|
+
|
|
10976
|
+
pattern: string
|
|
10977
|
+
|
|
10439
10978
|
flags?: string
|
|
10440
10979
|
} | string)[] | ({
|
|
10441
|
-
|
|
10980
|
+
|
|
10981
|
+
pattern: string
|
|
10982
|
+
|
|
10442
10983
|
flags?: string
|
|
10443
10984
|
} | string))
|
|
10444
10985
|
sortBy?: ("name" | "value")
|
|
10445
10986
|
|
|
10446
10987
|
groups?: (string | string[] | {
|
|
10988
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10447
10989
|
|
|
10448
|
-
|
|
10990
|
+
commentAbove?: string
|
|
10449
10991
|
})[]
|
|
10450
10992
|
}[]
|
|
10451
10993
|
// ----- perfectionist/sort-intersection-types -----
|
|
10452
|
-
type PerfectionistSortIntersectionTypes =
|
|
10994
|
+
type PerfectionistSortIntersectionTypes = {
|
|
10453
10995
|
|
|
10454
10996
|
fallbackSort?: {
|
|
10455
10997
|
|
|
10456
10998
|
order?: ("asc" | "desc")
|
|
10457
10999
|
|
|
10458
11000
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10459
|
-
[k: string]: unknown | undefined
|
|
10460
11001
|
}
|
|
10461
11002
|
|
|
10462
11003
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10471,38 +11012,114 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10471
11012
|
|
|
10472
11013
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10473
11014
|
|
|
11015
|
+
customGroups?: ({
|
|
11016
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11017
|
+
|
|
11018
|
+
fallbackSort?: {
|
|
11019
|
+
|
|
11020
|
+
order?: ("asc" | "desc")
|
|
11021
|
+
|
|
11022
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11023
|
+
}
|
|
11024
|
+
|
|
11025
|
+
groupName: string
|
|
11026
|
+
|
|
11027
|
+
order?: ("asc" | "desc")
|
|
11028
|
+
|
|
11029
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11030
|
+
anyOf?: {
|
|
11031
|
+
|
|
11032
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
11033
|
+
|
|
11034
|
+
elementNamePattern?: (({
|
|
11035
|
+
|
|
11036
|
+
pattern: string
|
|
11037
|
+
|
|
11038
|
+
flags?: string
|
|
11039
|
+
} | string)[] | ({
|
|
11040
|
+
|
|
11041
|
+
pattern: string
|
|
11042
|
+
|
|
11043
|
+
flags?: string
|
|
11044
|
+
} | string))
|
|
11045
|
+
}[]
|
|
11046
|
+
} | {
|
|
11047
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11048
|
+
|
|
11049
|
+
fallbackSort?: {
|
|
11050
|
+
|
|
11051
|
+
order?: ("asc" | "desc")
|
|
11052
|
+
|
|
11053
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11054
|
+
}
|
|
11055
|
+
|
|
11056
|
+
groupName: string
|
|
11057
|
+
|
|
11058
|
+
order?: ("asc" | "desc")
|
|
11059
|
+
|
|
11060
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11061
|
+
|
|
11062
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
11063
|
+
|
|
11064
|
+
elementNamePattern?: (({
|
|
11065
|
+
|
|
11066
|
+
pattern: string
|
|
11067
|
+
|
|
11068
|
+
flags?: string
|
|
11069
|
+
} | string)[] | ({
|
|
11070
|
+
|
|
11071
|
+
pattern: string
|
|
11072
|
+
|
|
11073
|
+
flags?: string
|
|
11074
|
+
} | string))
|
|
11075
|
+
})[]
|
|
11076
|
+
|
|
10474
11077
|
partitionByComment?: (boolean | (({
|
|
10475
|
-
|
|
11078
|
+
|
|
11079
|
+
pattern: string
|
|
11080
|
+
|
|
10476
11081
|
flags?: string
|
|
10477
11082
|
} | string)[] | ({
|
|
10478
|
-
|
|
11083
|
+
|
|
11084
|
+
pattern: string
|
|
11085
|
+
|
|
10479
11086
|
flags?: string
|
|
10480
11087
|
} | string)) | {
|
|
11088
|
+
|
|
10481
11089
|
block?: (boolean | (({
|
|
10482
|
-
|
|
11090
|
+
|
|
11091
|
+
pattern: string
|
|
11092
|
+
|
|
10483
11093
|
flags?: string
|
|
10484
11094
|
} | string)[] | ({
|
|
10485
|
-
|
|
11095
|
+
|
|
11096
|
+
pattern: string
|
|
11097
|
+
|
|
10486
11098
|
flags?: string
|
|
10487
11099
|
} | string)))
|
|
11100
|
+
|
|
10488
11101
|
line?: (boolean | (({
|
|
10489
|
-
|
|
11102
|
+
|
|
11103
|
+
pattern: string
|
|
11104
|
+
|
|
10490
11105
|
flags?: string
|
|
10491
11106
|
} | string)[] | ({
|
|
10492
|
-
|
|
11107
|
+
|
|
11108
|
+
pattern: string
|
|
11109
|
+
|
|
10493
11110
|
flags?: string
|
|
10494
11111
|
} | string)))
|
|
10495
11112
|
})
|
|
10496
11113
|
|
|
10497
11114
|
partitionByNewLine?: boolean
|
|
10498
|
-
|
|
10499
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11115
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10500
11116
|
|
|
10501
11117
|
groups?: (string | string[] | {
|
|
11118
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10502
11119
|
|
|
10503
|
-
|
|
11120
|
+
commentAbove?: string
|
|
10504
11121
|
})[]
|
|
10505
|
-
}]
|
|
11122
|
+
}[]
|
|
10506
11123
|
// ----- perfectionist/sort-jsx-props -----
|
|
10507
11124
|
type PerfectionistSortJsxProps = {
|
|
10508
11125
|
|
|
@@ -10511,7 +11128,6 @@ type PerfectionistSortJsxProps = {
|
|
|
10511
11128
|
order?: ("asc" | "desc")
|
|
10512
11129
|
|
|
10513
11130
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10514
|
-
[k: string]: unknown | undefined
|
|
10515
11131
|
}
|
|
10516
11132
|
|
|
10517
11133
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10524,45 +11140,145 @@ type PerfectionistSortJsxProps = {
|
|
|
10524
11140
|
|
|
10525
11141
|
order?: ("asc" | "desc")
|
|
10526
11142
|
|
|
10527
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11143
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11144
|
+
customGroups?: ({
|
|
11145
|
+
[k: string]: (string | string[]) | undefined
|
|
11146
|
+
} | ({
|
|
11147
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11148
|
+
|
|
11149
|
+
fallbackSort?: {
|
|
11150
|
+
|
|
11151
|
+
order?: ("asc" | "desc")
|
|
11152
|
+
|
|
11153
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11154
|
+
}
|
|
11155
|
+
|
|
11156
|
+
groupName: string
|
|
11157
|
+
|
|
11158
|
+
order?: ("asc" | "desc")
|
|
11159
|
+
|
|
11160
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11161
|
+
anyOf?: {
|
|
11162
|
+
|
|
11163
|
+
modifiers?: ("shorthand" | "multiline")[]
|
|
11164
|
+
|
|
11165
|
+
selector?: ("multiline" | "prop" | "shorthand")
|
|
11166
|
+
|
|
11167
|
+
elementValuePattern?: (({
|
|
11168
|
+
|
|
11169
|
+
pattern: string
|
|
11170
|
+
|
|
11171
|
+
flags?: string
|
|
11172
|
+
} | string)[] | ({
|
|
11173
|
+
|
|
11174
|
+
pattern: string
|
|
11175
|
+
|
|
11176
|
+
flags?: string
|
|
11177
|
+
} | string))
|
|
11178
|
+
|
|
11179
|
+
elementNamePattern?: (({
|
|
11180
|
+
|
|
11181
|
+
pattern: string
|
|
11182
|
+
|
|
11183
|
+
flags?: string
|
|
11184
|
+
} | string)[] | ({
|
|
11185
|
+
|
|
11186
|
+
pattern: string
|
|
11187
|
+
|
|
11188
|
+
flags?: string
|
|
11189
|
+
} | string))
|
|
11190
|
+
}[]
|
|
11191
|
+
} | {
|
|
11192
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11193
|
+
|
|
11194
|
+
fallbackSort?: {
|
|
11195
|
+
|
|
11196
|
+
order?: ("asc" | "desc")
|
|
11197
|
+
|
|
11198
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11199
|
+
}
|
|
11200
|
+
|
|
11201
|
+
groupName: string
|
|
11202
|
+
|
|
11203
|
+
order?: ("asc" | "desc")
|
|
11204
|
+
|
|
11205
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11206
|
+
|
|
11207
|
+
modifiers?: ("shorthand" | "multiline")[]
|
|
11208
|
+
|
|
11209
|
+
selector?: ("multiline" | "prop" | "shorthand")
|
|
11210
|
+
|
|
11211
|
+
elementValuePattern?: (({
|
|
11212
|
+
|
|
11213
|
+
pattern: string
|
|
11214
|
+
|
|
11215
|
+
flags?: string
|
|
11216
|
+
} | string)[] | ({
|
|
11217
|
+
|
|
11218
|
+
pattern: string
|
|
11219
|
+
|
|
11220
|
+
flags?: string
|
|
11221
|
+
} | string))
|
|
11222
|
+
|
|
11223
|
+
elementNamePattern?: (({
|
|
11224
|
+
|
|
11225
|
+
pattern: string
|
|
11226
|
+
|
|
11227
|
+
flags?: string
|
|
11228
|
+
} | string)[] | ({
|
|
11229
|
+
|
|
11230
|
+
pattern: string
|
|
11231
|
+
|
|
11232
|
+
flags?: string
|
|
11233
|
+
} | string))
|
|
11234
|
+
})[])
|
|
11235
|
+
|
|
10528
11236
|
useConfigurationIf?: {
|
|
10529
11237
|
|
|
10530
11238
|
allNamesMatchPattern?: (({
|
|
10531
|
-
|
|
11239
|
+
|
|
11240
|
+
pattern: string
|
|
11241
|
+
|
|
10532
11242
|
flags?: string
|
|
10533
11243
|
} | string)[] | ({
|
|
10534
|
-
|
|
11244
|
+
|
|
11245
|
+
pattern: string
|
|
11246
|
+
|
|
10535
11247
|
flags?: string
|
|
10536
11248
|
} | string))
|
|
10537
11249
|
|
|
10538
11250
|
tagMatchesPattern?: (({
|
|
10539
|
-
|
|
11251
|
+
|
|
11252
|
+
pattern: string
|
|
11253
|
+
|
|
10540
11254
|
flags?: string
|
|
10541
11255
|
} | string)[] | ({
|
|
10542
|
-
|
|
11256
|
+
|
|
11257
|
+
pattern: string
|
|
11258
|
+
|
|
10543
11259
|
flags?: string
|
|
10544
11260
|
} | string))
|
|
10545
11261
|
}
|
|
10546
11262
|
|
|
10547
11263
|
partitionByNewLine?: boolean
|
|
10548
|
-
|
|
10549
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10550
|
-
|
|
10551
|
-
customGroups?: {
|
|
10552
|
-
[k: string]: (string | string[]) | undefined
|
|
10553
|
-
}
|
|
11264
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10554
11265
|
|
|
10555
11266
|
ignorePattern?: (({
|
|
10556
|
-
|
|
11267
|
+
|
|
11268
|
+
pattern: string
|
|
11269
|
+
|
|
10557
11270
|
flags?: string
|
|
10558
11271
|
} | string)[] | ({
|
|
10559
|
-
|
|
11272
|
+
|
|
11273
|
+
pattern: string
|
|
11274
|
+
|
|
10560
11275
|
flags?: string
|
|
10561
11276
|
} | string))
|
|
10562
11277
|
|
|
10563
11278
|
groups?: (string | string[] | {
|
|
11279
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10564
11280
|
|
|
10565
|
-
|
|
11281
|
+
commentAbove?: string
|
|
10566
11282
|
})[]
|
|
10567
11283
|
}[]
|
|
10568
11284
|
// ----- perfectionist/sort-maps -----
|
|
@@ -10573,7 +11289,6 @@ type PerfectionistSortMaps = {
|
|
|
10573
11289
|
order?: ("asc" | "desc")
|
|
10574
11290
|
|
|
10575
11291
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10576
|
-
[k: string]: unknown | undefined
|
|
10577
11292
|
}
|
|
10578
11293
|
|
|
10579
11294
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10589,18 +11304,16 @@ type PerfectionistSortMaps = {
|
|
|
10589
11304
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10590
11305
|
|
|
10591
11306
|
customGroups?: ({
|
|
10592
|
-
|
|
10593
|
-
newlinesInside?: ("always" | "never")
|
|
11307
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10594
11308
|
|
|
10595
11309
|
fallbackSort?: {
|
|
10596
11310
|
|
|
10597
11311
|
order?: ("asc" | "desc")
|
|
10598
11312
|
|
|
10599
11313
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10600
|
-
[k: string]: unknown | undefined
|
|
10601
11314
|
}
|
|
10602
11315
|
|
|
10603
|
-
groupName
|
|
11316
|
+
groupName: string
|
|
10604
11317
|
|
|
10605
11318
|
order?: ("asc" | "desc")
|
|
10606
11319
|
|
|
@@ -10608,80 +11321,105 @@ type PerfectionistSortMaps = {
|
|
|
10608
11321
|
anyOf?: {
|
|
10609
11322
|
|
|
10610
11323
|
elementNamePattern?: (({
|
|
10611
|
-
|
|
11324
|
+
|
|
11325
|
+
pattern: string
|
|
11326
|
+
|
|
10612
11327
|
flags?: string
|
|
10613
11328
|
} | string)[] | ({
|
|
10614
|
-
|
|
11329
|
+
|
|
11330
|
+
pattern: string
|
|
11331
|
+
|
|
10615
11332
|
flags?: string
|
|
10616
11333
|
} | string))
|
|
10617
11334
|
}[]
|
|
10618
11335
|
} | {
|
|
10619
|
-
|
|
10620
|
-
newlinesInside?: ("always" | "never")
|
|
11336
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10621
11337
|
|
|
10622
11338
|
fallbackSort?: {
|
|
10623
11339
|
|
|
10624
11340
|
order?: ("asc" | "desc")
|
|
10625
11341
|
|
|
10626
11342
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10627
|
-
[k: string]: unknown | undefined
|
|
10628
11343
|
}
|
|
10629
11344
|
|
|
10630
|
-
groupName
|
|
11345
|
+
groupName: string
|
|
10631
11346
|
|
|
10632
11347
|
order?: ("asc" | "desc")
|
|
10633
11348
|
|
|
10634
11349
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10635
11350
|
|
|
10636
11351
|
elementNamePattern?: (({
|
|
10637
|
-
|
|
11352
|
+
|
|
11353
|
+
pattern: string
|
|
11354
|
+
|
|
10638
11355
|
flags?: string
|
|
10639
11356
|
} | string)[] | ({
|
|
10640
|
-
|
|
11357
|
+
|
|
11358
|
+
pattern: string
|
|
11359
|
+
|
|
10641
11360
|
flags?: string
|
|
10642
11361
|
} | string))
|
|
10643
11362
|
})[]
|
|
11363
|
+
|
|
10644
11364
|
useConfigurationIf?: {
|
|
10645
11365
|
|
|
10646
11366
|
allNamesMatchPattern?: (({
|
|
10647
|
-
|
|
11367
|
+
|
|
11368
|
+
pattern: string
|
|
11369
|
+
|
|
10648
11370
|
flags?: string
|
|
10649
11371
|
} | string)[] | ({
|
|
10650
|
-
|
|
11372
|
+
|
|
11373
|
+
pattern: string
|
|
11374
|
+
|
|
10651
11375
|
flags?: string
|
|
10652
11376
|
} | string))
|
|
10653
11377
|
}
|
|
10654
11378
|
|
|
10655
11379
|
partitionByComment?: (boolean | (({
|
|
10656
|
-
|
|
11380
|
+
|
|
11381
|
+
pattern: string
|
|
11382
|
+
|
|
10657
11383
|
flags?: string
|
|
10658
11384
|
} | string)[] | ({
|
|
10659
|
-
|
|
11385
|
+
|
|
11386
|
+
pattern: string
|
|
11387
|
+
|
|
10660
11388
|
flags?: string
|
|
10661
11389
|
} | string)) | {
|
|
11390
|
+
|
|
10662
11391
|
block?: (boolean | (({
|
|
10663
|
-
|
|
11392
|
+
|
|
11393
|
+
pattern: string
|
|
11394
|
+
|
|
10664
11395
|
flags?: string
|
|
10665
11396
|
} | string)[] | ({
|
|
10666
|
-
|
|
11397
|
+
|
|
11398
|
+
pattern: string
|
|
11399
|
+
|
|
10667
11400
|
flags?: string
|
|
10668
11401
|
} | string)))
|
|
11402
|
+
|
|
10669
11403
|
line?: (boolean | (({
|
|
10670
|
-
|
|
11404
|
+
|
|
11405
|
+
pattern: string
|
|
11406
|
+
|
|
10671
11407
|
flags?: string
|
|
10672
11408
|
} | string)[] | ({
|
|
10673
|
-
|
|
11409
|
+
|
|
11410
|
+
pattern: string
|
|
11411
|
+
|
|
10674
11412
|
flags?: string
|
|
10675
11413
|
} | string)))
|
|
10676
11414
|
})
|
|
10677
11415
|
|
|
10678
11416
|
partitionByNewLine?: boolean
|
|
10679
|
-
|
|
10680
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11417
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10681
11418
|
|
|
10682
11419
|
groups?: (string | string[] | {
|
|
11420
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10683
11421
|
|
|
10684
|
-
|
|
11422
|
+
commentAbove?: string
|
|
10685
11423
|
})[]
|
|
10686
11424
|
}[]
|
|
10687
11425
|
// ----- perfectionist/sort-modules -----
|
|
@@ -10692,7 +11430,6 @@ type PerfectionistSortModules = []|[{
|
|
|
10692
11430
|
order?: ("asc" | "desc")
|
|
10693
11431
|
|
|
10694
11432
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10695
|
-
[k: string]: unknown | undefined
|
|
10696
11433
|
}
|
|
10697
11434
|
|
|
10698
11435
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10708,18 +11445,16 @@ type PerfectionistSortModules = []|[{
|
|
|
10708
11445
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10709
11446
|
|
|
10710
11447
|
customGroups?: ({
|
|
10711
|
-
|
|
10712
|
-
newlinesInside?: ("always" | "never")
|
|
11448
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10713
11449
|
|
|
10714
11450
|
fallbackSort?: {
|
|
10715
11451
|
|
|
10716
11452
|
order?: ("asc" | "desc")
|
|
10717
11453
|
|
|
10718
11454
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10719
|
-
[k: string]: unknown | undefined
|
|
10720
11455
|
}
|
|
10721
11456
|
|
|
10722
|
-
groupName
|
|
11457
|
+
groupName: string
|
|
10723
11458
|
|
|
10724
11459
|
order?: ("asc" | "desc")
|
|
10725
11460
|
|
|
@@ -10731,34 +11466,40 @@ type PerfectionistSortModules = []|[{
|
|
|
10731
11466
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10732
11467
|
|
|
10733
11468
|
decoratorNamePattern?: (({
|
|
10734
|
-
|
|
11469
|
+
|
|
11470
|
+
pattern: string
|
|
11471
|
+
|
|
10735
11472
|
flags?: string
|
|
10736
11473
|
} | string)[] | ({
|
|
10737
|
-
|
|
11474
|
+
|
|
11475
|
+
pattern: string
|
|
11476
|
+
|
|
10738
11477
|
flags?: string
|
|
10739
11478
|
} | string))
|
|
10740
11479
|
|
|
10741
11480
|
elementNamePattern?: (({
|
|
10742
|
-
|
|
11481
|
+
|
|
11482
|
+
pattern: string
|
|
11483
|
+
|
|
10743
11484
|
flags?: string
|
|
10744
11485
|
} | string)[] | ({
|
|
10745
|
-
|
|
11486
|
+
|
|
11487
|
+
pattern: string
|
|
11488
|
+
|
|
10746
11489
|
flags?: string
|
|
10747
11490
|
} | string))
|
|
10748
11491
|
}[]
|
|
10749
11492
|
} | {
|
|
10750
|
-
|
|
10751
|
-
newlinesInside?: ("always" | "never")
|
|
11493
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10752
11494
|
|
|
10753
11495
|
fallbackSort?: {
|
|
10754
11496
|
|
|
10755
11497
|
order?: ("asc" | "desc")
|
|
10756
11498
|
|
|
10757
11499
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10758
|
-
[k: string]: unknown | undefined
|
|
10759
11500
|
}
|
|
10760
11501
|
|
|
10761
|
-
groupName
|
|
11502
|
+
groupName: string
|
|
10762
11503
|
|
|
10763
11504
|
order?: ("asc" | "desc")
|
|
10764
11505
|
|
|
@@ -10769,63 +11510,84 @@ type PerfectionistSortModules = []|[{
|
|
|
10769
11510
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10770
11511
|
|
|
10771
11512
|
decoratorNamePattern?: (({
|
|
10772
|
-
|
|
11513
|
+
|
|
11514
|
+
pattern: string
|
|
11515
|
+
|
|
10773
11516
|
flags?: string
|
|
10774
11517
|
} | string)[] | ({
|
|
10775
|
-
|
|
11518
|
+
|
|
11519
|
+
pattern: string
|
|
11520
|
+
|
|
10776
11521
|
flags?: string
|
|
10777
11522
|
} | string))
|
|
10778
11523
|
|
|
10779
11524
|
elementNamePattern?: (({
|
|
10780
|
-
|
|
11525
|
+
|
|
11526
|
+
pattern: string
|
|
11527
|
+
|
|
10781
11528
|
flags?: string
|
|
10782
11529
|
} | string)[] | ({
|
|
10783
|
-
|
|
11530
|
+
|
|
11531
|
+
pattern: string
|
|
11532
|
+
|
|
10784
11533
|
flags?: string
|
|
10785
11534
|
} | string))
|
|
10786
11535
|
})[]
|
|
10787
11536
|
|
|
10788
11537
|
partitionByComment?: (boolean | (({
|
|
10789
|
-
|
|
11538
|
+
|
|
11539
|
+
pattern: string
|
|
11540
|
+
|
|
10790
11541
|
flags?: string
|
|
10791
11542
|
} | string)[] | ({
|
|
10792
|
-
|
|
11543
|
+
|
|
11544
|
+
pattern: string
|
|
11545
|
+
|
|
10793
11546
|
flags?: string
|
|
10794
11547
|
} | string)) | {
|
|
11548
|
+
|
|
10795
11549
|
block?: (boolean | (({
|
|
10796
|
-
|
|
11550
|
+
|
|
11551
|
+
pattern: string
|
|
11552
|
+
|
|
10797
11553
|
flags?: string
|
|
10798
11554
|
} | string)[] | ({
|
|
10799
|
-
|
|
11555
|
+
|
|
11556
|
+
pattern: string
|
|
11557
|
+
|
|
10800
11558
|
flags?: string
|
|
10801
11559
|
} | string)))
|
|
11560
|
+
|
|
10802
11561
|
line?: (boolean | (({
|
|
10803
|
-
|
|
11562
|
+
|
|
11563
|
+
pattern: string
|
|
11564
|
+
|
|
10804
11565
|
flags?: string
|
|
10805
11566
|
} | string)[] | ({
|
|
10806
|
-
|
|
11567
|
+
|
|
11568
|
+
pattern: string
|
|
11569
|
+
|
|
10807
11570
|
flags?: string
|
|
10808
11571
|
} | string)))
|
|
10809
11572
|
})
|
|
10810
11573
|
|
|
10811
11574
|
partitionByNewLine?: boolean
|
|
10812
|
-
|
|
10813
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11575
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10814
11576
|
|
|
10815
11577
|
groups?: (string | string[] | {
|
|
11578
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
10816
11579
|
|
|
10817
|
-
|
|
11580
|
+
commentAbove?: string
|
|
10818
11581
|
})[]
|
|
10819
11582
|
}]
|
|
10820
11583
|
// ----- perfectionist/sort-named-exports -----
|
|
10821
|
-
type PerfectionistSortNamedExports =
|
|
11584
|
+
type PerfectionistSortNamedExports = {
|
|
10822
11585
|
|
|
10823
11586
|
fallbackSort?: {
|
|
10824
11587
|
|
|
10825
11588
|
order?: ("asc" | "desc")
|
|
10826
11589
|
|
|
10827
11590
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10828
|
-
[k: string]: unknown | undefined
|
|
10829
11591
|
}
|
|
10830
11592
|
|
|
10831
11593
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10844,40 +11606,126 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10844
11606
|
|
|
10845
11607
|
ignoreAlias?: boolean
|
|
10846
11608
|
|
|
11609
|
+
customGroups?: ({
|
|
11610
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11611
|
+
|
|
11612
|
+
fallbackSort?: {
|
|
11613
|
+
|
|
11614
|
+
order?: ("asc" | "desc")
|
|
11615
|
+
|
|
11616
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11617
|
+
}
|
|
11618
|
+
|
|
11619
|
+
groupName: string
|
|
11620
|
+
|
|
11621
|
+
order?: ("asc" | "desc")
|
|
11622
|
+
|
|
11623
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11624
|
+
anyOf?: {
|
|
11625
|
+
|
|
11626
|
+
modifiers?: ("value" | "type")[]
|
|
11627
|
+
|
|
11628
|
+
selector?: "export"
|
|
11629
|
+
|
|
11630
|
+
elementNamePattern?: (({
|
|
11631
|
+
|
|
11632
|
+
pattern: string
|
|
11633
|
+
|
|
11634
|
+
flags?: string
|
|
11635
|
+
} | string)[] | ({
|
|
11636
|
+
|
|
11637
|
+
pattern: string
|
|
11638
|
+
|
|
11639
|
+
flags?: string
|
|
11640
|
+
} | string))
|
|
11641
|
+
}[]
|
|
11642
|
+
} | {
|
|
11643
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11644
|
+
|
|
11645
|
+
fallbackSort?: {
|
|
11646
|
+
|
|
11647
|
+
order?: ("asc" | "desc")
|
|
11648
|
+
|
|
11649
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11650
|
+
}
|
|
11651
|
+
|
|
11652
|
+
groupName: string
|
|
11653
|
+
|
|
11654
|
+
order?: ("asc" | "desc")
|
|
11655
|
+
|
|
11656
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11657
|
+
|
|
11658
|
+
modifiers?: ("value" | "type")[]
|
|
11659
|
+
|
|
11660
|
+
selector?: "export"
|
|
11661
|
+
|
|
11662
|
+
elementNamePattern?: (({
|
|
11663
|
+
|
|
11664
|
+
pattern: string
|
|
11665
|
+
|
|
11666
|
+
flags?: string
|
|
11667
|
+
} | string)[] | ({
|
|
11668
|
+
|
|
11669
|
+
pattern: string
|
|
11670
|
+
|
|
11671
|
+
flags?: string
|
|
11672
|
+
} | string))
|
|
11673
|
+
})[]
|
|
11674
|
+
|
|
10847
11675
|
partitionByComment?: (boolean | (({
|
|
10848
|
-
|
|
11676
|
+
|
|
11677
|
+
pattern: string
|
|
11678
|
+
|
|
10849
11679
|
flags?: string
|
|
10850
11680
|
} | string)[] | ({
|
|
10851
|
-
|
|
11681
|
+
|
|
11682
|
+
pattern: string
|
|
11683
|
+
|
|
10852
11684
|
flags?: string
|
|
10853
11685
|
} | string)) | {
|
|
11686
|
+
|
|
10854
11687
|
block?: (boolean | (({
|
|
10855
|
-
|
|
11688
|
+
|
|
11689
|
+
pattern: string
|
|
11690
|
+
|
|
10856
11691
|
flags?: string
|
|
10857
11692
|
} | string)[] | ({
|
|
10858
|
-
|
|
11693
|
+
|
|
11694
|
+
pattern: string
|
|
11695
|
+
|
|
10859
11696
|
flags?: string
|
|
10860
11697
|
} | string)))
|
|
11698
|
+
|
|
10861
11699
|
line?: (boolean | (({
|
|
10862
|
-
|
|
11700
|
+
|
|
11701
|
+
pattern: string
|
|
11702
|
+
|
|
10863
11703
|
flags?: string
|
|
10864
11704
|
} | string)[] | ({
|
|
10865
|
-
|
|
11705
|
+
|
|
11706
|
+
pattern: string
|
|
11707
|
+
|
|
10866
11708
|
flags?: string
|
|
10867
11709
|
} | string)))
|
|
10868
11710
|
})
|
|
10869
11711
|
|
|
10870
11712
|
partitionByNewLine?: boolean
|
|
10871
|
-
|
|
11713
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11714
|
+
|
|
11715
|
+
groups?: (string | string[] | {
|
|
11716
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11717
|
+
|
|
11718
|
+
commentAbove?: string
|
|
11719
|
+
})[]
|
|
11720
|
+
}[]
|
|
10872
11721
|
// ----- perfectionist/sort-named-imports -----
|
|
10873
|
-
type PerfectionistSortNamedImports =
|
|
11722
|
+
type PerfectionistSortNamedImports = {
|
|
10874
11723
|
|
|
10875
11724
|
fallbackSort?: {
|
|
10876
11725
|
|
|
10877
11726
|
order?: ("asc" | "desc")
|
|
10878
11727
|
|
|
10879
11728
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10880
|
-
[k: string]: unknown | undefined
|
|
10881
11729
|
}
|
|
10882
11730
|
|
|
10883
11731
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10896,31 +11744,118 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10896
11744
|
|
|
10897
11745
|
ignoreAlias?: boolean
|
|
10898
11746
|
|
|
11747
|
+
customGroups?: ({
|
|
11748
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11749
|
+
|
|
11750
|
+
fallbackSort?: {
|
|
11751
|
+
|
|
11752
|
+
order?: ("asc" | "desc")
|
|
11753
|
+
|
|
11754
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11755
|
+
}
|
|
11756
|
+
|
|
11757
|
+
groupName: string
|
|
11758
|
+
|
|
11759
|
+
order?: ("asc" | "desc")
|
|
11760
|
+
|
|
11761
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11762
|
+
anyOf?: {
|
|
11763
|
+
|
|
11764
|
+
modifiers?: ("value" | "type")[]
|
|
11765
|
+
|
|
11766
|
+
selector?: "import"
|
|
11767
|
+
|
|
11768
|
+
elementNamePattern?: (({
|
|
11769
|
+
|
|
11770
|
+
pattern: string
|
|
11771
|
+
|
|
11772
|
+
flags?: string
|
|
11773
|
+
} | string)[] | ({
|
|
11774
|
+
|
|
11775
|
+
pattern: string
|
|
11776
|
+
|
|
11777
|
+
flags?: string
|
|
11778
|
+
} | string))
|
|
11779
|
+
}[]
|
|
11780
|
+
} | {
|
|
11781
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11782
|
+
|
|
11783
|
+
fallbackSort?: {
|
|
11784
|
+
|
|
11785
|
+
order?: ("asc" | "desc")
|
|
11786
|
+
|
|
11787
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11788
|
+
}
|
|
11789
|
+
|
|
11790
|
+
groupName: string
|
|
11791
|
+
|
|
11792
|
+
order?: ("asc" | "desc")
|
|
11793
|
+
|
|
11794
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11795
|
+
|
|
11796
|
+
modifiers?: ("value" | "type")[]
|
|
11797
|
+
|
|
11798
|
+
selector?: "import"
|
|
11799
|
+
|
|
11800
|
+
elementNamePattern?: (({
|
|
11801
|
+
|
|
11802
|
+
pattern: string
|
|
11803
|
+
|
|
11804
|
+
flags?: string
|
|
11805
|
+
} | string)[] | ({
|
|
11806
|
+
|
|
11807
|
+
pattern: string
|
|
11808
|
+
|
|
11809
|
+
flags?: string
|
|
11810
|
+
} | string))
|
|
11811
|
+
})[]
|
|
11812
|
+
|
|
10899
11813
|
partitionByComment?: (boolean | (({
|
|
10900
|
-
|
|
11814
|
+
|
|
11815
|
+
pattern: string
|
|
11816
|
+
|
|
10901
11817
|
flags?: string
|
|
10902
11818
|
} | string)[] | ({
|
|
10903
|
-
|
|
11819
|
+
|
|
11820
|
+
pattern: string
|
|
11821
|
+
|
|
10904
11822
|
flags?: string
|
|
10905
11823
|
} | string)) | {
|
|
11824
|
+
|
|
10906
11825
|
block?: (boolean | (({
|
|
10907
|
-
|
|
11826
|
+
|
|
11827
|
+
pattern: string
|
|
11828
|
+
|
|
10908
11829
|
flags?: string
|
|
10909
11830
|
} | string)[] | ({
|
|
10910
|
-
|
|
11831
|
+
|
|
11832
|
+
pattern: string
|
|
11833
|
+
|
|
10911
11834
|
flags?: string
|
|
10912
11835
|
} | string)))
|
|
11836
|
+
|
|
10913
11837
|
line?: (boolean | (({
|
|
10914
|
-
|
|
11838
|
+
|
|
11839
|
+
pattern: string
|
|
11840
|
+
|
|
10915
11841
|
flags?: string
|
|
10916
11842
|
} | string)[] | ({
|
|
10917
|
-
|
|
11843
|
+
|
|
11844
|
+
pattern: string
|
|
11845
|
+
|
|
10918
11846
|
flags?: string
|
|
10919
11847
|
} | string)))
|
|
10920
11848
|
})
|
|
10921
11849
|
|
|
10922
11850
|
partitionByNewLine?: boolean
|
|
10923
|
-
|
|
11851
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11852
|
+
|
|
11853
|
+
groups?: (string | string[] | {
|
|
11854
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11855
|
+
|
|
11856
|
+
commentAbove?: string
|
|
11857
|
+
})[]
|
|
11858
|
+
}[]
|
|
10924
11859
|
// ----- perfectionist/sort-object-types -----
|
|
10925
11860
|
type PerfectionistSortObjectTypes = {
|
|
10926
11861
|
|
|
@@ -10929,7 +11864,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10929
11864
|
order?: ("asc" | "desc")
|
|
10930
11865
|
|
|
10931
11866
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10932
|
-
|
|
11867
|
+
sortBy?: ("name" | "value")
|
|
10933
11868
|
}
|
|
10934
11869
|
|
|
10935
11870
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10946,8 +11881,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10946
11881
|
customGroups?: ({
|
|
10947
11882
|
[k: string]: (string | string[]) | undefined
|
|
10948
11883
|
} | ({
|
|
10949
|
-
|
|
10950
|
-
newlinesInside?: ("always" | "never")
|
|
11884
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10951
11885
|
|
|
10952
11886
|
fallbackSort?: {
|
|
10953
11887
|
|
|
@@ -10955,10 +11889,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
10955
11889
|
|
|
10956
11890
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10957
11891
|
sortBy?: ("name" | "value")
|
|
10958
|
-
[k: string]: unknown | undefined
|
|
10959
11892
|
}
|
|
10960
11893
|
|
|
10961
|
-
groupName
|
|
11894
|
+
groupName: string
|
|
10962
11895
|
|
|
10963
11896
|
order?: ("asc" | "desc")
|
|
10964
11897
|
|
|
@@ -10970,25 +11903,32 @@ type PerfectionistSortObjectTypes = {
|
|
|
10970
11903
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10971
11904
|
|
|
10972
11905
|
elementValuePattern?: (({
|
|
10973
|
-
|
|
11906
|
+
|
|
11907
|
+
pattern: string
|
|
11908
|
+
|
|
10974
11909
|
flags?: string
|
|
10975
11910
|
} | string)[] | ({
|
|
10976
|
-
|
|
11911
|
+
|
|
11912
|
+
pattern: string
|
|
11913
|
+
|
|
10977
11914
|
flags?: string
|
|
10978
11915
|
} | string))
|
|
10979
11916
|
|
|
10980
11917
|
elementNamePattern?: (({
|
|
10981
|
-
|
|
11918
|
+
|
|
11919
|
+
pattern: string
|
|
11920
|
+
|
|
10982
11921
|
flags?: string
|
|
10983
11922
|
} | string)[] | ({
|
|
10984
|
-
|
|
11923
|
+
|
|
11924
|
+
pattern: string
|
|
11925
|
+
|
|
10985
11926
|
flags?: string
|
|
10986
11927
|
} | string))
|
|
10987
11928
|
sortBy?: ("name" | "value")
|
|
10988
11929
|
}[]
|
|
10989
11930
|
} | {
|
|
10990
|
-
|
|
10991
|
-
newlinesInside?: ("always" | "never")
|
|
11931
|
+
newlinesInside?: (("always" | "never") | number)
|
|
10992
11932
|
|
|
10993
11933
|
fallbackSort?: {
|
|
10994
11934
|
|
|
@@ -10996,10 +11936,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
10996
11936
|
|
|
10997
11937
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10998
11938
|
sortBy?: ("name" | "value")
|
|
10999
|
-
[k: string]: unknown | undefined
|
|
11000
11939
|
}
|
|
11001
11940
|
|
|
11002
|
-
groupName
|
|
11941
|
+
groupName: string
|
|
11003
11942
|
|
|
11004
11943
|
order?: ("asc" | "desc")
|
|
11005
11944
|
|
|
@@ -11010,82 +11949,117 @@ type PerfectionistSortObjectTypes = {
|
|
|
11010
11949
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11011
11950
|
|
|
11012
11951
|
elementValuePattern?: (({
|
|
11013
|
-
|
|
11952
|
+
|
|
11953
|
+
pattern: string
|
|
11954
|
+
|
|
11014
11955
|
flags?: string
|
|
11015
11956
|
} | string)[] | ({
|
|
11016
|
-
|
|
11957
|
+
|
|
11958
|
+
pattern: string
|
|
11959
|
+
|
|
11017
11960
|
flags?: string
|
|
11018
11961
|
} | string))
|
|
11019
11962
|
|
|
11020
11963
|
elementNamePattern?: (({
|
|
11021
|
-
|
|
11964
|
+
|
|
11965
|
+
pattern: string
|
|
11966
|
+
|
|
11022
11967
|
flags?: string
|
|
11023
11968
|
} | string)[] | ({
|
|
11024
|
-
|
|
11969
|
+
|
|
11970
|
+
pattern: string
|
|
11971
|
+
|
|
11025
11972
|
flags?: string
|
|
11026
11973
|
} | string))
|
|
11027
11974
|
sortBy?: ("name" | "value")
|
|
11028
11975
|
})[])
|
|
11976
|
+
|
|
11977
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11978
|
+
|
|
11029
11979
|
useConfigurationIf?: {
|
|
11030
11980
|
|
|
11031
11981
|
allNamesMatchPattern?: (({
|
|
11032
|
-
|
|
11982
|
+
|
|
11983
|
+
pattern: string
|
|
11984
|
+
|
|
11033
11985
|
flags?: string
|
|
11034
11986
|
} | string)[] | ({
|
|
11035
|
-
|
|
11987
|
+
|
|
11988
|
+
pattern: string
|
|
11989
|
+
|
|
11036
11990
|
flags?: string
|
|
11037
11991
|
} | string))
|
|
11038
11992
|
|
|
11039
11993
|
declarationMatchesPattern?: (({
|
|
11040
|
-
|
|
11994
|
+
|
|
11995
|
+
pattern: string
|
|
11996
|
+
|
|
11041
11997
|
flags?: string
|
|
11042
11998
|
} | string)[] | ({
|
|
11043
|
-
|
|
11999
|
+
|
|
12000
|
+
pattern: string
|
|
12001
|
+
|
|
11044
12002
|
flags?: string
|
|
11045
12003
|
} | string))
|
|
11046
12004
|
}
|
|
11047
12005
|
|
|
11048
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11049
|
-
|
|
11050
12006
|
partitionByComment?: (boolean | (({
|
|
11051
|
-
|
|
12007
|
+
|
|
12008
|
+
pattern: string
|
|
12009
|
+
|
|
11052
12010
|
flags?: string
|
|
11053
12011
|
} | string)[] | ({
|
|
11054
|
-
|
|
12012
|
+
|
|
12013
|
+
pattern: string
|
|
12014
|
+
|
|
11055
12015
|
flags?: string
|
|
11056
12016
|
} | string)) | {
|
|
12017
|
+
|
|
11057
12018
|
block?: (boolean | (({
|
|
11058
|
-
|
|
12019
|
+
|
|
12020
|
+
pattern: string
|
|
12021
|
+
|
|
11059
12022
|
flags?: string
|
|
11060
12023
|
} | string)[] | ({
|
|
11061
|
-
|
|
12024
|
+
|
|
12025
|
+
pattern: string
|
|
12026
|
+
|
|
11062
12027
|
flags?: string
|
|
11063
12028
|
} | string)))
|
|
12029
|
+
|
|
11064
12030
|
line?: (boolean | (({
|
|
11065
|
-
|
|
12031
|
+
|
|
12032
|
+
pattern: string
|
|
12033
|
+
|
|
11066
12034
|
flags?: string
|
|
11067
12035
|
} | string)[] | ({
|
|
11068
|
-
|
|
12036
|
+
|
|
12037
|
+
pattern: string
|
|
12038
|
+
|
|
11069
12039
|
flags?: string
|
|
11070
12040
|
} | string)))
|
|
11071
12041
|
})
|
|
11072
12042
|
|
|
11073
12043
|
partitionByNewLine?: boolean
|
|
11074
|
-
|
|
11075
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12044
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11076
12045
|
|
|
11077
12046
|
ignorePattern?: (({
|
|
11078
|
-
|
|
12047
|
+
|
|
12048
|
+
pattern: string
|
|
12049
|
+
|
|
11079
12050
|
flags?: string
|
|
11080
12051
|
} | string)[] | ({
|
|
11081
|
-
|
|
12052
|
+
|
|
12053
|
+
pattern: string
|
|
12054
|
+
|
|
11082
12055
|
flags?: string
|
|
11083
12056
|
} | string))
|
|
11084
12057
|
sortBy?: ("name" | "value")
|
|
11085
12058
|
|
|
11086
12059
|
groups?: (string | string[] | {
|
|
12060
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11087
12061
|
|
|
11088
|
-
|
|
12062
|
+
commentAbove?: string
|
|
11089
12063
|
})[]
|
|
11090
12064
|
}[]
|
|
11091
12065
|
// ----- perfectionist/sort-objects -----
|
|
@@ -11096,7 +12070,6 @@ type PerfectionistSortObjects = {
|
|
|
11096
12070
|
order?: ("asc" | "desc")
|
|
11097
12071
|
|
|
11098
12072
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11099
|
-
[k: string]: unknown | undefined
|
|
11100
12073
|
}
|
|
11101
12074
|
|
|
11102
12075
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11118,18 +12091,16 @@ type PerfectionistSortObjects = {
|
|
|
11118
12091
|
customGroups?: ({
|
|
11119
12092
|
[k: string]: (string | string[]) | undefined
|
|
11120
12093
|
} | ({
|
|
11121
|
-
|
|
11122
|
-
newlinesInside?: ("always" | "never")
|
|
12094
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11123
12095
|
|
|
11124
12096
|
fallbackSort?: {
|
|
11125
12097
|
|
|
11126
12098
|
order?: ("asc" | "desc")
|
|
11127
12099
|
|
|
11128
12100
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11129
|
-
[k: string]: unknown | undefined
|
|
11130
12101
|
}
|
|
11131
12102
|
|
|
11132
|
-
groupName
|
|
12103
|
+
groupName: string
|
|
11133
12104
|
|
|
11134
12105
|
order?: ("asc" | "desc")
|
|
11135
12106
|
|
|
@@ -11141,34 +12112,40 @@ type PerfectionistSortObjects = {
|
|
|
11141
12112
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
11142
12113
|
|
|
11143
12114
|
elementValuePattern?: (({
|
|
11144
|
-
|
|
12115
|
+
|
|
12116
|
+
pattern: string
|
|
12117
|
+
|
|
11145
12118
|
flags?: string
|
|
11146
12119
|
} | string)[] | ({
|
|
11147
|
-
|
|
12120
|
+
|
|
12121
|
+
pattern: string
|
|
12122
|
+
|
|
11148
12123
|
flags?: string
|
|
11149
12124
|
} | string))
|
|
11150
12125
|
|
|
11151
12126
|
elementNamePattern?: (({
|
|
11152
|
-
|
|
12127
|
+
|
|
12128
|
+
pattern: string
|
|
12129
|
+
|
|
11153
12130
|
flags?: string
|
|
11154
12131
|
} | string)[] | ({
|
|
11155
|
-
|
|
12132
|
+
|
|
12133
|
+
pattern: string
|
|
12134
|
+
|
|
11156
12135
|
flags?: string
|
|
11157
12136
|
} | string))
|
|
11158
12137
|
}[]
|
|
11159
12138
|
} | {
|
|
11160
|
-
|
|
11161
|
-
newlinesInside?: ("always" | "never")
|
|
12139
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11162
12140
|
|
|
11163
12141
|
fallbackSort?: {
|
|
11164
12142
|
|
|
11165
12143
|
order?: ("asc" | "desc")
|
|
11166
12144
|
|
|
11167
12145
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11168
|
-
[k: string]: unknown | undefined
|
|
11169
12146
|
}
|
|
11170
12147
|
|
|
11171
|
-
groupName
|
|
12148
|
+
groupName: string
|
|
11172
12149
|
|
|
11173
12150
|
order?: ("asc" | "desc")
|
|
11174
12151
|
|
|
@@ -11179,36 +12156,53 @@ type PerfectionistSortObjects = {
|
|
|
11179
12156
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
11180
12157
|
|
|
11181
12158
|
elementValuePattern?: (({
|
|
11182
|
-
|
|
12159
|
+
|
|
12160
|
+
pattern: string
|
|
12161
|
+
|
|
11183
12162
|
flags?: string
|
|
11184
12163
|
} | string)[] | ({
|
|
11185
|
-
|
|
12164
|
+
|
|
12165
|
+
pattern: string
|
|
12166
|
+
|
|
11186
12167
|
flags?: string
|
|
11187
12168
|
} | string))
|
|
11188
12169
|
|
|
11189
12170
|
elementNamePattern?: (({
|
|
11190
|
-
|
|
12171
|
+
|
|
12172
|
+
pattern: string
|
|
12173
|
+
|
|
11191
12174
|
flags?: string
|
|
11192
12175
|
} | string)[] | ({
|
|
11193
|
-
|
|
12176
|
+
|
|
12177
|
+
pattern: string
|
|
12178
|
+
|
|
11194
12179
|
flags?: string
|
|
11195
12180
|
} | string))
|
|
11196
12181
|
})[])
|
|
12182
|
+
|
|
11197
12183
|
useConfigurationIf?: {
|
|
11198
12184
|
|
|
11199
12185
|
allNamesMatchPattern?: (({
|
|
11200
|
-
|
|
12186
|
+
|
|
12187
|
+
pattern: string
|
|
12188
|
+
|
|
11201
12189
|
flags?: string
|
|
11202
12190
|
} | string)[] | ({
|
|
11203
|
-
|
|
12191
|
+
|
|
12192
|
+
pattern: string
|
|
12193
|
+
|
|
11204
12194
|
flags?: string
|
|
11205
12195
|
} | string))
|
|
11206
12196
|
|
|
11207
12197
|
callingFunctionNamePattern?: (({
|
|
11208
|
-
|
|
12198
|
+
|
|
12199
|
+
pattern: string
|
|
12200
|
+
|
|
11209
12201
|
flags?: string
|
|
11210
12202
|
} | string)[] | ({
|
|
11211
|
-
|
|
12203
|
+
|
|
12204
|
+
pattern: string
|
|
12205
|
+
|
|
11212
12206
|
flags?: string
|
|
11213
12207
|
} | string))
|
|
11214
12208
|
}
|
|
@@ -11220,43 +12214,61 @@ type PerfectionistSortObjects = {
|
|
|
11220
12214
|
styledComponents?: boolean
|
|
11221
12215
|
|
|
11222
12216
|
partitionByComment?: (boolean | (({
|
|
11223
|
-
|
|
12217
|
+
|
|
12218
|
+
pattern: string
|
|
12219
|
+
|
|
11224
12220
|
flags?: string
|
|
11225
12221
|
} | string)[] | ({
|
|
11226
|
-
|
|
12222
|
+
|
|
12223
|
+
pattern: string
|
|
12224
|
+
|
|
11227
12225
|
flags?: string
|
|
11228
12226
|
} | string)) | {
|
|
12227
|
+
|
|
11229
12228
|
block?: (boolean | (({
|
|
11230
|
-
|
|
12229
|
+
|
|
12230
|
+
pattern: string
|
|
12231
|
+
|
|
11231
12232
|
flags?: string
|
|
11232
12233
|
} | string)[] | ({
|
|
11233
|
-
|
|
12234
|
+
|
|
12235
|
+
pattern: string
|
|
12236
|
+
|
|
11234
12237
|
flags?: string
|
|
11235
12238
|
} | string)))
|
|
12239
|
+
|
|
11236
12240
|
line?: (boolean | (({
|
|
11237
|
-
|
|
12241
|
+
|
|
12242
|
+
pattern: string
|
|
12243
|
+
|
|
11238
12244
|
flags?: string
|
|
11239
12245
|
} | string)[] | ({
|
|
11240
|
-
|
|
12246
|
+
|
|
12247
|
+
pattern: string
|
|
12248
|
+
|
|
11241
12249
|
flags?: string
|
|
11242
12250
|
} | string)))
|
|
11243
12251
|
})
|
|
11244
12252
|
|
|
11245
12253
|
partitionByNewLine?: boolean
|
|
11246
|
-
|
|
11247
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12254
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11248
12255
|
|
|
11249
12256
|
ignorePattern?: (({
|
|
11250
|
-
|
|
12257
|
+
|
|
12258
|
+
pattern: string
|
|
12259
|
+
|
|
11251
12260
|
flags?: string
|
|
11252
12261
|
} | string)[] | ({
|
|
11253
|
-
|
|
12262
|
+
|
|
12263
|
+
pattern: string
|
|
12264
|
+
|
|
11254
12265
|
flags?: string
|
|
11255
12266
|
} | string))
|
|
11256
12267
|
|
|
11257
12268
|
groups?: (string | string[] | {
|
|
12269
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11258
12270
|
|
|
11259
|
-
|
|
12271
|
+
commentAbove?: string
|
|
11260
12272
|
})[]
|
|
11261
12273
|
}[]
|
|
11262
12274
|
// ----- perfectionist/sort-sets -----
|
|
@@ -11267,7 +12279,6 @@ type PerfectionistSortSets = {
|
|
|
11267
12279
|
order?: ("asc" | "desc")
|
|
11268
12280
|
|
|
11269
12281
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11270
|
-
[k: string]: unknown | undefined
|
|
11271
12282
|
}
|
|
11272
12283
|
|
|
11273
12284
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11285,18 +12296,16 @@ type PerfectionistSortSets = {
|
|
|
11285
12296
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11286
12297
|
|
|
11287
12298
|
customGroups?: ({
|
|
11288
|
-
|
|
11289
|
-
newlinesInside?: ("always" | "never")
|
|
12299
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11290
12300
|
|
|
11291
12301
|
fallbackSort?: {
|
|
11292
12302
|
|
|
11293
12303
|
order?: ("asc" | "desc")
|
|
11294
12304
|
|
|
11295
12305
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11296
|
-
[k: string]: unknown | undefined
|
|
11297
12306
|
}
|
|
11298
12307
|
|
|
11299
|
-
groupName
|
|
12308
|
+
groupName: string
|
|
11300
12309
|
|
|
11301
12310
|
order?: ("asc" | "desc")
|
|
11302
12311
|
|
|
@@ -11306,26 +12315,28 @@ type PerfectionistSortSets = {
|
|
|
11306
12315
|
selector?: ("literal" | "spread")
|
|
11307
12316
|
|
|
11308
12317
|
elementNamePattern?: (({
|
|
11309
|
-
|
|
12318
|
+
|
|
12319
|
+
pattern: string
|
|
12320
|
+
|
|
11310
12321
|
flags?: string
|
|
11311
12322
|
} | string)[] | ({
|
|
11312
|
-
|
|
12323
|
+
|
|
12324
|
+
pattern: string
|
|
12325
|
+
|
|
11313
12326
|
flags?: string
|
|
11314
12327
|
} | string))
|
|
11315
12328
|
}[]
|
|
11316
12329
|
} | {
|
|
11317
|
-
|
|
11318
|
-
newlinesInside?: ("always" | "never")
|
|
12330
|
+
newlinesInside?: (("always" | "never") | number)
|
|
11319
12331
|
|
|
11320
12332
|
fallbackSort?: {
|
|
11321
12333
|
|
|
11322
12334
|
order?: ("asc" | "desc")
|
|
11323
12335
|
|
|
11324
12336
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11325
|
-
[k: string]: unknown | undefined
|
|
11326
12337
|
}
|
|
11327
12338
|
|
|
11328
|
-
groupName
|
|
12339
|
+
groupName: string
|
|
11329
12340
|
|
|
11330
12341
|
order?: ("asc" | "desc")
|
|
11331
12342
|
|
|
@@ -11334,54 +12345,77 @@ type PerfectionistSortSets = {
|
|
|
11334
12345
|
selector?: ("literal" | "spread")
|
|
11335
12346
|
|
|
11336
12347
|
elementNamePattern?: (({
|
|
11337
|
-
|
|
12348
|
+
|
|
12349
|
+
pattern: string
|
|
12350
|
+
|
|
11338
12351
|
flags?: string
|
|
11339
12352
|
} | string)[] | ({
|
|
11340
|
-
|
|
12353
|
+
|
|
12354
|
+
pattern: string
|
|
12355
|
+
|
|
11341
12356
|
flags?: string
|
|
11342
12357
|
} | string))
|
|
11343
12358
|
})[]
|
|
12359
|
+
|
|
11344
12360
|
useConfigurationIf?: {
|
|
11345
12361
|
|
|
11346
12362
|
allNamesMatchPattern?: (({
|
|
11347
|
-
|
|
12363
|
+
|
|
12364
|
+
pattern: string
|
|
12365
|
+
|
|
11348
12366
|
flags?: string
|
|
11349
12367
|
} | string)[] | ({
|
|
11350
|
-
|
|
12368
|
+
|
|
12369
|
+
pattern: string
|
|
12370
|
+
|
|
11351
12371
|
flags?: string
|
|
11352
12372
|
} | string))
|
|
11353
12373
|
}
|
|
11354
12374
|
|
|
11355
12375
|
partitionByComment?: (boolean | (({
|
|
11356
|
-
|
|
12376
|
+
|
|
12377
|
+
pattern: string
|
|
12378
|
+
|
|
11357
12379
|
flags?: string
|
|
11358
12380
|
} | string)[] | ({
|
|
11359
|
-
|
|
12381
|
+
|
|
12382
|
+
pattern: string
|
|
12383
|
+
|
|
11360
12384
|
flags?: string
|
|
11361
12385
|
} | string)) | {
|
|
12386
|
+
|
|
11362
12387
|
block?: (boolean | (({
|
|
11363
|
-
|
|
12388
|
+
|
|
12389
|
+
pattern: string
|
|
12390
|
+
|
|
11364
12391
|
flags?: string
|
|
11365
12392
|
} | string)[] | ({
|
|
11366
|
-
|
|
12393
|
+
|
|
12394
|
+
pattern: string
|
|
12395
|
+
|
|
11367
12396
|
flags?: string
|
|
11368
12397
|
} | string)))
|
|
12398
|
+
|
|
11369
12399
|
line?: (boolean | (({
|
|
11370
|
-
|
|
12400
|
+
|
|
12401
|
+
pattern: string
|
|
12402
|
+
|
|
11371
12403
|
flags?: string
|
|
11372
12404
|
} | string)[] | ({
|
|
11373
|
-
|
|
12405
|
+
|
|
12406
|
+
pattern: string
|
|
12407
|
+
|
|
11374
12408
|
flags?: string
|
|
11375
12409
|
} | string)))
|
|
11376
12410
|
})
|
|
11377
12411
|
|
|
11378
12412
|
partitionByNewLine?: boolean
|
|
11379
|
-
|
|
11380
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12413
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11381
12414
|
|
|
11382
12415
|
groups?: (string | string[] | {
|
|
12416
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11383
12417
|
|
|
11384
|
-
|
|
12418
|
+
commentAbove?: string
|
|
11385
12419
|
})[]
|
|
11386
12420
|
}[]
|
|
11387
12421
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -11392,7 +12426,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11392
12426
|
order?: ("asc" | "desc")
|
|
11393
12427
|
|
|
11394
12428
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11395
|
-
[k: string]: unknown | undefined
|
|
11396
12429
|
}
|
|
11397
12430
|
|
|
11398
12431
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11408,14 +12441,13 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11408
12441
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11409
12442
|
}]
|
|
11410
12443
|
// ----- perfectionist/sort-union-types -----
|
|
11411
|
-
type PerfectionistSortUnionTypes =
|
|
12444
|
+
type PerfectionistSortUnionTypes = {
|
|
11412
12445
|
|
|
11413
12446
|
fallbackSort?: {
|
|
11414
12447
|
|
|
11415
12448
|
order?: ("asc" | "desc")
|
|
11416
12449
|
|
|
11417
12450
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11418
|
-
[k: string]: unknown | undefined
|
|
11419
12451
|
}
|
|
11420
12452
|
|
|
11421
12453
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11430,38 +12462,114 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11430
12462
|
|
|
11431
12463
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11432
12464
|
|
|
12465
|
+
customGroups?: ({
|
|
12466
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12467
|
+
|
|
12468
|
+
fallbackSort?: {
|
|
12469
|
+
|
|
12470
|
+
order?: ("asc" | "desc")
|
|
12471
|
+
|
|
12472
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12473
|
+
}
|
|
12474
|
+
|
|
12475
|
+
groupName: string
|
|
12476
|
+
|
|
12477
|
+
order?: ("asc" | "desc")
|
|
12478
|
+
|
|
12479
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12480
|
+
anyOf?: {
|
|
12481
|
+
|
|
12482
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
12483
|
+
|
|
12484
|
+
elementNamePattern?: (({
|
|
12485
|
+
|
|
12486
|
+
pattern: string
|
|
12487
|
+
|
|
12488
|
+
flags?: string
|
|
12489
|
+
} | string)[] | ({
|
|
12490
|
+
|
|
12491
|
+
pattern: string
|
|
12492
|
+
|
|
12493
|
+
flags?: string
|
|
12494
|
+
} | string))
|
|
12495
|
+
}[]
|
|
12496
|
+
} | {
|
|
12497
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12498
|
+
|
|
12499
|
+
fallbackSort?: {
|
|
12500
|
+
|
|
12501
|
+
order?: ("asc" | "desc")
|
|
12502
|
+
|
|
12503
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12504
|
+
}
|
|
12505
|
+
|
|
12506
|
+
groupName: string
|
|
12507
|
+
|
|
12508
|
+
order?: ("asc" | "desc")
|
|
12509
|
+
|
|
12510
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12511
|
+
|
|
12512
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
12513
|
+
|
|
12514
|
+
elementNamePattern?: (({
|
|
12515
|
+
|
|
12516
|
+
pattern: string
|
|
12517
|
+
|
|
12518
|
+
flags?: string
|
|
12519
|
+
} | string)[] | ({
|
|
12520
|
+
|
|
12521
|
+
pattern: string
|
|
12522
|
+
|
|
12523
|
+
flags?: string
|
|
12524
|
+
} | string))
|
|
12525
|
+
})[]
|
|
12526
|
+
|
|
11433
12527
|
partitionByComment?: (boolean | (({
|
|
11434
|
-
|
|
12528
|
+
|
|
12529
|
+
pattern: string
|
|
12530
|
+
|
|
11435
12531
|
flags?: string
|
|
11436
12532
|
} | string)[] | ({
|
|
11437
|
-
|
|
12533
|
+
|
|
12534
|
+
pattern: string
|
|
12535
|
+
|
|
11438
12536
|
flags?: string
|
|
11439
12537
|
} | string)) | {
|
|
12538
|
+
|
|
11440
12539
|
block?: (boolean | (({
|
|
11441
|
-
|
|
12540
|
+
|
|
12541
|
+
pattern: string
|
|
12542
|
+
|
|
11442
12543
|
flags?: string
|
|
11443
12544
|
} | string)[] | ({
|
|
11444
|
-
|
|
12545
|
+
|
|
12546
|
+
pattern: string
|
|
12547
|
+
|
|
11445
12548
|
flags?: string
|
|
11446
12549
|
} | string)))
|
|
12550
|
+
|
|
11447
12551
|
line?: (boolean | (({
|
|
11448
|
-
|
|
12552
|
+
|
|
12553
|
+
pattern: string
|
|
12554
|
+
|
|
11449
12555
|
flags?: string
|
|
11450
12556
|
} | string)[] | ({
|
|
11451
|
-
|
|
12557
|
+
|
|
12558
|
+
pattern: string
|
|
12559
|
+
|
|
11452
12560
|
flags?: string
|
|
11453
12561
|
} | string)))
|
|
11454
12562
|
})
|
|
11455
12563
|
|
|
11456
12564
|
partitionByNewLine?: boolean
|
|
11457
|
-
|
|
11458
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12565
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11459
12566
|
|
|
11460
12567
|
groups?: (string | string[] | {
|
|
12568
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
11461
12569
|
|
|
11462
|
-
|
|
12570
|
+
commentAbove?: string
|
|
11463
12571
|
})[]
|
|
11464
|
-
}]
|
|
12572
|
+
}[]
|
|
11465
12573
|
// ----- perfectionist/sort-variable-declarations -----
|
|
11466
12574
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
11467
12575
|
|
|
@@ -11470,7 +12578,6 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11470
12578
|
order?: ("asc" | "desc")
|
|
11471
12579
|
|
|
11472
12580
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11473
|
-
[k: string]: unknown | undefined
|
|
11474
12581
|
}
|
|
11475
12582
|
|
|
11476
12583
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11485,30 +12592,113 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11485
12592
|
|
|
11486
12593
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11487
12594
|
|
|
12595
|
+
customGroups?: ({
|
|
12596
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12597
|
+
|
|
12598
|
+
fallbackSort?: {
|
|
12599
|
+
|
|
12600
|
+
order?: ("asc" | "desc")
|
|
12601
|
+
|
|
12602
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12603
|
+
}
|
|
12604
|
+
|
|
12605
|
+
groupName: string
|
|
12606
|
+
|
|
12607
|
+
order?: ("asc" | "desc")
|
|
12608
|
+
|
|
12609
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12610
|
+
anyOf?: {
|
|
12611
|
+
|
|
12612
|
+
selector?: ("initialized" | "uninitialized")
|
|
12613
|
+
|
|
12614
|
+
elementNamePattern?: (({
|
|
12615
|
+
|
|
12616
|
+
pattern: string
|
|
12617
|
+
|
|
12618
|
+
flags?: string
|
|
12619
|
+
} | string)[] | ({
|
|
12620
|
+
|
|
12621
|
+
pattern: string
|
|
12622
|
+
|
|
12623
|
+
flags?: string
|
|
12624
|
+
} | string))
|
|
12625
|
+
}[]
|
|
12626
|
+
} | {
|
|
12627
|
+
newlinesInside?: (("always" | "never") | number)
|
|
12628
|
+
|
|
12629
|
+
fallbackSort?: {
|
|
12630
|
+
|
|
12631
|
+
order?: ("asc" | "desc")
|
|
12632
|
+
|
|
12633
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12634
|
+
}
|
|
12635
|
+
|
|
12636
|
+
groupName: string
|
|
12637
|
+
|
|
12638
|
+
order?: ("asc" | "desc")
|
|
12639
|
+
|
|
12640
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12641
|
+
|
|
12642
|
+
selector?: ("initialized" | "uninitialized")
|
|
12643
|
+
|
|
12644
|
+
elementNamePattern?: (({
|
|
12645
|
+
|
|
12646
|
+
pattern: string
|
|
12647
|
+
|
|
12648
|
+
flags?: string
|
|
12649
|
+
} | string)[] | ({
|
|
12650
|
+
|
|
12651
|
+
pattern: string
|
|
12652
|
+
|
|
12653
|
+
flags?: string
|
|
12654
|
+
} | string))
|
|
12655
|
+
})[]
|
|
12656
|
+
|
|
11488
12657
|
partitionByComment?: (boolean | (({
|
|
11489
|
-
|
|
12658
|
+
|
|
12659
|
+
pattern: string
|
|
12660
|
+
|
|
11490
12661
|
flags?: string
|
|
11491
12662
|
} | string)[] | ({
|
|
11492
|
-
|
|
12663
|
+
|
|
12664
|
+
pattern: string
|
|
12665
|
+
|
|
11493
12666
|
flags?: string
|
|
11494
12667
|
} | string)) | {
|
|
12668
|
+
|
|
11495
12669
|
block?: (boolean | (({
|
|
11496
|
-
|
|
12670
|
+
|
|
12671
|
+
pattern: string
|
|
12672
|
+
|
|
11497
12673
|
flags?: string
|
|
11498
12674
|
} | string)[] | ({
|
|
11499
|
-
|
|
12675
|
+
|
|
12676
|
+
pattern: string
|
|
12677
|
+
|
|
11500
12678
|
flags?: string
|
|
11501
12679
|
} | string)))
|
|
12680
|
+
|
|
11502
12681
|
line?: (boolean | (({
|
|
11503
|
-
|
|
12682
|
+
|
|
12683
|
+
pattern: string
|
|
12684
|
+
|
|
11504
12685
|
flags?: string
|
|
11505
12686
|
} | string)[] | ({
|
|
11506
|
-
|
|
12687
|
+
|
|
12688
|
+
pattern: string
|
|
12689
|
+
|
|
11507
12690
|
flags?: string
|
|
11508
12691
|
} | string)))
|
|
11509
12692
|
})
|
|
11510
12693
|
|
|
11511
12694
|
partitionByNewLine?: boolean
|
|
12695
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12696
|
+
|
|
12697
|
+
groups?: (string | string[] | {
|
|
12698
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12699
|
+
|
|
12700
|
+
commentAbove?: string
|
|
12701
|
+
})[]
|
|
11512
12702
|
}]
|
|
11513
12703
|
// ----- prefer-arrow-callback -----
|
|
11514
12704
|
type PreferArrowCallback = []|[{
|
|
@@ -12194,6 +13384,10 @@ type RegexpPreferLookaround = []|[{
|
|
|
12194
13384
|
type RegexpPreferNamedReplacement = []|[{
|
|
12195
13385
|
strictTypes?: boolean
|
|
12196
13386
|
}]
|
|
13387
|
+
// ----- regexp/prefer-quantifier -----
|
|
13388
|
+
type RegexpPreferQuantifier = []|[{
|
|
13389
|
+
allows?: string[]
|
|
13390
|
+
}]
|
|
12197
13391
|
// ----- regexp/prefer-range -----
|
|
12198
13392
|
type RegexpPreferRange = []|[{
|
|
12199
13393
|
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
@@ -12584,10 +13778,6 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
12584
13778
|
interface _UnicornImportStyle_BooleanObject {
|
|
12585
13779
|
[k: string]: boolean | undefined
|
|
12586
13780
|
}
|
|
12587
|
-
// ----- unicorn/no-array-push-push -----
|
|
12588
|
-
type UnicornNoArrayPushPush = []|[{
|
|
12589
|
-
ignore?: unknown[]
|
|
12590
|
-
}]
|
|
12591
13781
|
// ----- unicorn/no-array-reduce -----
|
|
12592
13782
|
type UnicornNoArrayReduce = []|[{
|
|
12593
13783
|
allowSimpleOperations?: boolean
|
|
@@ -12683,6 +13873,10 @@ type UnicornPreferNumberProperties = []|[{
|
|
|
12683
13873
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12684
13874
|
functions?: unknown[]
|
|
12685
13875
|
}]
|
|
13876
|
+
// ----- unicorn/prefer-single-call -----
|
|
13877
|
+
type UnicornPreferSingleCall = []|[{
|
|
13878
|
+
ignore?: unknown[]
|
|
13879
|
+
}]
|
|
12686
13880
|
// ----- unicorn/prefer-structured-clone -----
|
|
12687
13881
|
type UnicornPreferStructuredClone = []|[{
|
|
12688
13882
|
functions?: unknown[]
|
|
@@ -12851,6 +14045,7 @@ type YmlFlowSequenceBracketSpacing = []|[("always" | "never")]|[("always" | "nev
|
|
|
12851
14045
|
type YmlIndent = []|[number]|[number, {
|
|
12852
14046
|
indentBlockSequences?: boolean
|
|
12853
14047
|
indicatorValueIndent?: number
|
|
14048
|
+
alignMultilineFlowScalars?: boolean
|
|
12854
14049
|
}]
|
|
12855
14050
|
// ----- yml/key-name-casing -----
|
|
12856
14051
|
type YmlKeyNameCasing = []|[{
|
|
@@ -13179,7 +14374,7 @@ declare function ignores(userIgnores?: string[]): FlatConfigItem[];
|
|
|
13179
14374
|
declare function imports(options?: OptionsHasNextJs): FlatConfigItem[];
|
|
13180
14375
|
|
|
13181
14376
|
declare const restrictedSyntaxJs: string[];
|
|
13182
|
-
declare function javascript(options?:
|
|
14377
|
+
declare function javascript(options?: OptionsOverrides): FlatConfigItem[];
|
|
13183
14378
|
|
|
13184
14379
|
declare function jsdoc(): Promise<FlatConfigItem[]>;
|
|
13185
14380
|
|