@ncontiero/eslint-config 5.1.0 → 5.2.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 +11 -20
- package/dist/index.d.ts +1583 -528
- package/dist/index.js +1 -1
- package/package.json +30 -30
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,11 @@ interface RuleOptions {
|
|
|
29
29
|
* @see https://tanstack.com/query/latest/docs/eslint/no-unstable-deps
|
|
30
30
|
*/
|
|
31
31
|
'@tanstack/query/no-unstable-deps'?: Linter.RuleEntry<[]>
|
|
32
|
+
/**
|
|
33
|
+
* Ensures queryFn returns a non-undefined value
|
|
34
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-void-query-fn
|
|
35
|
+
*/
|
|
36
|
+
'@tanstack/query/no-void-query-fn'?: Linter.RuleEntry<[]>
|
|
32
37
|
/**
|
|
33
38
|
* Makes sure that QueryClient is stable
|
|
34
39
|
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
@@ -412,6 +417,11 @@ interface RuleOptions {
|
|
|
412
417
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
413
418
|
*/
|
|
414
419
|
'@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
420
|
+
/**
|
|
421
|
+
* Disallow conversion idioms when they do not change the type or value of the expression
|
|
422
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-conversion
|
|
423
|
+
*/
|
|
424
|
+
'@typescript-eslint/no-unnecessary-type-conversion'?: Linter.RuleEntry<[]>
|
|
415
425
|
/**
|
|
416
426
|
* Disallow type parameters that aren't used multiple times
|
|
417
427
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
@@ -1074,233 +1084,233 @@ interface RuleOptions {
|
|
|
1074
1084
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1075
1085
|
/**
|
|
1076
1086
|
* 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.
|
|
1087
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/consistent-type-specifier-style.md
|
|
1078
1088
|
*/
|
|
1079
1089
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1080
1090
|
/**
|
|
1081
1091
|
* Ensure a default export is present, given a default import.
|
|
1082
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1092
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/default.md
|
|
1083
1093
|
*/
|
|
1084
1094
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1085
1095
|
/**
|
|
1086
1096
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1087
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1097
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/dynamic-import-chunkname.md
|
|
1088
1098
|
*/
|
|
1089
1099
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1090
1100
|
/**
|
|
1091
1101
|
* 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.
|
|
1102
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/export.md
|
|
1093
1103
|
*/
|
|
1094
1104
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1095
1105
|
/**
|
|
1096
1106
|
* Ensure all exports appear after other statements.
|
|
1097
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1107
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/exports-last.md
|
|
1098
1108
|
*/
|
|
1099
1109
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1100
1110
|
/**
|
|
1101
1111
|
* Ensure consistent use of file extension within the import path.
|
|
1102
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1112
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/extensions.md
|
|
1103
1113
|
*/
|
|
1104
1114
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1105
1115
|
/**
|
|
1106
1116
|
* Ensure all imports appear before other statements.
|
|
1107
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1117
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/first.md
|
|
1108
1118
|
*/
|
|
1109
1119
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1110
1120
|
/**
|
|
1111
1121
|
* 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.
|
|
1122
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/group-exports.md
|
|
1113
1123
|
*/
|
|
1114
1124
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1115
1125
|
/**
|
|
1116
1126
|
* Replaced by `import-x/first`.
|
|
1117
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1127
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/imports-first.md
|
|
1118
1128
|
* @deprecated
|
|
1119
1129
|
*/
|
|
1120
1130
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1121
1131
|
/**
|
|
1122
1132
|
* Enforce the maximum number of dependencies a module can have.
|
|
1123
|
-
* @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.11.1/docs/rules/max-dependencies.md
|
|
1124
1134
|
*/
|
|
1125
1135
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1126
1136
|
/**
|
|
1127
1137
|
* 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.
|
|
1138
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/named.md
|
|
1129
1139
|
*/
|
|
1130
1140
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1131
1141
|
/**
|
|
1132
1142
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1133
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1143
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/namespace.md
|
|
1134
1144
|
*/
|
|
1135
1145
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1136
1146
|
/**
|
|
1137
1147
|
* Enforce a newline after import statements.
|
|
1138
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1148
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/newline-after-import.md
|
|
1139
1149
|
*/
|
|
1140
1150
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1141
1151
|
/**
|
|
1142
1152
|
* Forbid import of modules using absolute paths.
|
|
1143
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1153
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-absolute-path.md
|
|
1144
1154
|
*/
|
|
1145
1155
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1146
1156
|
/**
|
|
1147
1157
|
* Forbid AMD `require` and `define` calls.
|
|
1148
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1158
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-amd.md
|
|
1149
1159
|
*/
|
|
1150
1160
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1151
1161
|
/**
|
|
1152
1162
|
* Forbid anonymous values as default exports.
|
|
1153
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1163
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-anonymous-default-export.md
|
|
1154
1164
|
*/
|
|
1155
1165
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1156
1166
|
/**
|
|
1157
1167
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1158
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1168
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-commonjs.md
|
|
1159
1169
|
*/
|
|
1160
1170
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1161
1171
|
/**
|
|
1162
1172
|
* 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.
|
|
1173
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-cycle.md
|
|
1164
1174
|
*/
|
|
1165
1175
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1166
1176
|
/**
|
|
1167
1177
|
* Forbid default exports.
|
|
1168
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1178
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-default-export.md
|
|
1169
1179
|
*/
|
|
1170
1180
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1171
1181
|
/**
|
|
1172
1182
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1173
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1183
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-deprecated.md
|
|
1174
1184
|
*/
|
|
1175
1185
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1176
1186
|
/**
|
|
1177
1187
|
* Forbid repeated import of the same module in multiple places.
|
|
1178
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1188
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-duplicates.md
|
|
1179
1189
|
*/
|
|
1180
1190
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1181
1191
|
/**
|
|
1182
1192
|
* Forbid `require()` calls with expressions.
|
|
1183
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1193
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-dynamic-require.md
|
|
1184
1194
|
*/
|
|
1185
1195
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1186
1196
|
/**
|
|
1187
1197
|
* Forbid empty named import blocks.
|
|
1188
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1198
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-empty-named-blocks.md
|
|
1189
1199
|
*/
|
|
1190
1200
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1191
1201
|
/**
|
|
1192
1202
|
* Forbid the use of extraneous packages.
|
|
1193
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1203
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-extraneous-dependencies.md
|
|
1194
1204
|
*/
|
|
1195
1205
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1196
1206
|
/**
|
|
1197
1207
|
* Forbid import statements with CommonJS module.exports.
|
|
1198
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1208
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-import-module-exports.md
|
|
1199
1209
|
*/
|
|
1200
1210
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1201
1211
|
/**
|
|
1202
1212
|
* Forbid importing the submodules of other modules.
|
|
1203
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1213
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-internal-modules.md
|
|
1204
1214
|
*/
|
|
1205
1215
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1206
1216
|
/**
|
|
1207
1217
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1208
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1218
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-mutable-exports.md
|
|
1209
1219
|
*/
|
|
1210
1220
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1211
1221
|
/**
|
|
1212
1222
|
* Forbid use of exported name as identifier of default export.
|
|
1213
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1223
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default.md
|
|
1214
1224
|
*/
|
|
1215
1225
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1216
1226
|
/**
|
|
1217
1227
|
* Forbid use of exported name as property of default export.
|
|
1218
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1228
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default-member.md
|
|
1219
1229
|
*/
|
|
1220
1230
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1221
1231
|
/**
|
|
1222
1232
|
* Forbid named default exports.
|
|
1223
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1233
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-default.md
|
|
1224
1234
|
*/
|
|
1225
1235
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1226
1236
|
/**
|
|
1227
1237
|
* Forbid named exports.
|
|
1228
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1238
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-export.md
|
|
1229
1239
|
*/
|
|
1230
1240
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1231
1241
|
/**
|
|
1232
1242
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1233
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1243
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-namespace.md
|
|
1234
1244
|
*/
|
|
1235
1245
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1236
1246
|
/**
|
|
1237
1247
|
* Forbid Node.js builtin modules.
|
|
1238
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1248
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-nodejs-modules.md
|
|
1239
1249
|
*/
|
|
1240
1250
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1241
1251
|
/**
|
|
1242
1252
|
* Forbid importing packages through relative paths.
|
|
1243
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1253
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-packages.md
|
|
1244
1254
|
*/
|
|
1245
1255
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1246
1256
|
/**
|
|
1247
1257
|
* Forbid importing modules from parent directories.
|
|
1248
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1258
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-parent-imports.md
|
|
1249
1259
|
*/
|
|
1250
1260
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1251
1261
|
/**
|
|
1252
1262
|
* Forbid importing a default export by a different name.
|
|
1253
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1263
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-rename-default.md
|
|
1254
1264
|
*/
|
|
1255
1265
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1256
1266
|
/**
|
|
1257
1267
|
* Enforce which files can be imported in a given folder.
|
|
1258
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1268
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-restricted-paths.md
|
|
1259
1269
|
*/
|
|
1260
1270
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1261
1271
|
/**
|
|
1262
1272
|
* Forbid a module from importing itself.
|
|
1263
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1273
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-self-import.md
|
|
1264
1274
|
*/
|
|
1265
1275
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1266
1276
|
/**
|
|
1267
1277
|
* Forbid unassigned imports.
|
|
1268
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1278
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unassigned-import.md
|
|
1269
1279
|
*/
|
|
1270
1280
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1271
1281
|
/**
|
|
1272
1282
|
* Ensure imports point to a file/module that can be resolved.
|
|
1273
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1283
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unresolved.md
|
|
1274
1284
|
*/
|
|
1275
1285
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1276
1286
|
/**
|
|
1277
1287
|
* 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.
|
|
1288
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unused-modules.md
|
|
1279
1289
|
*/
|
|
1280
1290
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1281
1291
|
/**
|
|
1282
1292
|
* Forbid unnecessary path segments in import and require statements.
|
|
1283
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1293
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-useless-path-segments.md
|
|
1284
1294
|
*/
|
|
1285
1295
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1286
1296
|
/**
|
|
1287
1297
|
* Forbid webpack loader syntax in imports.
|
|
1288
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1298
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-webpack-loader-syntax.md
|
|
1289
1299
|
*/
|
|
1290
1300
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1291
1301
|
/**
|
|
1292
1302
|
* Enforce a convention in module import order.
|
|
1293
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1303
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/order.md
|
|
1294
1304
|
*/
|
|
1295
1305
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1296
1306
|
/**
|
|
1297
1307
|
* 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.
|
|
1308
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/prefer-default-export.md
|
|
1299
1309
|
*/
|
|
1300
1310
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1301
1311
|
/**
|
|
1302
1312
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1303
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1313
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/unambiguous.md
|
|
1304
1314
|
*/
|
|
1305
1315
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1306
1316
|
/**
|
|
@@ -2078,30 +2088,37 @@ interface RuleOptions {
|
|
|
2078
2088
|
'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
|
|
2079
2089
|
/**
|
|
2080
2090
|
* Require languages for fenced code blocks
|
|
2091
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
|
|
2081
2092
|
*/
|
|
2082
2093
|
'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
|
|
2083
2094
|
/**
|
|
2084
2095
|
* Enforce heading levels increment by one
|
|
2096
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
2085
2097
|
*/
|
|
2086
2098
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>
|
|
2087
2099
|
/**
|
|
2088
2100
|
* Disallow duplicate headings in the same document
|
|
2101
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
2089
2102
|
*/
|
|
2090
2103
|
'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
|
|
2091
2104
|
/**
|
|
2092
2105
|
* Disallow empty links
|
|
2106
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
2093
2107
|
*/
|
|
2094
2108
|
'markdown/no-empty-links'?: Linter.RuleEntry<[]>
|
|
2095
2109
|
/**
|
|
2096
2110
|
* Disallow HTML tags
|
|
2111
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
|
|
2097
2112
|
*/
|
|
2098
2113
|
'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
|
|
2099
2114
|
/**
|
|
2100
2115
|
* Disallow invalid label references
|
|
2116
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
|
|
2101
2117
|
*/
|
|
2102
2118
|
'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
2103
2119
|
/**
|
|
2104
2120
|
* Disallow missing label references
|
|
2121
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
2105
2122
|
*/
|
|
2106
2123
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
2107
2124
|
/**
|
|
@@ -2886,7 +2903,7 @@ interface RuleOptions {
|
|
|
2886
2903
|
* Disallow identifiers from shadowing restricted names
|
|
2887
2904
|
* @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
|
|
2888
2905
|
*/
|
|
2889
|
-
'no-shadow-restricted-names'?: Linter.RuleEntry<
|
|
2906
|
+
'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
|
|
2890
2907
|
/**
|
|
2891
2908
|
* Disallow spacing between function identifiers and their applications (deprecated)
|
|
2892
2909
|
* @see https://eslint.org/docs/latest/rules/no-spaced-func
|
|
@@ -4858,643 +4875,670 @@ interface RuleOptions {
|
|
|
4858
4875
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4859
4876
|
/**
|
|
4860
4877
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4861
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
|
|
4862
4879
|
*/
|
|
4863
4880
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4864
4881
|
/**
|
|
4865
4882
|
* Enforce a specific parameter name in catch clauses.
|
|
4866
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4883
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
|
|
4867
4884
|
*/
|
|
4868
4885
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4869
4886
|
/**
|
|
4870
4887
|
* Enforce consistent assertion style with `node:assert`.
|
|
4871
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4888
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
|
|
4872
4889
|
*/
|
|
4873
4890
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
4874
4891
|
/**
|
|
4875
4892
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4876
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4893
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
|
|
4877
4894
|
*/
|
|
4878
4895
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
4879
4896
|
/**
|
|
4880
4897
|
* Use destructured variables over properties.
|
|
4881
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
|
|
4882
4899
|
*/
|
|
4883
4900
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4884
4901
|
/**
|
|
4885
4902
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4886
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4903
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4887
4904
|
*/
|
|
4888
4905
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4889
4906
|
/**
|
|
4890
4907
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4891
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4908
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
|
|
4892
4909
|
*/
|
|
4893
4910
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4894
4911
|
/**
|
|
4895
4912
|
* Move function definitions to the highest possible scope.
|
|
4896
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
|
|
4897
4914
|
*/
|
|
4898
4915
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4899
4916
|
/**
|
|
4900
4917
|
* Enforce correct `Error` subclassing.
|
|
4901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
|
|
4902
4919
|
*/
|
|
4903
4920
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4904
4921
|
/**
|
|
4905
4922
|
* Enforce no spaces between braces.
|
|
4906
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
|
|
4907
4924
|
*/
|
|
4908
4925
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4909
4926
|
/**
|
|
4910
4927
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
|
|
4912
4929
|
*/
|
|
4913
4930
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4914
4931
|
/**
|
|
4915
4932
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
|
|
4917
4934
|
*/
|
|
4918
4935
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
4919
4936
|
/**
|
|
4920
4937
|
* Add expiration conditions to TODO comments.
|
|
4921
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
|
|
4922
4939
|
*/
|
|
4923
4940
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4924
4941
|
/**
|
|
4925
4942
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4926
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
|
|
4927
4944
|
*/
|
|
4928
4945
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4929
4946
|
/**
|
|
4930
4947
|
* Enforce a case style for filenames.
|
|
4931
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
|
|
4932
4949
|
*/
|
|
4933
4950
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4934
4951
|
/**
|
|
4935
4952
|
* Enforce specific import styles per module.
|
|
4936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
|
|
4937
4954
|
*/
|
|
4938
4955
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4939
4956
|
/**
|
|
4940
4957
|
* 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/
|
|
4958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
|
|
4942
4959
|
*/
|
|
4943
4960
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4944
4961
|
/**
|
|
4945
4962
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4946
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
4947
4964
|
*/
|
|
4948
4965
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4949
4966
|
/**
|
|
4950
4967
|
* Disallow recursive access to `this` within getters and setters.
|
|
4951
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4968
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
|
|
4952
4969
|
*/
|
|
4953
4970
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
4954
4971
|
/**
|
|
4955
4972
|
* Disallow anonymous functions and classes as the default export.
|
|
4956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4973
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
|
|
4957
4974
|
*/
|
|
4958
4975
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4959
4976
|
/**
|
|
4960
4977
|
* Prevent passing a function reference directly to iterator methods.
|
|
4961
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
|
|
4962
4979
|
*/
|
|
4963
4980
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4964
4981
|
/**
|
|
4965
4982
|
* Prefer `for…of` over the `forEach` method.
|
|
4966
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4983
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
|
|
4967
4984
|
*/
|
|
4968
4985
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4969
4986
|
/**
|
|
4970
4987
|
* Disallow using the `this` argument in array methods.
|
|
4971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4988
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
|
|
4972
4989
|
*/
|
|
4973
4990
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4974
4991
|
/**
|
|
4975
|
-
*
|
|
4976
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4992
|
+
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4993
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
|
|
4994
|
+
* @deprecated
|
|
4977
4995
|
*/
|
|
4978
|
-
'unicorn/no-array-push-push'?: Linter.RuleEntry<
|
|
4996
|
+
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
|
|
4979
4997
|
/**
|
|
4980
4998
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
|
|
4982
5000
|
*/
|
|
4983
5001
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4984
5002
|
/**
|
|
4985
5003
|
* Disallow member access from await expression.
|
|
4986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
|
|
4987
5005
|
*/
|
|
4988
5006
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4989
5007
|
/**
|
|
4990
5008
|
* Disallow using `await` in `Promise` method parameters.
|
|
4991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4992
5010
|
*/
|
|
4993
5011
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4994
5012
|
/**
|
|
4995
5013
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4996
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
|
|
4997
5015
|
*/
|
|
4998
5016
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4999
5017
|
/**
|
|
5000
5018
|
* Do not use `document.cookie` directly.
|
|
5001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
|
|
5002
5020
|
*/
|
|
5003
5021
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5004
5022
|
/**
|
|
5005
5023
|
* Disallow empty files.
|
|
5006
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
|
|
5007
5025
|
*/
|
|
5008
5026
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5009
5027
|
/**
|
|
5010
5028
|
* 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/
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
|
|
5012
5030
|
*/
|
|
5013
5031
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5014
5032
|
/**
|
|
5015
5033
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5016
|
-
* @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-hex-escape.md
|
|
5017
5035
|
*/
|
|
5018
5036
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5019
5037
|
/**
|
|
5020
5038
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
|
|
5022
5040
|
* @deprecated
|
|
5023
5041
|
*/
|
|
5024
5042
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5025
5043
|
/**
|
|
5026
5044
|
* Disallow `instanceof` with built-in objects
|
|
5027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5045
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
|
|
5028
5046
|
*/
|
|
5029
5047
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
5030
5048
|
/**
|
|
5031
5049
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5050
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
|
|
5033
5051
|
*/
|
|
5034
5052
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5035
5053
|
/**
|
|
5036
5054
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5055
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
5038
5056
|
*/
|
|
5039
5057
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5040
5058
|
/**
|
|
5041
5059
|
* Disallow identifiers starting with `new` or `class`.
|
|
5042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5060
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
|
|
5043
5061
|
*/
|
|
5044
5062
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5045
5063
|
/**
|
|
5046
|
-
*
|
|
5047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5065
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5066
|
+
* @deprecated
|
|
5048
5067
|
*/
|
|
5049
5068
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5050
5069
|
/**
|
|
5051
5070
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
|
|
5053
5072
|
*/
|
|
5054
5073
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5055
5074
|
/**
|
|
5056
5075
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
5058
5077
|
*/
|
|
5059
5078
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5060
5079
|
/**
|
|
5061
5080
|
* Disallow named usage of default import and export.
|
|
5062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
|
|
5063
5082
|
*/
|
|
5064
5083
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
5065
5084
|
/**
|
|
5066
5085
|
* Disallow negated conditions.
|
|
5067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
|
|
5068
5087
|
*/
|
|
5069
5088
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5070
5089
|
/**
|
|
5071
5090
|
* Disallow negated expression in equality check.
|
|
5072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
|
|
5073
5092
|
*/
|
|
5074
5093
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5075
5094
|
/**
|
|
5076
5095
|
* Disallow nested ternary expressions.
|
|
5077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
|
|
5078
5097
|
*/
|
|
5079
5098
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5080
5099
|
/**
|
|
5081
5100
|
* Disallow `new Array()`.
|
|
5082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
|
|
5083
5102
|
*/
|
|
5084
5103
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5085
5104
|
/**
|
|
5086
5105
|
* 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/
|
|
5106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
|
|
5088
5107
|
*/
|
|
5089
5108
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5090
5109
|
/**
|
|
5091
5110
|
* Disallow the use of the `null` literal.
|
|
5092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
|
|
5093
5112
|
*/
|
|
5094
5113
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5095
5114
|
/**
|
|
5096
5115
|
* Disallow the use of objects as default parameters.
|
|
5097
|
-
* @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-object-as-default-parameter.md
|
|
5098
5117
|
*/
|
|
5099
5118
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5100
5119
|
/**
|
|
5101
5120
|
* Disallow `process.exit()`.
|
|
5102
|
-
* @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-process-exit.md
|
|
5103
5122
|
*/
|
|
5104
5123
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5105
5124
|
/**
|
|
5106
5125
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5107
|
-
* @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-single-promise-in-promise-methods.md
|
|
5108
5127
|
*/
|
|
5109
5128
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5110
5129
|
/**
|
|
5111
5130
|
* Disallow classes that only have static members.
|
|
5112
|
-
* @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-static-only-class.md
|
|
5113
5132
|
*/
|
|
5114
5133
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5115
5134
|
/**
|
|
5116
5135
|
* Disallow `then` property.
|
|
5117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
|
|
5118
5137
|
*/
|
|
5119
5138
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5120
5139
|
/**
|
|
5121
5140
|
* Disallow assigning `this` to a variable.
|
|
5122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
|
|
5123
5142
|
*/
|
|
5124
5143
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5125
5144
|
/**
|
|
5126
5145
|
* Disallow comparing `undefined` using `typeof`.
|
|
5127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
|
|
5128
5147
|
*/
|
|
5129
5148
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5149
|
+
/**
|
|
5150
|
+
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5152
|
+
*/
|
|
5153
|
+
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5154
|
+
/**
|
|
5155
|
+
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
|
|
5157
|
+
*/
|
|
5158
|
+
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
|
|
5130
5159
|
/**
|
|
5131
5160
|
* Disallow awaiting non-promise values.
|
|
5132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
|
|
5133
5162
|
*/
|
|
5134
5163
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5135
5164
|
/**
|
|
5136
5165
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
5138
5167
|
*/
|
|
5139
5168
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5169
|
+
/**
|
|
5170
|
+
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
|
|
5172
|
+
*/
|
|
5173
|
+
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
|
|
5140
5174
|
/**
|
|
5141
5175
|
* Disallow unreadable array destructuring.
|
|
5142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
5143
5177
|
*/
|
|
5144
5178
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5145
5179
|
/**
|
|
5146
5180
|
* Disallow unreadable IIFEs.
|
|
5147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
|
|
5148
5182
|
*/
|
|
5149
5183
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5150
5184
|
/**
|
|
5151
5185
|
* Disallow unused object properties.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
|
|
5153
5187
|
*/
|
|
5154
5188
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5155
5189
|
/**
|
|
5156
5190
|
* Disallow useless fallback when spreading in object literals.
|
|
5157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
5158
5192
|
*/
|
|
5159
5193
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5160
5194
|
/**
|
|
5161
5195
|
* Disallow useless array length check.
|
|
5162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
|
|
5163
5197
|
*/
|
|
5164
5198
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5165
5199
|
/**
|
|
5166
5200
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
5168
5202
|
*/
|
|
5169
5203
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5170
5204
|
/**
|
|
5171
5205
|
* Disallow unnecessary spread.
|
|
5172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
|
|
5173
5207
|
*/
|
|
5174
5208
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5175
5209
|
/**
|
|
5176
5210
|
* Disallow useless case in switch statements.
|
|
5177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
|
|
5178
5212
|
*/
|
|
5179
5213
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5180
5214
|
/**
|
|
5181
5215
|
* Disallow useless `undefined`.
|
|
5182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
|
|
5183
5217
|
*/
|
|
5184
5218
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5185
5219
|
/**
|
|
5186
5220
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
|
|
5188
5222
|
*/
|
|
5189
5223
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5190
5224
|
/**
|
|
5191
5225
|
* Enforce proper case for numeric literals.
|
|
5192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
|
|
5193
5227
|
*/
|
|
5194
5228
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
5195
5229
|
/**
|
|
5196
5230
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
|
|
5198
5232
|
*/
|
|
5199
5233
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5200
5234
|
/**
|
|
5201
5235
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
|
|
5203
5237
|
*/
|
|
5204
5238
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5205
5239
|
/**
|
|
5206
5240
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5241
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
|
|
5208
5242
|
*/
|
|
5209
5243
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5210
5244
|
/**
|
|
5211
5245
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
|
|
5213
5247
|
*/
|
|
5214
5248
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5215
5249
|
/**
|
|
5216
5250
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
|
|
5218
5252
|
*/
|
|
5219
5253
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5220
5254
|
/**
|
|
5221
5255
|
* 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/
|
|
5256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
|
|
5223
5257
|
*/
|
|
5224
5258
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5225
5259
|
/**
|
|
5226
5260
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
|
|
5228
5262
|
*/
|
|
5229
5263
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5230
5264
|
/**
|
|
5231
5265
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
|
|
5233
5267
|
*/
|
|
5234
5268
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5235
5269
|
/**
|
|
5236
5270
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
5238
5272
|
*/
|
|
5239
5273
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5240
5274
|
/**
|
|
5241
5275
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
|
|
5243
5277
|
*/
|
|
5244
5278
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5245
5279
|
/**
|
|
5246
5280
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
|
|
5248
5282
|
*/
|
|
5249
5283
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5250
5284
|
/**
|
|
5251
5285
|
* Prefer default parameters over reassignment.
|
|
5252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5286
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
|
|
5253
5287
|
*/
|
|
5254
5288
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5255
5289
|
/**
|
|
5256
5290
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
|
|
5258
5292
|
*/
|
|
5259
5293
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5260
5294
|
/**
|
|
5261
5295
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5296
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
5263
5297
|
*/
|
|
5264
5298
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5265
5299
|
/**
|
|
5266
5300
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
|
|
5268
5302
|
*/
|
|
5269
5303
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5270
5304
|
/**
|
|
5271
5305
|
* Prefer `.textContent` over `.innerText`.
|
|
5272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
5273
5307
|
*/
|
|
5274
5308
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5275
5309
|
/**
|
|
5276
5310
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5311
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
|
|
5278
5312
|
*/
|
|
5279
5313
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5280
5314
|
/**
|
|
5281
5315
|
* Prefer `export…from` when re-exporting.
|
|
5282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
|
|
5283
5317
|
*/
|
|
5284
5318
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5285
5319
|
/**
|
|
5286
5320
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
|
|
5288
5322
|
*/
|
|
5289
5323
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5324
|
+
/**
|
|
5325
|
+
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5326
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
|
|
5327
|
+
*/
|
|
5328
|
+
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
|
|
5290
5329
|
/**
|
|
5291
5330
|
* 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/
|
|
5331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
|
|
5293
5332
|
*/
|
|
5294
5333
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5295
5334
|
/**
|
|
5296
5335
|
* Prefer reading a JSON file as a buffer.
|
|
5297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
5298
5337
|
*/
|
|
5299
5338
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5300
5339
|
/**
|
|
5301
5340
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
5303
5342
|
*/
|
|
5304
5343
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5305
5344
|
/**
|
|
5306
5345
|
* Prefer using a logical operator over a ternary.
|
|
5307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5308
5347
|
*/
|
|
5309
5348
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5310
5349
|
/**
|
|
5311
5350
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5351
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
|
|
5313
5352
|
*/
|
|
5314
5353
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
5315
5354
|
/**
|
|
5316
5355
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5356
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
|
|
5318
5357
|
*/
|
|
5319
5358
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5320
5359
|
/**
|
|
5321
5360
|
* 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/
|
|
5361
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
5323
5362
|
*/
|
|
5324
5363
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5325
5364
|
/**
|
|
5326
5365
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5366
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
|
|
5328
5367
|
*/
|
|
5329
5368
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5330
5369
|
/**
|
|
5331
5370
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5371
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
|
|
5333
5372
|
*/
|
|
5334
5373
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5335
5374
|
/**
|
|
5336
5375
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5376
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
5338
5377
|
*/
|
|
5339
5378
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5340
5379
|
/**
|
|
5341
5380
|
* Prefer negative index over `.length - index` when possible.
|
|
5342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5381
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
|
|
5343
5382
|
*/
|
|
5344
5383
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5345
5384
|
/**
|
|
5346
5385
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5386
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
|
|
5348
5387
|
*/
|
|
5349
5388
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5350
5389
|
/**
|
|
5351
5390
|
* Prefer `Number` static properties over global ones.
|
|
5352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5391
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
|
|
5353
5392
|
*/
|
|
5354
5393
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5355
5394
|
/**
|
|
5356
5395
|
* 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/
|
|
5396
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
|
|
5358
5397
|
*/
|
|
5359
5398
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5360
5399
|
/**
|
|
5361
5400
|
* Prefer omitting the `catch` binding parameter.
|
|
5362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5401
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
5363
5402
|
*/
|
|
5364
5403
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5365
5404
|
/**
|
|
5366
5405
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5406
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
|
|
5368
5407
|
*/
|
|
5369
5408
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5370
5409
|
/**
|
|
5371
5410
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5411
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
|
|
5373
5412
|
*/
|
|
5374
5413
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5375
5414
|
/**
|
|
5376
5415
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5416
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
|
|
5378
5417
|
*/
|
|
5379
5418
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5380
5419
|
/**
|
|
5381
5420
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5421
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
|
|
5383
5422
|
*/
|
|
5384
5423
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5385
5424
|
/**
|
|
5386
5425
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5426
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
|
|
5388
5427
|
*/
|
|
5389
5428
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5390
5429
|
/**
|
|
5391
5430
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5431
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
|
|
5393
5432
|
*/
|
|
5394
5433
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5434
|
+
/**
|
|
5435
|
+
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5436
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
|
|
5437
|
+
*/
|
|
5438
|
+
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
|
|
5395
5439
|
/**
|
|
5396
5440
|
* 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/
|
|
5441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
|
|
5398
5442
|
*/
|
|
5399
5443
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5400
5444
|
/**
|
|
5401
5445
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
|
|
5403
5447
|
*/
|
|
5404
5448
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5405
5449
|
/**
|
|
5406
5450
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
|
|
5408
5452
|
*/
|
|
5409
5453
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5410
5454
|
/**
|
|
5411
5455
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
|
|
5413
5457
|
*/
|
|
5414
5458
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5415
5459
|
/**
|
|
5416
5460
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
5418
5462
|
*/
|
|
5419
5463
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5420
5464
|
/**
|
|
5421
5465
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
5423
5467
|
*/
|
|
5424
5468
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5425
5469
|
/**
|
|
5426
5470
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
|
|
5428
5472
|
*/
|
|
5429
5473
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5430
5474
|
/**
|
|
5431
5475
|
* Prefer `switch` over multiple `else-if`.
|
|
5432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
|
|
5433
5477
|
*/
|
|
5434
5478
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5435
5479
|
/**
|
|
5436
5480
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
|
|
5438
5482
|
*/
|
|
5439
5483
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5440
5484
|
/**
|
|
5441
5485
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
|
|
5443
5487
|
*/
|
|
5444
5488
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5445
5489
|
/**
|
|
5446
5490
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
|
|
5448
5492
|
*/
|
|
5449
5493
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5450
5494
|
/**
|
|
5451
5495
|
* Prevent abbreviations.
|
|
5452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
|
|
5453
5497
|
*/
|
|
5454
5498
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5455
5499
|
/**
|
|
5456
5500
|
* Enforce consistent relative URL style.
|
|
5457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
|
|
5458
5502
|
*/
|
|
5459
5503
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5460
5504
|
/**
|
|
5461
5505
|
* Enforce using the separator argument with `Array#join()`.
|
|
5462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
|
|
5463
5507
|
*/
|
|
5464
5508
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5465
5509
|
/**
|
|
5466
5510
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5468
5512
|
*/
|
|
5469
5513
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5470
5514
|
/**
|
|
5471
5515
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
|
|
5473
5517
|
*/
|
|
5474
5518
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5475
5519
|
/**
|
|
5476
5520
|
* Enforce better string content.
|
|
5477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
|
|
5478
5522
|
*/
|
|
5479
5523
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5480
5524
|
/**
|
|
5481
5525
|
* Enforce consistent brace style for `case` clauses.
|
|
5482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
|
|
5483
5527
|
*/
|
|
5484
5528
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5485
5529
|
/**
|
|
5486
5530
|
* Fix whitespace-insensitive template indentation.
|
|
5487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
|
|
5488
5532
|
*/
|
|
5489
5533
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5490
5534
|
/**
|
|
5491
5535
|
* Enforce consistent case for text encoding identifiers.
|
|
5492
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
|
|
5493
5537
|
*/
|
|
5494
5538
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5495
5539
|
/**
|
|
5496
5540
|
* Require `new` when creating an error.
|
|
5497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
|
|
5498
5542
|
*/
|
|
5499
5543
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5500
5544
|
/**
|
|
@@ -6502,6 +6546,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
6502
6546
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
6503
6547
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
6504
6548
|
|
|
6549
|
+
checkLiteralConstAssertions?: boolean
|
|
6550
|
+
|
|
6505
6551
|
typesToIgnore?: string[]
|
|
6506
6552
|
}]
|
|
6507
6553
|
// ----- @typescript-eslint/no-unused-expressions -----
|
|
@@ -6510,6 +6556,7 @@ type TypescriptEslintNoUnusedExpressions = []|[{
|
|
|
6510
6556
|
allowTernary?: boolean
|
|
6511
6557
|
allowTaggedTemplates?: boolean
|
|
6512
6558
|
enforceForJSX?: boolean
|
|
6559
|
+
ignoreDirectives?: boolean
|
|
6513
6560
|
}]
|
|
6514
6561
|
// ----- @typescript-eslint/no-unused-vars -----
|
|
6515
6562
|
type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -6572,6 +6619,8 @@ type TypescriptEslintOnlyThrowError = []|[{
|
|
|
6572
6619
|
package: string
|
|
6573
6620
|
})[]
|
|
6574
6621
|
|
|
6622
|
+
allowRethrowing?: boolean
|
|
6623
|
+
|
|
6575
6624
|
allowThrowingAny?: boolean
|
|
6576
6625
|
|
|
6577
6626
|
allowThrowingUnknown?: boolean
|
|
@@ -6629,6 +6678,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
6629
6678
|
|
|
6630
6679
|
ignoreConditionalTests?: boolean
|
|
6631
6680
|
|
|
6681
|
+
ignoreIfStatements?: boolean
|
|
6682
|
+
|
|
6632
6683
|
ignoreMixedLogicalExpressions?: boolean
|
|
6633
6684
|
|
|
6634
6685
|
ignorePrimitives?: ({
|
|
@@ -6971,6 +7022,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
6971
7022
|
type ClassMethodsUseThis = []|[{
|
|
6972
7023
|
exceptMethods?: string[]
|
|
6973
7024
|
enforceForClassFields?: boolean
|
|
7025
|
+
ignoreOverrideMethods?: boolean
|
|
7026
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
6974
7027
|
}]
|
|
6975
7028
|
// ----- comma-dangle -----
|
|
6976
7029
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -8934,7 +8987,7 @@ type NoEmpty = []|[{
|
|
|
8934
8987
|
}]
|
|
8935
8988
|
// ----- no-empty-function -----
|
|
8936
8989
|
type NoEmptyFunction = []|[{
|
|
8937
|
-
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
|
|
8990
|
+
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
|
|
8938
8991
|
}]
|
|
8939
8992
|
// ----- no-empty-pattern -----
|
|
8940
8993
|
type NoEmptyPattern = []|[{
|
|
@@ -9136,13 +9189,9 @@ type NoRestrictedModules = ((string | {
|
|
|
9136
9189
|
}[])
|
|
9137
9190
|
// ----- no-restricted-properties -----
|
|
9138
9191
|
type NoRestrictedProperties = ({
|
|
9139
|
-
|
|
9140
|
-
property?: string
|
|
9141
|
-
message?: string
|
|
9192
|
+
[k: string]: unknown | undefined
|
|
9142
9193
|
} | {
|
|
9143
|
-
|
|
9144
|
-
property: string
|
|
9145
|
-
message?: string
|
|
9194
|
+
[k: string]: unknown | undefined
|
|
9146
9195
|
})[]
|
|
9147
9196
|
// ----- no-restricted-syntax -----
|
|
9148
9197
|
type NoRestrictedSyntax = (string | {
|
|
@@ -9166,6 +9215,10 @@ type NoShadow = []|[{
|
|
|
9166
9215
|
allow?: string[]
|
|
9167
9216
|
ignoreOnInitialization?: boolean
|
|
9168
9217
|
}]
|
|
9218
|
+
// ----- no-shadow-restricted-names -----
|
|
9219
|
+
type NoShadowRestrictedNames = []|[{
|
|
9220
|
+
reportGlobalThis?: boolean
|
|
9221
|
+
}]
|
|
9169
9222
|
// ----- no-sync -----
|
|
9170
9223
|
type NoSync = []|[{
|
|
9171
9224
|
allowAtRootLevel?: boolean
|
|
@@ -9217,6 +9270,7 @@ type NoUnusedExpressions = []|[{
|
|
|
9217
9270
|
allowTernary?: boolean
|
|
9218
9271
|
allowTaggedTemplates?: boolean
|
|
9219
9272
|
enforceForJSX?: boolean
|
|
9273
|
+
ignoreDirectives?: boolean
|
|
9220
9274
|
}]
|
|
9221
9275
|
// ----- no-unused-vars -----
|
|
9222
9276
|
type NoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -9447,6 +9501,7 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
9447
9501
|
resolverConfig?: {
|
|
9448
9502
|
[k: string]: unknown | undefined
|
|
9449
9503
|
}
|
|
9504
|
+
tryExtensions?: string[]
|
|
9450
9505
|
ignoreTypeImport?: boolean
|
|
9451
9506
|
ignorePrivate?: boolean
|
|
9452
9507
|
}]
|
|
@@ -9490,7 +9545,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9490
9545
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9491
9546
|
version?: string
|
|
9492
9547
|
allowExperimental?: boolean
|
|
9493
|
-
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")[]
|
|
9548
|
+
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")[]
|
|
9494
9549
|
}]
|
|
9495
9550
|
// ----- node/prefer-global/buffer -----
|
|
9496
9551
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9638,7 +9693,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9638
9693
|
order?: ("asc" | "desc")
|
|
9639
9694
|
|
|
9640
9695
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9641
|
-
[k: string]: unknown | undefined
|
|
9642
9696
|
}
|
|
9643
9697
|
|
|
9644
9698
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9664,10 +9718,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9664
9718
|
order?: ("asc" | "desc")
|
|
9665
9719
|
|
|
9666
9720
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9667
|
-
[k: string]: unknown | undefined
|
|
9668
9721
|
}
|
|
9669
9722
|
|
|
9670
|
-
groupName
|
|
9723
|
+
groupName: string
|
|
9671
9724
|
|
|
9672
9725
|
order?: ("asc" | "desc")
|
|
9673
9726
|
|
|
@@ -9677,10 +9730,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9677
9730
|
selector?: ("literal" | "spread")
|
|
9678
9731
|
|
|
9679
9732
|
elementNamePattern?: (({
|
|
9680
|
-
|
|
9733
|
+
|
|
9734
|
+
pattern: string
|
|
9735
|
+
|
|
9681
9736
|
flags?: string
|
|
9682
9737
|
} | string)[] | ({
|
|
9683
|
-
|
|
9738
|
+
|
|
9739
|
+
pattern: string
|
|
9740
|
+
|
|
9684
9741
|
flags?: string
|
|
9685
9742
|
} | string))
|
|
9686
9743
|
}[]
|
|
@@ -9693,10 +9750,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9693
9750
|
order?: ("asc" | "desc")
|
|
9694
9751
|
|
|
9695
9752
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9696
|
-
[k: string]: unknown | undefined
|
|
9697
9753
|
}
|
|
9698
9754
|
|
|
9699
|
-
groupName
|
|
9755
|
+
groupName: string
|
|
9700
9756
|
|
|
9701
9757
|
order?: ("asc" | "desc")
|
|
9702
9758
|
|
|
@@ -9705,43 +9761,66 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9705
9761
|
selector?: ("literal" | "spread")
|
|
9706
9762
|
|
|
9707
9763
|
elementNamePattern?: (({
|
|
9708
|
-
|
|
9764
|
+
|
|
9765
|
+
pattern: string
|
|
9766
|
+
|
|
9709
9767
|
flags?: string
|
|
9710
9768
|
} | string)[] | ({
|
|
9711
|
-
|
|
9769
|
+
|
|
9770
|
+
pattern: string
|
|
9771
|
+
|
|
9712
9772
|
flags?: string
|
|
9713
9773
|
} | string))
|
|
9714
9774
|
})[]
|
|
9775
|
+
|
|
9715
9776
|
useConfigurationIf?: {
|
|
9716
9777
|
|
|
9717
9778
|
allNamesMatchPattern?: (({
|
|
9718
|
-
|
|
9779
|
+
|
|
9780
|
+
pattern: string
|
|
9781
|
+
|
|
9719
9782
|
flags?: string
|
|
9720
9783
|
} | string)[] | ({
|
|
9721
|
-
|
|
9784
|
+
|
|
9785
|
+
pattern: string
|
|
9786
|
+
|
|
9722
9787
|
flags?: string
|
|
9723
9788
|
} | string))
|
|
9724
9789
|
}
|
|
9725
9790
|
|
|
9726
9791
|
partitionByComment?: (boolean | (({
|
|
9727
|
-
|
|
9792
|
+
|
|
9793
|
+
pattern: string
|
|
9794
|
+
|
|
9728
9795
|
flags?: string
|
|
9729
9796
|
} | string)[] | ({
|
|
9730
|
-
|
|
9797
|
+
|
|
9798
|
+
pattern: string
|
|
9799
|
+
|
|
9731
9800
|
flags?: string
|
|
9732
9801
|
} | string)) | {
|
|
9802
|
+
|
|
9733
9803
|
block?: (boolean | (({
|
|
9734
|
-
|
|
9804
|
+
|
|
9805
|
+
pattern: string
|
|
9806
|
+
|
|
9735
9807
|
flags?: string
|
|
9736
9808
|
} | string)[] | ({
|
|
9737
|
-
|
|
9809
|
+
|
|
9810
|
+
pattern: string
|
|
9811
|
+
|
|
9738
9812
|
flags?: string
|
|
9739
9813
|
} | string)))
|
|
9814
|
+
|
|
9740
9815
|
line?: (boolean | (({
|
|
9741
|
-
|
|
9816
|
+
|
|
9817
|
+
pattern: string
|
|
9818
|
+
|
|
9742
9819
|
flags?: string
|
|
9743
9820
|
} | string)[] | ({
|
|
9744
|
-
|
|
9821
|
+
|
|
9822
|
+
pattern: string
|
|
9823
|
+
|
|
9745
9824
|
flags?: string
|
|
9746
9825
|
} | string)))
|
|
9747
9826
|
})
|
|
@@ -9752,7 +9831,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9752
9831
|
|
|
9753
9832
|
groups?: (string | string[] | {
|
|
9754
9833
|
|
|
9755
|
-
newlinesBetween
|
|
9834
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9756
9835
|
})[]
|
|
9757
9836
|
}[]
|
|
9758
9837
|
// ----- perfectionist/sort-classes -----
|
|
@@ -9763,7 +9842,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
9763
9842
|
order?: ("asc" | "desc")
|
|
9764
9843
|
|
|
9765
9844
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9766
|
-
[k: string]: unknown | undefined
|
|
9767
9845
|
}
|
|
9768
9846
|
|
|
9769
9847
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9787,10 +9865,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
9787
9865
|
order?: ("asc" | "desc")
|
|
9788
9866
|
|
|
9789
9867
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9790
|
-
[k: string]: unknown | undefined
|
|
9791
9868
|
}
|
|
9792
9869
|
|
|
9793
|
-
groupName
|
|
9870
|
+
groupName: string
|
|
9794
9871
|
|
|
9795
9872
|
order?: ("asc" | "desc")
|
|
9796
9873
|
|
|
@@ -9802,26 +9879,38 @@ type PerfectionistSortClasses = []|[{
|
|
|
9802
9879
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9803
9880
|
|
|
9804
9881
|
decoratorNamePattern?: (({
|
|
9805
|
-
|
|
9882
|
+
|
|
9883
|
+
pattern: string
|
|
9884
|
+
|
|
9806
9885
|
flags?: string
|
|
9807
9886
|
} | string)[] | ({
|
|
9808
|
-
|
|
9887
|
+
|
|
9888
|
+
pattern: string
|
|
9889
|
+
|
|
9809
9890
|
flags?: string
|
|
9810
9891
|
} | string))
|
|
9811
9892
|
|
|
9812
9893
|
elementValuePattern?: (({
|
|
9813
|
-
|
|
9894
|
+
|
|
9895
|
+
pattern: string
|
|
9896
|
+
|
|
9814
9897
|
flags?: string
|
|
9815
9898
|
} | string)[] | ({
|
|
9816
|
-
|
|
9899
|
+
|
|
9900
|
+
pattern: string
|
|
9901
|
+
|
|
9817
9902
|
flags?: string
|
|
9818
9903
|
} | string))
|
|
9819
9904
|
|
|
9820
9905
|
elementNamePattern?: (({
|
|
9821
|
-
|
|
9906
|
+
|
|
9907
|
+
pattern: string
|
|
9908
|
+
|
|
9822
9909
|
flags?: string
|
|
9823
9910
|
} | string)[] | ({
|
|
9824
|
-
|
|
9911
|
+
|
|
9912
|
+
pattern: string
|
|
9913
|
+
|
|
9825
9914
|
flags?: string
|
|
9826
9915
|
} | string))
|
|
9827
9916
|
}[]
|
|
@@ -9834,10 +9923,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
9834
9923
|
order?: ("asc" | "desc")
|
|
9835
9924
|
|
|
9836
9925
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9837
|
-
[k: string]: unknown | undefined
|
|
9838
9926
|
}
|
|
9839
9927
|
|
|
9840
|
-
groupName
|
|
9928
|
+
groupName: string
|
|
9841
9929
|
|
|
9842
9930
|
order?: ("asc" | "desc")
|
|
9843
9931
|
|
|
@@ -9848,57 +9936,87 @@ type PerfectionistSortClasses = []|[{
|
|
|
9848
9936
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9849
9937
|
|
|
9850
9938
|
decoratorNamePattern?: (({
|
|
9851
|
-
|
|
9939
|
+
|
|
9940
|
+
pattern: string
|
|
9941
|
+
|
|
9852
9942
|
flags?: string
|
|
9853
9943
|
} | string)[] | ({
|
|
9854
|
-
|
|
9944
|
+
|
|
9945
|
+
pattern: string
|
|
9946
|
+
|
|
9855
9947
|
flags?: string
|
|
9856
9948
|
} | string))
|
|
9857
9949
|
|
|
9858
9950
|
elementValuePattern?: (({
|
|
9859
|
-
|
|
9951
|
+
|
|
9952
|
+
pattern: string
|
|
9953
|
+
|
|
9860
9954
|
flags?: string
|
|
9861
9955
|
} | string)[] | ({
|
|
9862
|
-
|
|
9956
|
+
|
|
9957
|
+
pattern: string
|
|
9958
|
+
|
|
9863
9959
|
flags?: string
|
|
9864
9960
|
} | string))
|
|
9865
9961
|
|
|
9866
9962
|
elementNamePattern?: (({
|
|
9867
|
-
|
|
9963
|
+
|
|
9964
|
+
pattern: string
|
|
9965
|
+
|
|
9868
9966
|
flags?: string
|
|
9869
9967
|
} | string)[] | ({
|
|
9870
|
-
|
|
9968
|
+
|
|
9969
|
+
pattern: string
|
|
9970
|
+
|
|
9871
9971
|
flags?: string
|
|
9872
9972
|
} | string))
|
|
9873
9973
|
})[]
|
|
9874
9974
|
|
|
9875
9975
|
ignoreCallbackDependenciesPatterns?: (({
|
|
9876
|
-
|
|
9976
|
+
|
|
9977
|
+
pattern: string
|
|
9978
|
+
|
|
9877
9979
|
flags?: string
|
|
9878
9980
|
} | string)[] | ({
|
|
9879
|
-
|
|
9981
|
+
|
|
9982
|
+
pattern: string
|
|
9983
|
+
|
|
9880
9984
|
flags?: string
|
|
9881
9985
|
} | string))
|
|
9882
9986
|
|
|
9883
9987
|
partitionByComment?: (boolean | (({
|
|
9884
|
-
|
|
9988
|
+
|
|
9989
|
+
pattern: string
|
|
9990
|
+
|
|
9885
9991
|
flags?: string
|
|
9886
9992
|
} | string)[] | ({
|
|
9887
|
-
|
|
9993
|
+
|
|
9994
|
+
pattern: string
|
|
9995
|
+
|
|
9888
9996
|
flags?: string
|
|
9889
9997
|
} | string)) | {
|
|
9998
|
+
|
|
9890
9999
|
block?: (boolean | (({
|
|
9891
|
-
|
|
10000
|
+
|
|
10001
|
+
pattern: string
|
|
10002
|
+
|
|
9892
10003
|
flags?: string
|
|
9893
10004
|
} | string)[] | ({
|
|
9894
|
-
|
|
10005
|
+
|
|
10006
|
+
pattern: string
|
|
10007
|
+
|
|
9895
10008
|
flags?: string
|
|
9896
10009
|
} | string)))
|
|
10010
|
+
|
|
9897
10011
|
line?: (boolean | (({
|
|
9898
|
-
|
|
10012
|
+
|
|
10013
|
+
pattern: string
|
|
10014
|
+
|
|
9899
10015
|
flags?: string
|
|
9900
10016
|
} | string)[] | ({
|
|
9901
|
-
|
|
10017
|
+
|
|
10018
|
+
pattern: string
|
|
10019
|
+
|
|
9902
10020
|
flags?: string
|
|
9903
10021
|
} | string)))
|
|
9904
10022
|
})
|
|
@@ -9909,7 +10027,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
9909
10027
|
|
|
9910
10028
|
groups?: (string | string[] | {
|
|
9911
10029
|
|
|
9912
|
-
newlinesBetween
|
|
10030
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9913
10031
|
})[]
|
|
9914
10032
|
}]
|
|
9915
10033
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -9920,7 +10038,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9920
10038
|
order?: ("asc" | "desc")
|
|
9921
10039
|
|
|
9922
10040
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9923
|
-
[k: string]: unknown | undefined
|
|
9924
10041
|
}
|
|
9925
10042
|
|
|
9926
10043
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9946,24 +10063,38 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9946
10063
|
sortOnClasses?: boolean
|
|
9947
10064
|
|
|
9948
10065
|
partitionByComment?: (boolean | (({
|
|
9949
|
-
|
|
10066
|
+
|
|
10067
|
+
pattern: string
|
|
10068
|
+
|
|
9950
10069
|
flags?: string
|
|
9951
10070
|
} | string)[] | ({
|
|
9952
|
-
|
|
10071
|
+
|
|
10072
|
+
pattern: string
|
|
10073
|
+
|
|
9953
10074
|
flags?: string
|
|
9954
10075
|
} | string)) | {
|
|
10076
|
+
|
|
9955
10077
|
block?: (boolean | (({
|
|
9956
|
-
|
|
10078
|
+
|
|
10079
|
+
pattern: string
|
|
10080
|
+
|
|
9957
10081
|
flags?: string
|
|
9958
10082
|
} | string)[] | ({
|
|
9959
|
-
|
|
10083
|
+
|
|
10084
|
+
pattern: string
|
|
10085
|
+
|
|
9960
10086
|
flags?: string
|
|
9961
10087
|
} | string)))
|
|
10088
|
+
|
|
9962
10089
|
line?: (boolean | (({
|
|
9963
|
-
|
|
10090
|
+
|
|
10091
|
+
pattern: string
|
|
10092
|
+
|
|
9964
10093
|
flags?: string
|
|
9965
10094
|
} | string)[] | ({
|
|
9966
|
-
|
|
10095
|
+
|
|
10096
|
+
pattern: string
|
|
10097
|
+
|
|
9967
10098
|
flags?: string
|
|
9968
10099
|
} | string)))
|
|
9969
10100
|
})
|
|
@@ -9974,7 +10105,7 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9974
10105
|
|
|
9975
10106
|
groups?: (string | string[] | {
|
|
9976
10107
|
|
|
9977
|
-
newlinesBetween
|
|
10108
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9978
10109
|
})[]
|
|
9979
10110
|
}]
|
|
9980
10111
|
// ----- perfectionist/sort-enums -----
|
|
@@ -9985,7 +10116,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
9985
10116
|
order?: ("asc" | "desc")
|
|
9986
10117
|
|
|
9987
10118
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9988
|
-
[k: string]: unknown | undefined
|
|
9989
10119
|
}
|
|
9990
10120
|
|
|
9991
10121
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9999,8 +10129,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
9999
10129
|
order?: ("asc" | "desc")
|
|
10000
10130
|
|
|
10001
10131
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10002
|
-
|
|
10003
|
-
forceNumericSort?: boolean
|
|
10004
10132
|
customGroups?: ({
|
|
10005
10133
|
[k: string]: (string | string[]) | undefined
|
|
10006
10134
|
} | ({
|
|
@@ -10012,10 +10140,9 @@ type PerfectionistSortEnums = []|[{
|
|
|
10012
10140
|
order?: ("asc" | "desc")
|
|
10013
10141
|
|
|
10014
10142
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10015
|
-
[k: string]: unknown | undefined
|
|
10016
10143
|
}
|
|
10017
10144
|
|
|
10018
|
-
groupName
|
|
10145
|
+
groupName: string
|
|
10019
10146
|
|
|
10020
10147
|
order?: ("asc" | "desc")
|
|
10021
10148
|
|
|
@@ -10023,18 +10150,26 @@ type PerfectionistSortEnums = []|[{
|
|
|
10023
10150
|
anyOf?: {
|
|
10024
10151
|
|
|
10025
10152
|
elementValuePattern?: (({
|
|
10026
|
-
|
|
10153
|
+
|
|
10154
|
+
pattern: string
|
|
10155
|
+
|
|
10027
10156
|
flags?: string
|
|
10028
10157
|
} | string)[] | ({
|
|
10029
|
-
|
|
10158
|
+
|
|
10159
|
+
pattern: string
|
|
10160
|
+
|
|
10030
10161
|
flags?: string
|
|
10031
10162
|
} | string))
|
|
10032
10163
|
|
|
10033
10164
|
elementNamePattern?: (({
|
|
10034
|
-
|
|
10165
|
+
|
|
10166
|
+
pattern: string
|
|
10167
|
+
|
|
10035
10168
|
flags?: string
|
|
10036
10169
|
} | string)[] | ({
|
|
10037
|
-
|
|
10170
|
+
|
|
10171
|
+
pattern: string
|
|
10172
|
+
|
|
10038
10173
|
flags?: string
|
|
10039
10174
|
} | string))
|
|
10040
10175
|
}[]
|
|
@@ -10047,53 +10182,76 @@ type PerfectionistSortEnums = []|[{
|
|
|
10047
10182
|
order?: ("asc" | "desc")
|
|
10048
10183
|
|
|
10049
10184
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10050
|
-
[k: string]: unknown | undefined
|
|
10051
10185
|
}
|
|
10052
10186
|
|
|
10053
|
-
groupName
|
|
10187
|
+
groupName: string
|
|
10054
10188
|
|
|
10055
10189
|
order?: ("asc" | "desc")
|
|
10056
10190
|
|
|
10057
10191
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10058
10192
|
|
|
10059
10193
|
elementValuePattern?: (({
|
|
10060
|
-
|
|
10194
|
+
|
|
10195
|
+
pattern: string
|
|
10196
|
+
|
|
10061
10197
|
flags?: string
|
|
10062
10198
|
} | string)[] | ({
|
|
10063
|
-
|
|
10199
|
+
|
|
10200
|
+
pattern: string
|
|
10201
|
+
|
|
10064
10202
|
flags?: string
|
|
10065
10203
|
} | string))
|
|
10066
10204
|
|
|
10067
10205
|
elementNamePattern?: (({
|
|
10068
|
-
|
|
10206
|
+
|
|
10207
|
+
pattern: string
|
|
10208
|
+
|
|
10069
10209
|
flags?: string
|
|
10070
10210
|
} | string)[] | ({
|
|
10071
|
-
|
|
10211
|
+
|
|
10212
|
+
pattern: string
|
|
10213
|
+
|
|
10072
10214
|
flags?: string
|
|
10073
10215
|
} | string))
|
|
10074
10216
|
})[])
|
|
10075
10217
|
|
|
10218
|
+
forceNumericSort?: boolean
|
|
10219
|
+
|
|
10076
10220
|
sortByValue?: boolean
|
|
10077
10221
|
|
|
10078
10222
|
partitionByComment?: (boolean | (({
|
|
10079
|
-
|
|
10223
|
+
|
|
10224
|
+
pattern: string
|
|
10225
|
+
|
|
10080
10226
|
flags?: string
|
|
10081
10227
|
} | string)[] | ({
|
|
10082
|
-
|
|
10228
|
+
|
|
10229
|
+
pattern: string
|
|
10230
|
+
|
|
10083
10231
|
flags?: string
|
|
10084
10232
|
} | string)) | {
|
|
10233
|
+
|
|
10085
10234
|
block?: (boolean | (({
|
|
10086
|
-
|
|
10235
|
+
|
|
10236
|
+
pattern: string
|
|
10237
|
+
|
|
10087
10238
|
flags?: string
|
|
10088
10239
|
} | string)[] | ({
|
|
10089
|
-
|
|
10240
|
+
|
|
10241
|
+
pattern: string
|
|
10242
|
+
|
|
10090
10243
|
flags?: string
|
|
10091
10244
|
} | string)))
|
|
10245
|
+
|
|
10092
10246
|
line?: (boolean | (({
|
|
10093
|
-
|
|
10247
|
+
|
|
10248
|
+
pattern: string
|
|
10249
|
+
|
|
10094
10250
|
flags?: string
|
|
10095
10251
|
} | string)[] | ({
|
|
10096
|
-
|
|
10252
|
+
|
|
10253
|
+
pattern: string
|
|
10254
|
+
|
|
10097
10255
|
flags?: string
|
|
10098
10256
|
} | string)))
|
|
10099
10257
|
})
|
|
@@ -10104,18 +10262,17 @@ type PerfectionistSortEnums = []|[{
|
|
|
10104
10262
|
|
|
10105
10263
|
groups?: (string | string[] | {
|
|
10106
10264
|
|
|
10107
|
-
newlinesBetween
|
|
10265
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10108
10266
|
})[]
|
|
10109
10267
|
}]
|
|
10110
10268
|
// ----- perfectionist/sort-exports -----
|
|
10111
|
-
type PerfectionistSortExports =
|
|
10269
|
+
type PerfectionistSortExports = {
|
|
10112
10270
|
|
|
10113
10271
|
fallbackSort?: {
|
|
10114
10272
|
|
|
10115
10273
|
order?: ("asc" | "desc")
|
|
10116
10274
|
|
|
10117
10275
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10118
|
-
[k: string]: unknown | undefined
|
|
10119
10276
|
}
|
|
10120
10277
|
|
|
10121
10278
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10132,31 +10289,120 @@ type PerfectionistSortExports = []|[{
|
|
|
10132
10289
|
|
|
10133
10290
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10134
10291
|
|
|
10292
|
+
customGroups?: ({
|
|
10293
|
+
|
|
10294
|
+
newlinesInside?: ("always" | "never")
|
|
10295
|
+
|
|
10296
|
+
fallbackSort?: {
|
|
10297
|
+
|
|
10298
|
+
order?: ("asc" | "desc")
|
|
10299
|
+
|
|
10300
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10301
|
+
}
|
|
10302
|
+
|
|
10303
|
+
groupName: string
|
|
10304
|
+
|
|
10305
|
+
order?: ("asc" | "desc")
|
|
10306
|
+
|
|
10307
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10308
|
+
anyOf?: {
|
|
10309
|
+
|
|
10310
|
+
modifiers?: ("value" | "type")[]
|
|
10311
|
+
|
|
10312
|
+
selector?: "export"
|
|
10313
|
+
|
|
10314
|
+
elementNamePattern?: (({
|
|
10315
|
+
|
|
10316
|
+
pattern: string
|
|
10317
|
+
|
|
10318
|
+
flags?: string
|
|
10319
|
+
} | string)[] | ({
|
|
10320
|
+
|
|
10321
|
+
pattern: string
|
|
10322
|
+
|
|
10323
|
+
flags?: string
|
|
10324
|
+
} | string))
|
|
10325
|
+
}[]
|
|
10326
|
+
} | {
|
|
10327
|
+
|
|
10328
|
+
newlinesInside?: ("always" | "never")
|
|
10329
|
+
|
|
10330
|
+
fallbackSort?: {
|
|
10331
|
+
|
|
10332
|
+
order?: ("asc" | "desc")
|
|
10333
|
+
|
|
10334
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10335
|
+
}
|
|
10336
|
+
|
|
10337
|
+
groupName: string
|
|
10338
|
+
|
|
10339
|
+
order?: ("asc" | "desc")
|
|
10340
|
+
|
|
10341
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10342
|
+
|
|
10343
|
+
modifiers?: ("value" | "type")[]
|
|
10344
|
+
|
|
10345
|
+
selector?: "export"
|
|
10346
|
+
|
|
10347
|
+
elementNamePattern?: (({
|
|
10348
|
+
|
|
10349
|
+
pattern: string
|
|
10350
|
+
|
|
10351
|
+
flags?: string
|
|
10352
|
+
} | string)[] | ({
|
|
10353
|
+
|
|
10354
|
+
pattern: string
|
|
10355
|
+
|
|
10356
|
+
flags?: string
|
|
10357
|
+
} | string))
|
|
10358
|
+
})[]
|
|
10359
|
+
|
|
10135
10360
|
partitionByComment?: (boolean | (({
|
|
10136
|
-
|
|
10361
|
+
|
|
10362
|
+
pattern: string
|
|
10363
|
+
|
|
10137
10364
|
flags?: string
|
|
10138
10365
|
} | string)[] | ({
|
|
10139
|
-
|
|
10366
|
+
|
|
10367
|
+
pattern: string
|
|
10368
|
+
|
|
10140
10369
|
flags?: string
|
|
10141
10370
|
} | string)) | {
|
|
10371
|
+
|
|
10142
10372
|
block?: (boolean | (({
|
|
10143
|
-
|
|
10373
|
+
|
|
10374
|
+
pattern: string
|
|
10375
|
+
|
|
10144
10376
|
flags?: string
|
|
10145
10377
|
} | string)[] | ({
|
|
10146
|
-
|
|
10378
|
+
|
|
10379
|
+
pattern: string
|
|
10380
|
+
|
|
10147
10381
|
flags?: string
|
|
10148
10382
|
} | string)))
|
|
10383
|
+
|
|
10149
10384
|
line?: (boolean | (({
|
|
10150
|
-
|
|
10385
|
+
|
|
10386
|
+
pattern: string
|
|
10387
|
+
|
|
10151
10388
|
flags?: string
|
|
10152
10389
|
} | string)[] | ({
|
|
10153
|
-
|
|
10390
|
+
|
|
10391
|
+
pattern: string
|
|
10392
|
+
|
|
10154
10393
|
flags?: string
|
|
10155
10394
|
} | string)))
|
|
10156
10395
|
})
|
|
10157
10396
|
|
|
10158
10397
|
partitionByNewLine?: boolean
|
|
10159
|
-
|
|
10398
|
+
|
|
10399
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10400
|
+
|
|
10401
|
+
groups?: (string | string[] | {
|
|
10402
|
+
|
|
10403
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10404
|
+
})[]
|
|
10405
|
+
}[]
|
|
10160
10406
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
10161
10407
|
type PerfectionistSortHeritageClauses = []|[{
|
|
10162
10408
|
|
|
@@ -10165,7 +10411,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10165
10411
|
order?: ("asc" | "desc")
|
|
10166
10412
|
|
|
10167
10413
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10168
|
-
[k: string]: unknown | undefined
|
|
10169
10414
|
}
|
|
10170
10415
|
|
|
10171
10416
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10186,19 +10431,17 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10186
10431
|
|
|
10187
10432
|
groups?: (string | string[] | {
|
|
10188
10433
|
|
|
10189
|
-
newlinesBetween
|
|
10434
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10190
10435
|
})[]
|
|
10191
10436
|
}]
|
|
10192
10437
|
// ----- perfectionist/sort-imports -----
|
|
10193
|
-
type PerfectionistSortImports =
|
|
10194
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10438
|
+
type PerfectionistSortImports = {
|
|
10195
10439
|
|
|
10196
10440
|
fallbackSort?: {
|
|
10197
10441
|
|
|
10198
10442
|
order?: ("asc" | "desc")
|
|
10199
10443
|
|
|
10200
10444
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10201
|
-
[k: string]: unknown | undefined
|
|
10202
10445
|
}
|
|
10203
10446
|
|
|
10204
10447
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10212,73 +10455,173 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10212
10455
|
order?: ("asc" | "desc")
|
|
10213
10456
|
|
|
10214
10457
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10215
|
-
|
|
10216
|
-
customGroups?: {
|
|
10458
|
+
customGroups?: ({
|
|
10217
10459
|
|
|
10218
10460
|
value?: {
|
|
10219
|
-
[k: string]:
|
|
10461
|
+
[k: string]: (string | string[]) | undefined
|
|
10220
10462
|
}
|
|
10221
10463
|
|
|
10222
10464
|
type?: {
|
|
10223
|
-
[k: string]:
|
|
10465
|
+
[k: string]: (string | string[]) | undefined
|
|
10224
10466
|
}
|
|
10225
|
-
}
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10467
|
+
} | ({
|
|
10468
|
+
|
|
10469
|
+
newlinesInside?: ("always" | "never")
|
|
10470
|
+
|
|
10471
|
+
fallbackSort?: {
|
|
10472
|
+
|
|
10473
|
+
order?: ("asc" | "desc")
|
|
10474
|
+
|
|
10475
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10476
|
+
}
|
|
10477
|
+
|
|
10478
|
+
groupName: string
|
|
10479
|
+
|
|
10480
|
+
order?: ("asc" | "desc")
|
|
10481
|
+
|
|
10482
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10483
|
+
anyOf?: {
|
|
10484
|
+
|
|
10485
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
10486
|
+
|
|
10487
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
10488
|
+
|
|
10489
|
+
elementValuePattern?: (({
|
|
10490
|
+
|
|
10491
|
+
pattern: string
|
|
10492
|
+
|
|
10493
|
+
flags?: string
|
|
10494
|
+
} | string)[] | ({
|
|
10495
|
+
|
|
10496
|
+
pattern: string
|
|
10497
|
+
|
|
10498
|
+
flags?: string
|
|
10499
|
+
} | string))
|
|
10500
|
+
|
|
10501
|
+
elementNamePattern?: (({
|
|
10502
|
+
|
|
10503
|
+
pattern: string
|
|
10504
|
+
|
|
10505
|
+
flags?: string
|
|
10506
|
+
} | string)[] | ({
|
|
10507
|
+
|
|
10508
|
+
pattern: string
|
|
10509
|
+
|
|
10510
|
+
flags?: string
|
|
10511
|
+
} | string))
|
|
10512
|
+
}[]
|
|
10513
|
+
} | {
|
|
10514
|
+
|
|
10515
|
+
newlinesInside?: ("always" | "never")
|
|
10516
|
+
|
|
10517
|
+
fallbackSort?: {
|
|
10518
|
+
|
|
10519
|
+
order?: ("asc" | "desc")
|
|
10520
|
+
|
|
10521
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10522
|
+
}
|
|
10523
|
+
|
|
10524
|
+
groupName: string
|
|
10525
|
+
|
|
10526
|
+
order?: ("asc" | "desc")
|
|
10527
|
+
|
|
10528
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10529
|
+
|
|
10530
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
10531
|
+
|
|
10532
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
10533
|
+
|
|
10534
|
+
elementValuePattern?: (({
|
|
10535
|
+
|
|
10536
|
+
pattern: string
|
|
10537
|
+
|
|
10538
|
+
flags?: string
|
|
10539
|
+
} | string)[] | ({
|
|
10540
|
+
|
|
10541
|
+
pattern: string
|
|
10542
|
+
|
|
10543
|
+
flags?: string
|
|
10544
|
+
} | string))
|
|
10545
|
+
|
|
10546
|
+
elementNamePattern?: (({
|
|
10547
|
+
|
|
10548
|
+
pattern: string
|
|
10549
|
+
|
|
10550
|
+
flags?: string
|
|
10551
|
+
} | string)[] | ({
|
|
10552
|
+
|
|
10553
|
+
pattern: string
|
|
10554
|
+
|
|
10555
|
+
flags?: string
|
|
10556
|
+
} | string))
|
|
10557
|
+
})[])
|
|
10558
|
+
|
|
10559
|
+
maxLineLength?: number
|
|
10560
|
+
|
|
10561
|
+
sortSideEffects?: boolean
|
|
10562
|
+
|
|
10563
|
+
environment?: ("node" | "bun")
|
|
10564
|
+
|
|
10565
|
+
tsconfigRootDir?: string
|
|
10566
|
+
|
|
10567
|
+
partitionByComment?: (boolean | (({
|
|
10568
|
+
|
|
10569
|
+
pattern: string
|
|
10570
|
+
|
|
10571
|
+
flags?: string
|
|
10572
|
+
} | string)[] | ({
|
|
10573
|
+
|
|
10574
|
+
pattern: string
|
|
10575
|
+
|
|
10576
|
+
flags?: string
|
|
10577
|
+
} | string)) | {
|
|
10578
|
+
|
|
10579
|
+
block?: (boolean | (({
|
|
10580
|
+
|
|
10581
|
+
pattern: string
|
|
10582
|
+
|
|
10583
|
+
flags?: string
|
|
10584
|
+
} | string)[] | ({
|
|
10585
|
+
|
|
10586
|
+
pattern: string
|
|
10587
|
+
|
|
10588
|
+
flags?: string
|
|
10589
|
+
} | string)))
|
|
10590
|
+
|
|
10591
|
+
line?: (boolean | (({
|
|
10592
|
+
|
|
10593
|
+
pattern: string
|
|
10594
|
+
|
|
10595
|
+
flags?: string
|
|
10596
|
+
} | string)[] | ({
|
|
10597
|
+
|
|
10598
|
+
pattern: string
|
|
10599
|
+
|
|
10600
|
+
flags?: string
|
|
10601
|
+
} | string)))
|
|
10602
|
+
})
|
|
10603
|
+
|
|
10604
|
+
partitionByNewLine?: boolean
|
|
10605
|
+
|
|
10606
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10607
|
+
|
|
10262
10608
|
internalPattern?: (({
|
|
10263
|
-
|
|
10609
|
+
|
|
10610
|
+
pattern: string
|
|
10611
|
+
|
|
10264
10612
|
flags?: string
|
|
10265
10613
|
} | string)[] | ({
|
|
10266
|
-
|
|
10614
|
+
|
|
10615
|
+
pattern: string
|
|
10616
|
+
|
|
10267
10617
|
flags?: string
|
|
10268
10618
|
} | string))
|
|
10269
10619
|
|
|
10270
10620
|
groups?: (string | string[] | {
|
|
10271
10621
|
|
|
10272
|
-
newlinesBetween
|
|
10622
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10273
10623
|
})[]
|
|
10274
|
-
}
|
|
10275
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10276
|
-
[k: string]: unknown | undefined
|
|
10277
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
10278
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
10279
|
-
type: "line-length"
|
|
10280
|
-
[k: string]: unknown | undefined
|
|
10281
|
-
}
|
|
10624
|
+
}[]
|
|
10282
10625
|
// ----- perfectionist/sort-interfaces -----
|
|
10283
10626
|
type PerfectionistSortInterfaces = {
|
|
10284
10627
|
|
|
@@ -10287,7 +10630,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10287
10630
|
order?: ("asc" | "desc")
|
|
10288
10631
|
|
|
10289
10632
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10290
|
-
|
|
10633
|
+
sortBy?: ("name" | "value")
|
|
10291
10634
|
}
|
|
10292
10635
|
|
|
10293
10636
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10313,10 +10656,9 @@ type PerfectionistSortInterfaces = {
|
|
|
10313
10656
|
|
|
10314
10657
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10315
10658
|
sortBy?: ("name" | "value")
|
|
10316
|
-
[k: string]: unknown | undefined
|
|
10317
10659
|
}
|
|
10318
10660
|
|
|
10319
|
-
groupName
|
|
10661
|
+
groupName: string
|
|
10320
10662
|
|
|
10321
10663
|
order?: ("asc" | "desc")
|
|
10322
10664
|
|
|
@@ -10328,18 +10670,26 @@ type PerfectionistSortInterfaces = {
|
|
|
10328
10670
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10329
10671
|
|
|
10330
10672
|
elementValuePattern?: (({
|
|
10331
|
-
|
|
10673
|
+
|
|
10674
|
+
pattern: string
|
|
10675
|
+
|
|
10332
10676
|
flags?: string
|
|
10333
10677
|
} | string)[] | ({
|
|
10334
|
-
|
|
10678
|
+
|
|
10679
|
+
pattern: string
|
|
10680
|
+
|
|
10335
10681
|
flags?: string
|
|
10336
10682
|
} | string))
|
|
10337
10683
|
|
|
10338
10684
|
elementNamePattern?: (({
|
|
10339
|
-
|
|
10685
|
+
|
|
10686
|
+
pattern: string
|
|
10687
|
+
|
|
10340
10688
|
flags?: string
|
|
10341
10689
|
} | string)[] | ({
|
|
10342
|
-
|
|
10690
|
+
|
|
10691
|
+
pattern: string
|
|
10692
|
+
|
|
10343
10693
|
flags?: string
|
|
10344
10694
|
} | string))
|
|
10345
10695
|
sortBy?: ("name" | "value")
|
|
@@ -10354,10 +10704,9 @@ type PerfectionistSortInterfaces = {
|
|
|
10354
10704
|
|
|
10355
10705
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10356
10706
|
sortBy?: ("name" | "value")
|
|
10357
|
-
[k: string]: unknown | undefined
|
|
10358
10707
|
}
|
|
10359
10708
|
|
|
10360
|
-
groupName
|
|
10709
|
+
groupName: string
|
|
10361
10710
|
|
|
10362
10711
|
order?: ("asc" | "desc")
|
|
10363
10712
|
|
|
@@ -10368,62 +10717,93 @@ type PerfectionistSortInterfaces = {
|
|
|
10368
10717
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10369
10718
|
|
|
10370
10719
|
elementValuePattern?: (({
|
|
10371
|
-
|
|
10720
|
+
|
|
10721
|
+
pattern: string
|
|
10722
|
+
|
|
10372
10723
|
flags?: string
|
|
10373
10724
|
} | string)[] | ({
|
|
10374
|
-
|
|
10725
|
+
|
|
10726
|
+
pattern: string
|
|
10727
|
+
|
|
10375
10728
|
flags?: string
|
|
10376
10729
|
} | string))
|
|
10377
10730
|
|
|
10378
10731
|
elementNamePattern?: (({
|
|
10379
|
-
|
|
10732
|
+
|
|
10733
|
+
pattern: string
|
|
10734
|
+
|
|
10380
10735
|
flags?: string
|
|
10381
10736
|
} | string)[] | ({
|
|
10382
|
-
|
|
10737
|
+
|
|
10738
|
+
pattern: string
|
|
10739
|
+
|
|
10383
10740
|
flags?: string
|
|
10384
10741
|
} | string))
|
|
10385
10742
|
sortBy?: ("name" | "value")
|
|
10386
10743
|
})[])
|
|
10744
|
+
|
|
10745
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10746
|
+
|
|
10387
10747
|
useConfigurationIf?: {
|
|
10388
10748
|
|
|
10389
10749
|
allNamesMatchPattern?: (({
|
|
10390
|
-
|
|
10750
|
+
|
|
10751
|
+
pattern: string
|
|
10752
|
+
|
|
10391
10753
|
flags?: string
|
|
10392
10754
|
} | string)[] | ({
|
|
10393
|
-
|
|
10755
|
+
|
|
10756
|
+
pattern: string
|
|
10757
|
+
|
|
10394
10758
|
flags?: string
|
|
10395
10759
|
} | string))
|
|
10396
10760
|
|
|
10397
10761
|
declarationMatchesPattern?: (({
|
|
10398
|
-
|
|
10762
|
+
|
|
10763
|
+
pattern: string
|
|
10764
|
+
|
|
10399
10765
|
flags?: string
|
|
10400
10766
|
} | string)[] | ({
|
|
10401
|
-
|
|
10767
|
+
|
|
10768
|
+
pattern: string
|
|
10769
|
+
|
|
10402
10770
|
flags?: string
|
|
10403
10771
|
} | string))
|
|
10404
10772
|
}
|
|
10405
10773
|
|
|
10406
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10407
|
-
|
|
10408
10774
|
partitionByComment?: (boolean | (({
|
|
10409
|
-
|
|
10775
|
+
|
|
10776
|
+
pattern: string
|
|
10777
|
+
|
|
10410
10778
|
flags?: string
|
|
10411
10779
|
} | string)[] | ({
|
|
10412
|
-
|
|
10780
|
+
|
|
10781
|
+
pattern: string
|
|
10782
|
+
|
|
10413
10783
|
flags?: string
|
|
10414
10784
|
} | string)) | {
|
|
10785
|
+
|
|
10415
10786
|
block?: (boolean | (({
|
|
10416
|
-
|
|
10787
|
+
|
|
10788
|
+
pattern: string
|
|
10789
|
+
|
|
10417
10790
|
flags?: string
|
|
10418
10791
|
} | string)[] | ({
|
|
10419
|
-
|
|
10792
|
+
|
|
10793
|
+
pattern: string
|
|
10794
|
+
|
|
10420
10795
|
flags?: string
|
|
10421
10796
|
} | string)))
|
|
10797
|
+
|
|
10422
10798
|
line?: (boolean | (({
|
|
10423
|
-
|
|
10799
|
+
|
|
10800
|
+
pattern: string
|
|
10801
|
+
|
|
10424
10802
|
flags?: string
|
|
10425
10803
|
} | string)[] | ({
|
|
10426
|
-
|
|
10804
|
+
|
|
10805
|
+
pattern: string
|
|
10806
|
+
|
|
10427
10807
|
flags?: string
|
|
10428
10808
|
} | string)))
|
|
10429
10809
|
})
|
|
@@ -10433,28 +10813,31 @@ type PerfectionistSortInterfaces = {
|
|
|
10433
10813
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10434
10814
|
|
|
10435
10815
|
ignorePattern?: (({
|
|
10436
|
-
|
|
10816
|
+
|
|
10817
|
+
pattern: string
|
|
10818
|
+
|
|
10437
10819
|
flags?: string
|
|
10438
10820
|
} | string)[] | ({
|
|
10439
|
-
|
|
10821
|
+
|
|
10822
|
+
pattern: string
|
|
10823
|
+
|
|
10440
10824
|
flags?: string
|
|
10441
10825
|
} | string))
|
|
10442
10826
|
sortBy?: ("name" | "value")
|
|
10443
10827
|
|
|
10444
10828
|
groups?: (string | string[] | {
|
|
10445
10829
|
|
|
10446
|
-
newlinesBetween
|
|
10830
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10447
10831
|
})[]
|
|
10448
10832
|
}[]
|
|
10449
10833
|
// ----- perfectionist/sort-intersection-types -----
|
|
10450
|
-
type PerfectionistSortIntersectionTypes =
|
|
10834
|
+
type PerfectionistSortIntersectionTypes = {
|
|
10451
10835
|
|
|
10452
10836
|
fallbackSort?: {
|
|
10453
10837
|
|
|
10454
10838
|
order?: ("asc" | "desc")
|
|
10455
10839
|
|
|
10456
10840
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10457
|
-
[k: string]: unknown | undefined
|
|
10458
10841
|
}
|
|
10459
10842
|
|
|
10460
10843
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10469,25 +10852,103 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10469
10852
|
|
|
10470
10853
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10471
10854
|
|
|
10855
|
+
customGroups?: ({
|
|
10856
|
+
|
|
10857
|
+
newlinesInside?: ("always" | "never")
|
|
10858
|
+
|
|
10859
|
+
fallbackSort?: {
|
|
10860
|
+
|
|
10861
|
+
order?: ("asc" | "desc")
|
|
10862
|
+
|
|
10863
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10864
|
+
}
|
|
10865
|
+
|
|
10866
|
+
groupName: string
|
|
10867
|
+
|
|
10868
|
+
order?: ("asc" | "desc")
|
|
10869
|
+
|
|
10870
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10871
|
+
anyOf?: {
|
|
10872
|
+
|
|
10873
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
10874
|
+
|
|
10875
|
+
elementNamePattern?: (({
|
|
10876
|
+
|
|
10877
|
+
pattern: string
|
|
10878
|
+
|
|
10879
|
+
flags?: string
|
|
10880
|
+
} | string)[] | ({
|
|
10881
|
+
|
|
10882
|
+
pattern: string
|
|
10883
|
+
|
|
10884
|
+
flags?: string
|
|
10885
|
+
} | string))
|
|
10886
|
+
}[]
|
|
10887
|
+
} | {
|
|
10888
|
+
|
|
10889
|
+
newlinesInside?: ("always" | "never")
|
|
10890
|
+
|
|
10891
|
+
fallbackSort?: {
|
|
10892
|
+
|
|
10893
|
+
order?: ("asc" | "desc")
|
|
10894
|
+
|
|
10895
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10896
|
+
}
|
|
10897
|
+
|
|
10898
|
+
groupName: string
|
|
10899
|
+
|
|
10900
|
+
order?: ("asc" | "desc")
|
|
10901
|
+
|
|
10902
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10903
|
+
|
|
10904
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
10905
|
+
|
|
10906
|
+
elementNamePattern?: (({
|
|
10907
|
+
|
|
10908
|
+
pattern: string
|
|
10909
|
+
|
|
10910
|
+
flags?: string
|
|
10911
|
+
} | string)[] | ({
|
|
10912
|
+
|
|
10913
|
+
pattern: string
|
|
10914
|
+
|
|
10915
|
+
flags?: string
|
|
10916
|
+
} | string))
|
|
10917
|
+
})[]
|
|
10918
|
+
|
|
10472
10919
|
partitionByComment?: (boolean | (({
|
|
10473
|
-
|
|
10920
|
+
|
|
10921
|
+
pattern: string
|
|
10922
|
+
|
|
10474
10923
|
flags?: string
|
|
10475
10924
|
} | string)[] | ({
|
|
10476
|
-
|
|
10925
|
+
|
|
10926
|
+
pattern: string
|
|
10927
|
+
|
|
10477
10928
|
flags?: string
|
|
10478
10929
|
} | string)) | {
|
|
10930
|
+
|
|
10479
10931
|
block?: (boolean | (({
|
|
10480
|
-
|
|
10932
|
+
|
|
10933
|
+
pattern: string
|
|
10934
|
+
|
|
10481
10935
|
flags?: string
|
|
10482
10936
|
} | string)[] | ({
|
|
10483
|
-
|
|
10937
|
+
|
|
10938
|
+
pattern: string
|
|
10939
|
+
|
|
10484
10940
|
flags?: string
|
|
10485
10941
|
} | string)))
|
|
10942
|
+
|
|
10486
10943
|
line?: (boolean | (({
|
|
10487
|
-
|
|
10944
|
+
|
|
10945
|
+
pattern: string
|
|
10946
|
+
|
|
10488
10947
|
flags?: string
|
|
10489
10948
|
} | string)[] | ({
|
|
10490
|
-
|
|
10949
|
+
|
|
10950
|
+
pattern: string
|
|
10951
|
+
|
|
10491
10952
|
flags?: string
|
|
10492
10953
|
} | string)))
|
|
10493
10954
|
})
|
|
@@ -10498,9 +10959,9 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10498
10959
|
|
|
10499
10960
|
groups?: (string | string[] | {
|
|
10500
10961
|
|
|
10501
|
-
newlinesBetween
|
|
10962
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10502
10963
|
})[]
|
|
10503
|
-
}]
|
|
10964
|
+
}[]
|
|
10504
10965
|
// ----- perfectionist/sort-jsx-props -----
|
|
10505
10966
|
type PerfectionistSortJsxProps = {
|
|
10506
10967
|
|
|
@@ -10509,7 +10970,6 @@ type PerfectionistSortJsxProps = {
|
|
|
10509
10970
|
order?: ("asc" | "desc")
|
|
10510
10971
|
|
|
10511
10972
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10512
|
-
[k: string]: unknown | undefined
|
|
10513
10973
|
}
|
|
10514
10974
|
|
|
10515
10975
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10522,22 +10982,124 @@ type PerfectionistSortJsxProps = {
|
|
|
10522
10982
|
|
|
10523
10983
|
order?: ("asc" | "desc")
|
|
10524
10984
|
|
|
10525
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10985
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10986
|
+
customGroups?: ({
|
|
10987
|
+
[k: string]: (string | string[]) | undefined
|
|
10988
|
+
} | ({
|
|
10989
|
+
|
|
10990
|
+
newlinesInside?: ("always" | "never")
|
|
10991
|
+
|
|
10992
|
+
fallbackSort?: {
|
|
10993
|
+
|
|
10994
|
+
order?: ("asc" | "desc")
|
|
10995
|
+
|
|
10996
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10997
|
+
}
|
|
10998
|
+
|
|
10999
|
+
groupName: string
|
|
11000
|
+
|
|
11001
|
+
order?: ("asc" | "desc")
|
|
11002
|
+
|
|
11003
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11004
|
+
anyOf?: {
|
|
11005
|
+
|
|
11006
|
+
modifiers?: ("shorthand" | "multiline")[]
|
|
11007
|
+
|
|
11008
|
+
selector?: ("multiline" | "prop" | "shorthand")
|
|
11009
|
+
|
|
11010
|
+
elementValuePattern?: (({
|
|
11011
|
+
|
|
11012
|
+
pattern: string
|
|
11013
|
+
|
|
11014
|
+
flags?: string
|
|
11015
|
+
} | string)[] | ({
|
|
11016
|
+
|
|
11017
|
+
pattern: string
|
|
11018
|
+
|
|
11019
|
+
flags?: string
|
|
11020
|
+
} | string))
|
|
11021
|
+
|
|
11022
|
+
elementNamePattern?: (({
|
|
11023
|
+
|
|
11024
|
+
pattern: string
|
|
11025
|
+
|
|
11026
|
+
flags?: string
|
|
11027
|
+
} | string)[] | ({
|
|
11028
|
+
|
|
11029
|
+
pattern: string
|
|
11030
|
+
|
|
11031
|
+
flags?: string
|
|
11032
|
+
} | string))
|
|
11033
|
+
}[]
|
|
11034
|
+
} | {
|
|
11035
|
+
|
|
11036
|
+
newlinesInside?: ("always" | "never")
|
|
11037
|
+
|
|
11038
|
+
fallbackSort?: {
|
|
11039
|
+
|
|
11040
|
+
order?: ("asc" | "desc")
|
|
11041
|
+
|
|
11042
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11043
|
+
}
|
|
11044
|
+
|
|
11045
|
+
groupName: string
|
|
11046
|
+
|
|
11047
|
+
order?: ("asc" | "desc")
|
|
11048
|
+
|
|
11049
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11050
|
+
|
|
11051
|
+
modifiers?: ("shorthand" | "multiline")[]
|
|
11052
|
+
|
|
11053
|
+
selector?: ("multiline" | "prop" | "shorthand")
|
|
11054
|
+
|
|
11055
|
+
elementValuePattern?: (({
|
|
11056
|
+
|
|
11057
|
+
pattern: string
|
|
11058
|
+
|
|
11059
|
+
flags?: string
|
|
11060
|
+
} | string)[] | ({
|
|
11061
|
+
|
|
11062
|
+
pattern: string
|
|
11063
|
+
|
|
11064
|
+
flags?: string
|
|
11065
|
+
} | string))
|
|
11066
|
+
|
|
11067
|
+
elementNamePattern?: (({
|
|
11068
|
+
|
|
11069
|
+
pattern: string
|
|
11070
|
+
|
|
11071
|
+
flags?: string
|
|
11072
|
+
} | string)[] | ({
|
|
11073
|
+
|
|
11074
|
+
pattern: string
|
|
11075
|
+
|
|
11076
|
+
flags?: string
|
|
11077
|
+
} | string))
|
|
11078
|
+
})[])
|
|
11079
|
+
|
|
10526
11080
|
useConfigurationIf?: {
|
|
10527
11081
|
|
|
10528
11082
|
allNamesMatchPattern?: (({
|
|
10529
|
-
|
|
11083
|
+
|
|
11084
|
+
pattern: string
|
|
11085
|
+
|
|
10530
11086
|
flags?: string
|
|
10531
11087
|
} | string)[] | ({
|
|
10532
|
-
|
|
11088
|
+
|
|
11089
|
+
pattern: string
|
|
11090
|
+
|
|
10533
11091
|
flags?: string
|
|
10534
11092
|
} | string))
|
|
10535
11093
|
|
|
10536
11094
|
tagMatchesPattern?: (({
|
|
10537
|
-
|
|
11095
|
+
|
|
11096
|
+
pattern: string
|
|
11097
|
+
|
|
10538
11098
|
flags?: string
|
|
10539
11099
|
} | string)[] | ({
|
|
10540
|
-
|
|
11100
|
+
|
|
11101
|
+
pattern: string
|
|
11102
|
+
|
|
10541
11103
|
flags?: string
|
|
10542
11104
|
} | string))
|
|
10543
11105
|
}
|
|
@@ -10546,21 +11108,21 @@ type PerfectionistSortJsxProps = {
|
|
|
10546
11108
|
|
|
10547
11109
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10548
11110
|
|
|
10549
|
-
customGroups?: {
|
|
10550
|
-
[k: string]: (string | string[]) | undefined
|
|
10551
|
-
}
|
|
10552
|
-
|
|
10553
11111
|
ignorePattern?: (({
|
|
10554
|
-
|
|
11112
|
+
|
|
11113
|
+
pattern: string
|
|
11114
|
+
|
|
10555
11115
|
flags?: string
|
|
10556
11116
|
} | string)[] | ({
|
|
10557
|
-
|
|
11117
|
+
|
|
11118
|
+
pattern: string
|
|
11119
|
+
|
|
10558
11120
|
flags?: string
|
|
10559
11121
|
} | string))
|
|
10560
11122
|
|
|
10561
11123
|
groups?: (string | string[] | {
|
|
10562
11124
|
|
|
10563
|
-
newlinesBetween
|
|
11125
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10564
11126
|
})[]
|
|
10565
11127
|
}[]
|
|
10566
11128
|
// ----- perfectionist/sort-maps -----
|
|
@@ -10571,7 +11133,6 @@ type PerfectionistSortMaps = {
|
|
|
10571
11133
|
order?: ("asc" | "desc")
|
|
10572
11134
|
|
|
10573
11135
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10574
|
-
[k: string]: unknown | undefined
|
|
10575
11136
|
}
|
|
10576
11137
|
|
|
10577
11138
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10595,10 +11156,9 @@ type PerfectionistSortMaps = {
|
|
|
10595
11156
|
order?: ("asc" | "desc")
|
|
10596
11157
|
|
|
10597
11158
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10598
|
-
[k: string]: unknown | undefined
|
|
10599
11159
|
}
|
|
10600
11160
|
|
|
10601
|
-
groupName
|
|
11161
|
+
groupName: string
|
|
10602
11162
|
|
|
10603
11163
|
order?: ("asc" | "desc")
|
|
10604
11164
|
|
|
@@ -10606,10 +11166,14 @@ type PerfectionistSortMaps = {
|
|
|
10606
11166
|
anyOf?: {
|
|
10607
11167
|
|
|
10608
11168
|
elementNamePattern?: (({
|
|
10609
|
-
|
|
11169
|
+
|
|
11170
|
+
pattern: string
|
|
11171
|
+
|
|
10610
11172
|
flags?: string
|
|
10611
11173
|
} | string)[] | ({
|
|
10612
|
-
|
|
11174
|
+
|
|
11175
|
+
pattern: string
|
|
11176
|
+
|
|
10613
11177
|
flags?: string
|
|
10614
11178
|
} | string))
|
|
10615
11179
|
}[]
|
|
@@ -10622,53 +11186,75 @@ type PerfectionistSortMaps = {
|
|
|
10622
11186
|
order?: ("asc" | "desc")
|
|
10623
11187
|
|
|
10624
11188
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10625
|
-
[k: string]: unknown | undefined
|
|
10626
11189
|
}
|
|
10627
11190
|
|
|
10628
|
-
groupName
|
|
11191
|
+
groupName: string
|
|
10629
11192
|
|
|
10630
11193
|
order?: ("asc" | "desc")
|
|
10631
11194
|
|
|
10632
11195
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10633
11196
|
|
|
10634
11197
|
elementNamePattern?: (({
|
|
10635
|
-
|
|
11198
|
+
|
|
11199
|
+
pattern: string
|
|
11200
|
+
|
|
10636
11201
|
flags?: string
|
|
10637
11202
|
} | string)[] | ({
|
|
10638
|
-
|
|
11203
|
+
|
|
11204
|
+
pattern: string
|
|
11205
|
+
|
|
10639
11206
|
flags?: string
|
|
10640
11207
|
} | string))
|
|
10641
11208
|
})[]
|
|
11209
|
+
|
|
10642
11210
|
useConfigurationIf?: {
|
|
10643
11211
|
|
|
10644
11212
|
allNamesMatchPattern?: (({
|
|
10645
|
-
|
|
11213
|
+
|
|
11214
|
+
pattern: string
|
|
11215
|
+
|
|
10646
11216
|
flags?: string
|
|
10647
11217
|
} | string)[] | ({
|
|
10648
|
-
|
|
11218
|
+
|
|
11219
|
+
pattern: string
|
|
11220
|
+
|
|
10649
11221
|
flags?: string
|
|
10650
11222
|
} | string))
|
|
10651
11223
|
}
|
|
10652
11224
|
|
|
10653
11225
|
partitionByComment?: (boolean | (({
|
|
10654
|
-
|
|
11226
|
+
|
|
11227
|
+
pattern: string
|
|
11228
|
+
|
|
10655
11229
|
flags?: string
|
|
10656
11230
|
} | string)[] | ({
|
|
10657
|
-
|
|
11231
|
+
|
|
11232
|
+
pattern: string
|
|
11233
|
+
|
|
10658
11234
|
flags?: string
|
|
10659
11235
|
} | string)) | {
|
|
11236
|
+
|
|
10660
11237
|
block?: (boolean | (({
|
|
10661
|
-
|
|
11238
|
+
|
|
11239
|
+
pattern: string
|
|
11240
|
+
|
|
10662
11241
|
flags?: string
|
|
10663
11242
|
} | string)[] | ({
|
|
10664
|
-
|
|
11243
|
+
|
|
11244
|
+
pattern: string
|
|
11245
|
+
|
|
10665
11246
|
flags?: string
|
|
10666
11247
|
} | string)))
|
|
11248
|
+
|
|
10667
11249
|
line?: (boolean | (({
|
|
10668
|
-
|
|
11250
|
+
|
|
11251
|
+
pattern: string
|
|
11252
|
+
|
|
10669
11253
|
flags?: string
|
|
10670
11254
|
} | string)[] | ({
|
|
10671
|
-
|
|
11255
|
+
|
|
11256
|
+
pattern: string
|
|
11257
|
+
|
|
10672
11258
|
flags?: string
|
|
10673
11259
|
} | string)))
|
|
10674
11260
|
})
|
|
@@ -10679,7 +11265,7 @@ type PerfectionistSortMaps = {
|
|
|
10679
11265
|
|
|
10680
11266
|
groups?: (string | string[] | {
|
|
10681
11267
|
|
|
10682
|
-
newlinesBetween
|
|
11268
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10683
11269
|
})[]
|
|
10684
11270
|
}[]
|
|
10685
11271
|
// ----- perfectionist/sort-modules -----
|
|
@@ -10690,7 +11276,6 @@ type PerfectionistSortModules = []|[{
|
|
|
10690
11276
|
order?: ("asc" | "desc")
|
|
10691
11277
|
|
|
10692
11278
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10693
|
-
[k: string]: unknown | undefined
|
|
10694
11279
|
}
|
|
10695
11280
|
|
|
10696
11281
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10714,10 +11299,9 @@ type PerfectionistSortModules = []|[{
|
|
|
10714
11299
|
order?: ("asc" | "desc")
|
|
10715
11300
|
|
|
10716
11301
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10717
|
-
[k: string]: unknown | undefined
|
|
10718
11302
|
}
|
|
10719
11303
|
|
|
10720
|
-
groupName
|
|
11304
|
+
groupName: string
|
|
10721
11305
|
|
|
10722
11306
|
order?: ("asc" | "desc")
|
|
10723
11307
|
|
|
@@ -10729,18 +11313,26 @@ type PerfectionistSortModules = []|[{
|
|
|
10729
11313
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10730
11314
|
|
|
10731
11315
|
decoratorNamePattern?: (({
|
|
10732
|
-
|
|
11316
|
+
|
|
11317
|
+
pattern: string
|
|
11318
|
+
|
|
10733
11319
|
flags?: string
|
|
10734
11320
|
} | string)[] | ({
|
|
10735
|
-
|
|
11321
|
+
|
|
11322
|
+
pattern: string
|
|
11323
|
+
|
|
10736
11324
|
flags?: string
|
|
10737
11325
|
} | string))
|
|
10738
11326
|
|
|
10739
11327
|
elementNamePattern?: (({
|
|
10740
|
-
|
|
11328
|
+
|
|
11329
|
+
pattern: string
|
|
11330
|
+
|
|
10741
11331
|
flags?: string
|
|
10742
11332
|
} | string)[] | ({
|
|
10743
|
-
|
|
11333
|
+
|
|
11334
|
+
pattern: string
|
|
11335
|
+
|
|
10744
11336
|
flags?: string
|
|
10745
11337
|
} | string))
|
|
10746
11338
|
}[]
|
|
@@ -10753,10 +11345,9 @@ type PerfectionistSortModules = []|[{
|
|
|
10753
11345
|
order?: ("asc" | "desc")
|
|
10754
11346
|
|
|
10755
11347
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10756
|
-
[k: string]: unknown | undefined
|
|
10757
11348
|
}
|
|
10758
11349
|
|
|
10759
|
-
groupName
|
|
11350
|
+
groupName: string
|
|
10760
11351
|
|
|
10761
11352
|
order?: ("asc" | "desc")
|
|
10762
11353
|
|
|
@@ -10767,41 +11358,63 @@ type PerfectionistSortModules = []|[{
|
|
|
10767
11358
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10768
11359
|
|
|
10769
11360
|
decoratorNamePattern?: (({
|
|
10770
|
-
|
|
11361
|
+
|
|
11362
|
+
pattern: string
|
|
11363
|
+
|
|
10771
11364
|
flags?: string
|
|
10772
11365
|
} | string)[] | ({
|
|
10773
|
-
|
|
11366
|
+
|
|
11367
|
+
pattern: string
|
|
11368
|
+
|
|
10774
11369
|
flags?: string
|
|
10775
11370
|
} | string))
|
|
10776
11371
|
|
|
10777
11372
|
elementNamePattern?: (({
|
|
10778
|
-
|
|
11373
|
+
|
|
11374
|
+
pattern: string
|
|
11375
|
+
|
|
10779
11376
|
flags?: string
|
|
10780
11377
|
} | string)[] | ({
|
|
10781
|
-
|
|
11378
|
+
|
|
11379
|
+
pattern: string
|
|
11380
|
+
|
|
10782
11381
|
flags?: string
|
|
10783
11382
|
} | string))
|
|
10784
11383
|
})[]
|
|
10785
11384
|
|
|
10786
11385
|
partitionByComment?: (boolean | (({
|
|
10787
|
-
|
|
11386
|
+
|
|
11387
|
+
pattern: string
|
|
11388
|
+
|
|
10788
11389
|
flags?: string
|
|
10789
11390
|
} | string)[] | ({
|
|
10790
|
-
|
|
11391
|
+
|
|
11392
|
+
pattern: string
|
|
11393
|
+
|
|
10791
11394
|
flags?: string
|
|
10792
11395
|
} | string)) | {
|
|
11396
|
+
|
|
10793
11397
|
block?: (boolean | (({
|
|
10794
|
-
|
|
11398
|
+
|
|
11399
|
+
pattern: string
|
|
11400
|
+
|
|
10795
11401
|
flags?: string
|
|
10796
11402
|
} | string)[] | ({
|
|
10797
|
-
|
|
11403
|
+
|
|
11404
|
+
pattern: string
|
|
11405
|
+
|
|
10798
11406
|
flags?: string
|
|
10799
11407
|
} | string)))
|
|
11408
|
+
|
|
10800
11409
|
line?: (boolean | (({
|
|
10801
|
-
|
|
11410
|
+
|
|
11411
|
+
pattern: string
|
|
11412
|
+
|
|
10802
11413
|
flags?: string
|
|
10803
11414
|
} | string)[] | ({
|
|
10804
|
-
|
|
11415
|
+
|
|
11416
|
+
pattern: string
|
|
11417
|
+
|
|
10805
11418
|
flags?: string
|
|
10806
11419
|
} | string)))
|
|
10807
11420
|
})
|
|
@@ -10812,18 +11425,17 @@ type PerfectionistSortModules = []|[{
|
|
|
10812
11425
|
|
|
10813
11426
|
groups?: (string | string[] | {
|
|
10814
11427
|
|
|
10815
|
-
newlinesBetween
|
|
11428
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10816
11429
|
})[]
|
|
10817
11430
|
}]
|
|
10818
11431
|
// ----- perfectionist/sort-named-exports -----
|
|
10819
|
-
type PerfectionistSortNamedExports =
|
|
11432
|
+
type PerfectionistSortNamedExports = {
|
|
10820
11433
|
|
|
10821
11434
|
fallbackSort?: {
|
|
10822
11435
|
|
|
10823
11436
|
order?: ("asc" | "desc")
|
|
10824
11437
|
|
|
10825
11438
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10826
|
-
[k: string]: unknown | undefined
|
|
10827
11439
|
}
|
|
10828
11440
|
|
|
10829
11441
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10842,40 +11454,128 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10842
11454
|
|
|
10843
11455
|
ignoreAlias?: boolean
|
|
10844
11456
|
|
|
11457
|
+
customGroups?: ({
|
|
11458
|
+
|
|
11459
|
+
newlinesInside?: ("always" | "never")
|
|
11460
|
+
|
|
11461
|
+
fallbackSort?: {
|
|
11462
|
+
|
|
11463
|
+
order?: ("asc" | "desc")
|
|
11464
|
+
|
|
11465
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11466
|
+
}
|
|
11467
|
+
|
|
11468
|
+
groupName: string
|
|
11469
|
+
|
|
11470
|
+
order?: ("asc" | "desc")
|
|
11471
|
+
|
|
11472
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11473
|
+
anyOf?: {
|
|
11474
|
+
|
|
11475
|
+
modifiers?: ("value" | "type")[]
|
|
11476
|
+
|
|
11477
|
+
selector?: "export"
|
|
11478
|
+
|
|
11479
|
+
elementNamePattern?: (({
|
|
11480
|
+
|
|
11481
|
+
pattern: string
|
|
11482
|
+
|
|
11483
|
+
flags?: string
|
|
11484
|
+
} | string)[] | ({
|
|
11485
|
+
|
|
11486
|
+
pattern: string
|
|
11487
|
+
|
|
11488
|
+
flags?: string
|
|
11489
|
+
} | string))
|
|
11490
|
+
}[]
|
|
11491
|
+
} | {
|
|
11492
|
+
|
|
11493
|
+
newlinesInside?: ("always" | "never")
|
|
11494
|
+
|
|
11495
|
+
fallbackSort?: {
|
|
11496
|
+
|
|
11497
|
+
order?: ("asc" | "desc")
|
|
11498
|
+
|
|
11499
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11500
|
+
}
|
|
11501
|
+
|
|
11502
|
+
groupName: string
|
|
11503
|
+
|
|
11504
|
+
order?: ("asc" | "desc")
|
|
11505
|
+
|
|
11506
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11507
|
+
|
|
11508
|
+
modifiers?: ("value" | "type")[]
|
|
11509
|
+
|
|
11510
|
+
selector?: "export"
|
|
11511
|
+
|
|
11512
|
+
elementNamePattern?: (({
|
|
11513
|
+
|
|
11514
|
+
pattern: string
|
|
11515
|
+
|
|
11516
|
+
flags?: string
|
|
11517
|
+
} | string)[] | ({
|
|
11518
|
+
|
|
11519
|
+
pattern: string
|
|
11520
|
+
|
|
11521
|
+
flags?: string
|
|
11522
|
+
} | string))
|
|
11523
|
+
})[]
|
|
11524
|
+
|
|
10845
11525
|
partitionByComment?: (boolean | (({
|
|
10846
|
-
|
|
11526
|
+
|
|
11527
|
+
pattern: string
|
|
11528
|
+
|
|
10847
11529
|
flags?: string
|
|
10848
11530
|
} | string)[] | ({
|
|
10849
|
-
|
|
11531
|
+
|
|
11532
|
+
pattern: string
|
|
11533
|
+
|
|
10850
11534
|
flags?: string
|
|
10851
11535
|
} | string)) | {
|
|
11536
|
+
|
|
10852
11537
|
block?: (boolean | (({
|
|
10853
|
-
|
|
11538
|
+
|
|
11539
|
+
pattern: string
|
|
11540
|
+
|
|
10854
11541
|
flags?: string
|
|
10855
11542
|
} | string)[] | ({
|
|
10856
|
-
|
|
11543
|
+
|
|
11544
|
+
pattern: string
|
|
11545
|
+
|
|
10857
11546
|
flags?: string
|
|
10858
11547
|
} | string)))
|
|
11548
|
+
|
|
10859
11549
|
line?: (boolean | (({
|
|
10860
|
-
|
|
11550
|
+
|
|
11551
|
+
pattern: string
|
|
11552
|
+
|
|
10861
11553
|
flags?: string
|
|
10862
11554
|
} | string)[] | ({
|
|
10863
|
-
|
|
11555
|
+
|
|
11556
|
+
pattern: string
|
|
11557
|
+
|
|
10864
11558
|
flags?: string
|
|
10865
11559
|
} | string)))
|
|
10866
11560
|
})
|
|
10867
11561
|
|
|
10868
11562
|
partitionByNewLine?: boolean
|
|
10869
|
-
|
|
11563
|
+
|
|
11564
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11565
|
+
|
|
11566
|
+
groups?: (string | string[] | {
|
|
11567
|
+
|
|
11568
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11569
|
+
})[]
|
|
11570
|
+
}[]
|
|
10870
11571
|
// ----- perfectionist/sort-named-imports -----
|
|
10871
|
-
type PerfectionistSortNamedImports =
|
|
11572
|
+
type PerfectionistSortNamedImports = {
|
|
10872
11573
|
|
|
10873
11574
|
fallbackSort?: {
|
|
10874
11575
|
|
|
10875
11576
|
order?: ("asc" | "desc")
|
|
10876
11577
|
|
|
10877
11578
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10878
|
-
[k: string]: unknown | undefined
|
|
10879
11579
|
}
|
|
10880
11580
|
|
|
10881
11581
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10894,31 +11594,120 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10894
11594
|
|
|
10895
11595
|
ignoreAlias?: boolean
|
|
10896
11596
|
|
|
11597
|
+
customGroups?: ({
|
|
11598
|
+
|
|
11599
|
+
newlinesInside?: ("always" | "never")
|
|
11600
|
+
|
|
11601
|
+
fallbackSort?: {
|
|
11602
|
+
|
|
11603
|
+
order?: ("asc" | "desc")
|
|
11604
|
+
|
|
11605
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11606
|
+
}
|
|
11607
|
+
|
|
11608
|
+
groupName: string
|
|
11609
|
+
|
|
11610
|
+
order?: ("asc" | "desc")
|
|
11611
|
+
|
|
11612
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11613
|
+
anyOf?: {
|
|
11614
|
+
|
|
11615
|
+
modifiers?: ("value" | "type")[]
|
|
11616
|
+
|
|
11617
|
+
selector?: "import"
|
|
11618
|
+
|
|
11619
|
+
elementNamePattern?: (({
|
|
11620
|
+
|
|
11621
|
+
pattern: string
|
|
11622
|
+
|
|
11623
|
+
flags?: string
|
|
11624
|
+
} | string)[] | ({
|
|
11625
|
+
|
|
11626
|
+
pattern: string
|
|
11627
|
+
|
|
11628
|
+
flags?: string
|
|
11629
|
+
} | string))
|
|
11630
|
+
}[]
|
|
11631
|
+
} | {
|
|
11632
|
+
|
|
11633
|
+
newlinesInside?: ("always" | "never")
|
|
11634
|
+
|
|
11635
|
+
fallbackSort?: {
|
|
11636
|
+
|
|
11637
|
+
order?: ("asc" | "desc")
|
|
11638
|
+
|
|
11639
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11640
|
+
}
|
|
11641
|
+
|
|
11642
|
+
groupName: string
|
|
11643
|
+
|
|
11644
|
+
order?: ("asc" | "desc")
|
|
11645
|
+
|
|
11646
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11647
|
+
|
|
11648
|
+
modifiers?: ("value" | "type")[]
|
|
11649
|
+
|
|
11650
|
+
selector?: "import"
|
|
11651
|
+
|
|
11652
|
+
elementNamePattern?: (({
|
|
11653
|
+
|
|
11654
|
+
pattern: string
|
|
11655
|
+
|
|
11656
|
+
flags?: string
|
|
11657
|
+
} | string)[] | ({
|
|
11658
|
+
|
|
11659
|
+
pattern: string
|
|
11660
|
+
|
|
11661
|
+
flags?: string
|
|
11662
|
+
} | string))
|
|
11663
|
+
})[]
|
|
11664
|
+
|
|
10897
11665
|
partitionByComment?: (boolean | (({
|
|
10898
|
-
|
|
11666
|
+
|
|
11667
|
+
pattern: string
|
|
11668
|
+
|
|
10899
11669
|
flags?: string
|
|
10900
11670
|
} | string)[] | ({
|
|
10901
|
-
|
|
11671
|
+
|
|
11672
|
+
pattern: string
|
|
11673
|
+
|
|
10902
11674
|
flags?: string
|
|
10903
11675
|
} | string)) | {
|
|
11676
|
+
|
|
10904
11677
|
block?: (boolean | (({
|
|
10905
|
-
|
|
11678
|
+
|
|
11679
|
+
pattern: string
|
|
11680
|
+
|
|
10906
11681
|
flags?: string
|
|
10907
11682
|
} | string)[] | ({
|
|
10908
|
-
|
|
11683
|
+
|
|
11684
|
+
pattern: string
|
|
11685
|
+
|
|
10909
11686
|
flags?: string
|
|
10910
11687
|
} | string)))
|
|
11688
|
+
|
|
10911
11689
|
line?: (boolean | (({
|
|
10912
|
-
|
|
11690
|
+
|
|
11691
|
+
pattern: string
|
|
11692
|
+
|
|
10913
11693
|
flags?: string
|
|
10914
11694
|
} | string)[] | ({
|
|
10915
|
-
|
|
11695
|
+
|
|
11696
|
+
pattern: string
|
|
11697
|
+
|
|
10916
11698
|
flags?: string
|
|
10917
11699
|
} | string)))
|
|
10918
11700
|
})
|
|
10919
11701
|
|
|
10920
11702
|
partitionByNewLine?: boolean
|
|
10921
|
-
|
|
11703
|
+
|
|
11704
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11705
|
+
|
|
11706
|
+
groups?: (string | string[] | {
|
|
11707
|
+
|
|
11708
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11709
|
+
})[]
|
|
11710
|
+
}[]
|
|
10922
11711
|
// ----- perfectionist/sort-object-types -----
|
|
10923
11712
|
type PerfectionistSortObjectTypes = {
|
|
10924
11713
|
|
|
@@ -10927,7 +11716,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10927
11716
|
order?: ("asc" | "desc")
|
|
10928
11717
|
|
|
10929
11718
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10930
|
-
|
|
11719
|
+
sortBy?: ("name" | "value")
|
|
10931
11720
|
}
|
|
10932
11721
|
|
|
10933
11722
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10953,10 +11742,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
10953
11742
|
|
|
10954
11743
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10955
11744
|
sortBy?: ("name" | "value")
|
|
10956
|
-
[k: string]: unknown | undefined
|
|
10957
11745
|
}
|
|
10958
11746
|
|
|
10959
|
-
groupName
|
|
11747
|
+
groupName: string
|
|
10960
11748
|
|
|
10961
11749
|
order?: ("asc" | "desc")
|
|
10962
11750
|
|
|
@@ -10968,18 +11756,26 @@ type PerfectionistSortObjectTypes = {
|
|
|
10968
11756
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10969
11757
|
|
|
10970
11758
|
elementValuePattern?: (({
|
|
10971
|
-
|
|
11759
|
+
|
|
11760
|
+
pattern: string
|
|
11761
|
+
|
|
10972
11762
|
flags?: string
|
|
10973
11763
|
} | string)[] | ({
|
|
10974
|
-
|
|
11764
|
+
|
|
11765
|
+
pattern: string
|
|
11766
|
+
|
|
10975
11767
|
flags?: string
|
|
10976
11768
|
} | string))
|
|
10977
11769
|
|
|
10978
11770
|
elementNamePattern?: (({
|
|
10979
|
-
|
|
11771
|
+
|
|
11772
|
+
pattern: string
|
|
11773
|
+
|
|
10980
11774
|
flags?: string
|
|
10981
11775
|
} | string)[] | ({
|
|
10982
|
-
|
|
11776
|
+
|
|
11777
|
+
pattern: string
|
|
11778
|
+
|
|
10983
11779
|
flags?: string
|
|
10984
11780
|
} | string))
|
|
10985
11781
|
sortBy?: ("name" | "value")
|
|
@@ -10994,10 +11790,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
10994
11790
|
|
|
10995
11791
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10996
11792
|
sortBy?: ("name" | "value")
|
|
10997
|
-
[k: string]: unknown | undefined
|
|
10998
11793
|
}
|
|
10999
11794
|
|
|
11000
|
-
groupName
|
|
11795
|
+
groupName: string
|
|
11001
11796
|
|
|
11002
11797
|
order?: ("asc" | "desc")
|
|
11003
11798
|
|
|
@@ -11008,62 +11803,93 @@ type PerfectionistSortObjectTypes = {
|
|
|
11008
11803
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11009
11804
|
|
|
11010
11805
|
elementValuePattern?: (({
|
|
11011
|
-
|
|
11806
|
+
|
|
11807
|
+
pattern: string
|
|
11808
|
+
|
|
11012
11809
|
flags?: string
|
|
11013
11810
|
} | string)[] | ({
|
|
11014
|
-
|
|
11811
|
+
|
|
11812
|
+
pattern: string
|
|
11813
|
+
|
|
11015
11814
|
flags?: string
|
|
11016
11815
|
} | string))
|
|
11017
11816
|
|
|
11018
11817
|
elementNamePattern?: (({
|
|
11019
|
-
|
|
11818
|
+
|
|
11819
|
+
pattern: string
|
|
11820
|
+
|
|
11020
11821
|
flags?: string
|
|
11021
11822
|
} | string)[] | ({
|
|
11022
|
-
|
|
11823
|
+
|
|
11824
|
+
pattern: string
|
|
11825
|
+
|
|
11023
11826
|
flags?: string
|
|
11024
11827
|
} | string))
|
|
11025
11828
|
sortBy?: ("name" | "value")
|
|
11026
11829
|
})[])
|
|
11830
|
+
|
|
11831
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11832
|
+
|
|
11027
11833
|
useConfigurationIf?: {
|
|
11028
11834
|
|
|
11029
11835
|
allNamesMatchPattern?: (({
|
|
11030
|
-
|
|
11836
|
+
|
|
11837
|
+
pattern: string
|
|
11838
|
+
|
|
11031
11839
|
flags?: string
|
|
11032
11840
|
} | string)[] | ({
|
|
11033
|
-
|
|
11841
|
+
|
|
11842
|
+
pattern: string
|
|
11843
|
+
|
|
11034
11844
|
flags?: string
|
|
11035
11845
|
} | string))
|
|
11036
11846
|
|
|
11037
11847
|
declarationMatchesPattern?: (({
|
|
11038
|
-
|
|
11848
|
+
|
|
11849
|
+
pattern: string
|
|
11850
|
+
|
|
11039
11851
|
flags?: string
|
|
11040
11852
|
} | string)[] | ({
|
|
11041
|
-
|
|
11853
|
+
|
|
11854
|
+
pattern: string
|
|
11855
|
+
|
|
11042
11856
|
flags?: string
|
|
11043
11857
|
} | string))
|
|
11044
11858
|
}
|
|
11045
11859
|
|
|
11046
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11047
|
-
|
|
11048
11860
|
partitionByComment?: (boolean | (({
|
|
11049
|
-
|
|
11861
|
+
|
|
11862
|
+
pattern: string
|
|
11863
|
+
|
|
11050
11864
|
flags?: string
|
|
11051
11865
|
} | string)[] | ({
|
|
11052
|
-
|
|
11866
|
+
|
|
11867
|
+
pattern: string
|
|
11868
|
+
|
|
11053
11869
|
flags?: string
|
|
11054
11870
|
} | string)) | {
|
|
11871
|
+
|
|
11055
11872
|
block?: (boolean | (({
|
|
11056
|
-
|
|
11873
|
+
|
|
11874
|
+
pattern: string
|
|
11875
|
+
|
|
11057
11876
|
flags?: string
|
|
11058
11877
|
} | string)[] | ({
|
|
11059
|
-
|
|
11878
|
+
|
|
11879
|
+
pattern: string
|
|
11880
|
+
|
|
11060
11881
|
flags?: string
|
|
11061
11882
|
} | string)))
|
|
11883
|
+
|
|
11062
11884
|
line?: (boolean | (({
|
|
11063
|
-
|
|
11885
|
+
|
|
11886
|
+
pattern: string
|
|
11887
|
+
|
|
11064
11888
|
flags?: string
|
|
11065
11889
|
} | string)[] | ({
|
|
11066
|
-
|
|
11890
|
+
|
|
11891
|
+
pattern: string
|
|
11892
|
+
|
|
11067
11893
|
flags?: string
|
|
11068
11894
|
} | string)))
|
|
11069
11895
|
})
|
|
@@ -11073,17 +11899,21 @@ type PerfectionistSortObjectTypes = {
|
|
|
11073
11899
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11074
11900
|
|
|
11075
11901
|
ignorePattern?: (({
|
|
11076
|
-
|
|
11902
|
+
|
|
11903
|
+
pattern: string
|
|
11904
|
+
|
|
11077
11905
|
flags?: string
|
|
11078
11906
|
} | string)[] | ({
|
|
11079
|
-
|
|
11907
|
+
|
|
11908
|
+
pattern: string
|
|
11909
|
+
|
|
11080
11910
|
flags?: string
|
|
11081
11911
|
} | string))
|
|
11082
11912
|
sortBy?: ("name" | "value")
|
|
11083
11913
|
|
|
11084
11914
|
groups?: (string | string[] | {
|
|
11085
11915
|
|
|
11086
|
-
newlinesBetween
|
|
11916
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11087
11917
|
})[]
|
|
11088
11918
|
}[]
|
|
11089
11919
|
// ----- perfectionist/sort-objects -----
|
|
@@ -11094,7 +11924,6 @@ type PerfectionistSortObjects = {
|
|
|
11094
11924
|
order?: ("asc" | "desc")
|
|
11095
11925
|
|
|
11096
11926
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11097
|
-
[k: string]: unknown | undefined
|
|
11098
11927
|
}
|
|
11099
11928
|
|
|
11100
11929
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11124,10 +11953,9 @@ type PerfectionistSortObjects = {
|
|
|
11124
11953
|
order?: ("asc" | "desc")
|
|
11125
11954
|
|
|
11126
11955
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11127
|
-
[k: string]: unknown | undefined
|
|
11128
11956
|
}
|
|
11129
11957
|
|
|
11130
|
-
groupName
|
|
11958
|
+
groupName: string
|
|
11131
11959
|
|
|
11132
11960
|
order?: ("asc" | "desc")
|
|
11133
11961
|
|
|
@@ -11139,18 +11967,26 @@ type PerfectionistSortObjects = {
|
|
|
11139
11967
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
11140
11968
|
|
|
11141
11969
|
elementValuePattern?: (({
|
|
11142
|
-
|
|
11970
|
+
|
|
11971
|
+
pattern: string
|
|
11972
|
+
|
|
11143
11973
|
flags?: string
|
|
11144
11974
|
} | string)[] | ({
|
|
11145
|
-
|
|
11975
|
+
|
|
11976
|
+
pattern: string
|
|
11977
|
+
|
|
11146
11978
|
flags?: string
|
|
11147
11979
|
} | string))
|
|
11148
11980
|
|
|
11149
11981
|
elementNamePattern?: (({
|
|
11150
|
-
|
|
11982
|
+
|
|
11983
|
+
pattern: string
|
|
11984
|
+
|
|
11151
11985
|
flags?: string
|
|
11152
11986
|
} | string)[] | ({
|
|
11153
|
-
|
|
11987
|
+
|
|
11988
|
+
pattern: string
|
|
11989
|
+
|
|
11154
11990
|
flags?: string
|
|
11155
11991
|
} | string))
|
|
11156
11992
|
}[]
|
|
@@ -11163,10 +11999,9 @@ type PerfectionistSortObjects = {
|
|
|
11163
11999
|
order?: ("asc" | "desc")
|
|
11164
12000
|
|
|
11165
12001
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11166
|
-
[k: string]: unknown | undefined
|
|
11167
12002
|
}
|
|
11168
12003
|
|
|
11169
|
-
groupName
|
|
12004
|
+
groupName: string
|
|
11170
12005
|
|
|
11171
12006
|
order?: ("asc" | "desc")
|
|
11172
12007
|
|
|
@@ -11177,36 +12012,53 @@ type PerfectionistSortObjects = {
|
|
|
11177
12012
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
11178
12013
|
|
|
11179
12014
|
elementValuePattern?: (({
|
|
11180
|
-
|
|
12015
|
+
|
|
12016
|
+
pattern: string
|
|
12017
|
+
|
|
11181
12018
|
flags?: string
|
|
11182
12019
|
} | string)[] | ({
|
|
11183
|
-
|
|
12020
|
+
|
|
12021
|
+
pattern: string
|
|
12022
|
+
|
|
11184
12023
|
flags?: string
|
|
11185
12024
|
} | string))
|
|
11186
12025
|
|
|
11187
12026
|
elementNamePattern?: (({
|
|
11188
|
-
|
|
12027
|
+
|
|
12028
|
+
pattern: string
|
|
12029
|
+
|
|
11189
12030
|
flags?: string
|
|
11190
12031
|
} | string)[] | ({
|
|
11191
|
-
|
|
12032
|
+
|
|
12033
|
+
pattern: string
|
|
12034
|
+
|
|
11192
12035
|
flags?: string
|
|
11193
12036
|
} | string))
|
|
11194
12037
|
})[])
|
|
12038
|
+
|
|
11195
12039
|
useConfigurationIf?: {
|
|
11196
12040
|
|
|
11197
12041
|
allNamesMatchPattern?: (({
|
|
11198
|
-
|
|
12042
|
+
|
|
12043
|
+
pattern: string
|
|
12044
|
+
|
|
11199
12045
|
flags?: string
|
|
11200
12046
|
} | string)[] | ({
|
|
11201
|
-
|
|
12047
|
+
|
|
12048
|
+
pattern: string
|
|
12049
|
+
|
|
11202
12050
|
flags?: string
|
|
11203
12051
|
} | string))
|
|
11204
12052
|
|
|
11205
12053
|
callingFunctionNamePattern?: (({
|
|
11206
|
-
|
|
12054
|
+
|
|
12055
|
+
pattern: string
|
|
12056
|
+
|
|
11207
12057
|
flags?: string
|
|
11208
12058
|
} | string)[] | ({
|
|
11209
|
-
|
|
12059
|
+
|
|
12060
|
+
pattern: string
|
|
12061
|
+
|
|
11210
12062
|
flags?: string
|
|
11211
12063
|
} | string))
|
|
11212
12064
|
}
|
|
@@ -11218,24 +12070,38 @@ type PerfectionistSortObjects = {
|
|
|
11218
12070
|
styledComponents?: boolean
|
|
11219
12071
|
|
|
11220
12072
|
partitionByComment?: (boolean | (({
|
|
11221
|
-
|
|
12073
|
+
|
|
12074
|
+
pattern: string
|
|
12075
|
+
|
|
11222
12076
|
flags?: string
|
|
11223
12077
|
} | string)[] | ({
|
|
11224
|
-
|
|
12078
|
+
|
|
12079
|
+
pattern: string
|
|
12080
|
+
|
|
11225
12081
|
flags?: string
|
|
11226
12082
|
} | string)) | {
|
|
12083
|
+
|
|
11227
12084
|
block?: (boolean | (({
|
|
11228
|
-
|
|
12085
|
+
|
|
12086
|
+
pattern: string
|
|
12087
|
+
|
|
11229
12088
|
flags?: string
|
|
11230
12089
|
} | string)[] | ({
|
|
11231
|
-
|
|
12090
|
+
|
|
12091
|
+
pattern: string
|
|
12092
|
+
|
|
11232
12093
|
flags?: string
|
|
11233
12094
|
} | string)))
|
|
12095
|
+
|
|
11234
12096
|
line?: (boolean | (({
|
|
11235
|
-
|
|
12097
|
+
|
|
12098
|
+
pattern: string
|
|
12099
|
+
|
|
11236
12100
|
flags?: string
|
|
11237
12101
|
} | string)[] | ({
|
|
11238
|
-
|
|
12102
|
+
|
|
12103
|
+
pattern: string
|
|
12104
|
+
|
|
11239
12105
|
flags?: string
|
|
11240
12106
|
} | string)))
|
|
11241
12107
|
})
|
|
@@ -11245,16 +12111,20 @@ type PerfectionistSortObjects = {
|
|
|
11245
12111
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11246
12112
|
|
|
11247
12113
|
ignorePattern?: (({
|
|
11248
|
-
|
|
12114
|
+
|
|
12115
|
+
pattern: string
|
|
12116
|
+
|
|
11249
12117
|
flags?: string
|
|
11250
12118
|
} | string)[] | ({
|
|
11251
|
-
|
|
12119
|
+
|
|
12120
|
+
pattern: string
|
|
12121
|
+
|
|
11252
12122
|
flags?: string
|
|
11253
12123
|
} | string))
|
|
11254
12124
|
|
|
11255
12125
|
groups?: (string | string[] | {
|
|
11256
12126
|
|
|
11257
|
-
newlinesBetween
|
|
12127
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11258
12128
|
})[]
|
|
11259
12129
|
}[]
|
|
11260
12130
|
// ----- perfectionist/sort-sets -----
|
|
@@ -11265,7 +12135,6 @@ type PerfectionistSortSets = {
|
|
|
11265
12135
|
order?: ("asc" | "desc")
|
|
11266
12136
|
|
|
11267
12137
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11268
|
-
[k: string]: unknown | undefined
|
|
11269
12138
|
}
|
|
11270
12139
|
|
|
11271
12140
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11291,10 +12160,9 @@ type PerfectionistSortSets = {
|
|
|
11291
12160
|
order?: ("asc" | "desc")
|
|
11292
12161
|
|
|
11293
12162
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11294
|
-
[k: string]: unknown | undefined
|
|
11295
12163
|
}
|
|
11296
12164
|
|
|
11297
|
-
groupName
|
|
12165
|
+
groupName: string
|
|
11298
12166
|
|
|
11299
12167
|
order?: ("asc" | "desc")
|
|
11300
12168
|
|
|
@@ -11304,10 +12172,14 @@ type PerfectionistSortSets = {
|
|
|
11304
12172
|
selector?: ("literal" | "spread")
|
|
11305
12173
|
|
|
11306
12174
|
elementNamePattern?: (({
|
|
11307
|
-
|
|
12175
|
+
|
|
12176
|
+
pattern: string
|
|
12177
|
+
|
|
11308
12178
|
flags?: string
|
|
11309
12179
|
} | string)[] | ({
|
|
11310
|
-
|
|
12180
|
+
|
|
12181
|
+
pattern: string
|
|
12182
|
+
|
|
11311
12183
|
flags?: string
|
|
11312
12184
|
} | string))
|
|
11313
12185
|
}[]
|
|
@@ -11320,10 +12192,9 @@ type PerfectionistSortSets = {
|
|
|
11320
12192
|
order?: ("asc" | "desc")
|
|
11321
12193
|
|
|
11322
12194
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11323
|
-
[k: string]: unknown | undefined
|
|
11324
12195
|
}
|
|
11325
12196
|
|
|
11326
|
-
groupName
|
|
12197
|
+
groupName: string
|
|
11327
12198
|
|
|
11328
12199
|
order?: ("asc" | "desc")
|
|
11329
12200
|
|
|
@@ -11332,43 +12203,66 @@ type PerfectionistSortSets = {
|
|
|
11332
12203
|
selector?: ("literal" | "spread")
|
|
11333
12204
|
|
|
11334
12205
|
elementNamePattern?: (({
|
|
11335
|
-
|
|
12206
|
+
|
|
12207
|
+
pattern: string
|
|
12208
|
+
|
|
11336
12209
|
flags?: string
|
|
11337
12210
|
} | string)[] | ({
|
|
11338
|
-
|
|
12211
|
+
|
|
12212
|
+
pattern: string
|
|
12213
|
+
|
|
11339
12214
|
flags?: string
|
|
11340
12215
|
} | string))
|
|
11341
12216
|
})[]
|
|
12217
|
+
|
|
11342
12218
|
useConfigurationIf?: {
|
|
11343
12219
|
|
|
11344
12220
|
allNamesMatchPattern?: (({
|
|
11345
|
-
|
|
12221
|
+
|
|
12222
|
+
pattern: string
|
|
12223
|
+
|
|
11346
12224
|
flags?: string
|
|
11347
12225
|
} | string)[] | ({
|
|
11348
|
-
|
|
12226
|
+
|
|
12227
|
+
pattern: string
|
|
12228
|
+
|
|
11349
12229
|
flags?: string
|
|
11350
12230
|
} | string))
|
|
11351
12231
|
}
|
|
11352
12232
|
|
|
11353
12233
|
partitionByComment?: (boolean | (({
|
|
11354
|
-
|
|
12234
|
+
|
|
12235
|
+
pattern: string
|
|
12236
|
+
|
|
11355
12237
|
flags?: string
|
|
11356
12238
|
} | string)[] | ({
|
|
11357
|
-
|
|
12239
|
+
|
|
12240
|
+
pattern: string
|
|
12241
|
+
|
|
11358
12242
|
flags?: string
|
|
11359
12243
|
} | string)) | {
|
|
12244
|
+
|
|
11360
12245
|
block?: (boolean | (({
|
|
11361
|
-
|
|
12246
|
+
|
|
12247
|
+
pattern: string
|
|
12248
|
+
|
|
11362
12249
|
flags?: string
|
|
11363
12250
|
} | string)[] | ({
|
|
11364
|
-
|
|
12251
|
+
|
|
12252
|
+
pattern: string
|
|
12253
|
+
|
|
11365
12254
|
flags?: string
|
|
11366
12255
|
} | string)))
|
|
12256
|
+
|
|
11367
12257
|
line?: (boolean | (({
|
|
11368
|
-
|
|
12258
|
+
|
|
12259
|
+
pattern: string
|
|
12260
|
+
|
|
11369
12261
|
flags?: string
|
|
11370
12262
|
} | string)[] | ({
|
|
11371
|
-
|
|
12263
|
+
|
|
12264
|
+
pattern: string
|
|
12265
|
+
|
|
11372
12266
|
flags?: string
|
|
11373
12267
|
} | string)))
|
|
11374
12268
|
})
|
|
@@ -11379,7 +12273,7 @@ type PerfectionistSortSets = {
|
|
|
11379
12273
|
|
|
11380
12274
|
groups?: (string | string[] | {
|
|
11381
12275
|
|
|
11382
|
-
newlinesBetween
|
|
12276
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11383
12277
|
})[]
|
|
11384
12278
|
}[]
|
|
11385
12279
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -11390,7 +12284,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11390
12284
|
order?: ("asc" | "desc")
|
|
11391
12285
|
|
|
11392
12286
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11393
|
-
[k: string]: unknown | undefined
|
|
11394
12287
|
}
|
|
11395
12288
|
|
|
11396
12289
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11406,14 +12299,13 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11406
12299
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11407
12300
|
}]
|
|
11408
12301
|
// ----- perfectionist/sort-union-types -----
|
|
11409
|
-
type PerfectionistSortUnionTypes =
|
|
12302
|
+
type PerfectionistSortUnionTypes = {
|
|
11410
12303
|
|
|
11411
12304
|
fallbackSort?: {
|
|
11412
12305
|
|
|
11413
12306
|
order?: ("asc" | "desc")
|
|
11414
12307
|
|
|
11415
12308
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11416
|
-
[k: string]: unknown | undefined
|
|
11417
12309
|
}
|
|
11418
12310
|
|
|
11419
12311
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11428,25 +12320,103 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11428
12320
|
|
|
11429
12321
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11430
12322
|
|
|
12323
|
+
customGroups?: ({
|
|
12324
|
+
|
|
12325
|
+
newlinesInside?: ("always" | "never")
|
|
12326
|
+
|
|
12327
|
+
fallbackSort?: {
|
|
12328
|
+
|
|
12329
|
+
order?: ("asc" | "desc")
|
|
12330
|
+
|
|
12331
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12332
|
+
}
|
|
12333
|
+
|
|
12334
|
+
groupName: string
|
|
12335
|
+
|
|
12336
|
+
order?: ("asc" | "desc")
|
|
12337
|
+
|
|
12338
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12339
|
+
anyOf?: {
|
|
12340
|
+
|
|
12341
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
12342
|
+
|
|
12343
|
+
elementNamePattern?: (({
|
|
12344
|
+
|
|
12345
|
+
pattern: string
|
|
12346
|
+
|
|
12347
|
+
flags?: string
|
|
12348
|
+
} | string)[] | ({
|
|
12349
|
+
|
|
12350
|
+
pattern: string
|
|
12351
|
+
|
|
12352
|
+
flags?: string
|
|
12353
|
+
} | string))
|
|
12354
|
+
}[]
|
|
12355
|
+
} | {
|
|
12356
|
+
|
|
12357
|
+
newlinesInside?: ("always" | "never")
|
|
12358
|
+
|
|
12359
|
+
fallbackSort?: {
|
|
12360
|
+
|
|
12361
|
+
order?: ("asc" | "desc")
|
|
12362
|
+
|
|
12363
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12364
|
+
}
|
|
12365
|
+
|
|
12366
|
+
groupName: string
|
|
12367
|
+
|
|
12368
|
+
order?: ("asc" | "desc")
|
|
12369
|
+
|
|
12370
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12371
|
+
|
|
12372
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
12373
|
+
|
|
12374
|
+
elementNamePattern?: (({
|
|
12375
|
+
|
|
12376
|
+
pattern: string
|
|
12377
|
+
|
|
12378
|
+
flags?: string
|
|
12379
|
+
} | string)[] | ({
|
|
12380
|
+
|
|
12381
|
+
pattern: string
|
|
12382
|
+
|
|
12383
|
+
flags?: string
|
|
12384
|
+
} | string))
|
|
12385
|
+
})[]
|
|
12386
|
+
|
|
11431
12387
|
partitionByComment?: (boolean | (({
|
|
11432
|
-
|
|
12388
|
+
|
|
12389
|
+
pattern: string
|
|
12390
|
+
|
|
11433
12391
|
flags?: string
|
|
11434
12392
|
} | string)[] | ({
|
|
11435
|
-
|
|
12393
|
+
|
|
12394
|
+
pattern: string
|
|
12395
|
+
|
|
11436
12396
|
flags?: string
|
|
11437
12397
|
} | string)) | {
|
|
12398
|
+
|
|
11438
12399
|
block?: (boolean | (({
|
|
11439
|
-
|
|
12400
|
+
|
|
12401
|
+
pattern: string
|
|
12402
|
+
|
|
11440
12403
|
flags?: string
|
|
11441
12404
|
} | string)[] | ({
|
|
11442
|
-
|
|
12405
|
+
|
|
12406
|
+
pattern: string
|
|
12407
|
+
|
|
11443
12408
|
flags?: string
|
|
11444
12409
|
} | string)))
|
|
12410
|
+
|
|
11445
12411
|
line?: (boolean | (({
|
|
11446
|
-
|
|
12412
|
+
|
|
12413
|
+
pattern: string
|
|
12414
|
+
|
|
11447
12415
|
flags?: string
|
|
11448
12416
|
} | string)[] | ({
|
|
11449
|
-
|
|
12417
|
+
|
|
12418
|
+
pattern: string
|
|
12419
|
+
|
|
11450
12420
|
flags?: string
|
|
11451
12421
|
} | string)))
|
|
11452
12422
|
})
|
|
@@ -11457,9 +12427,9 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11457
12427
|
|
|
11458
12428
|
groups?: (string | string[] | {
|
|
11459
12429
|
|
|
11460
|
-
newlinesBetween
|
|
12430
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11461
12431
|
})[]
|
|
11462
|
-
}]
|
|
12432
|
+
}[]
|
|
11463
12433
|
// ----- perfectionist/sort-variable-declarations -----
|
|
11464
12434
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
11465
12435
|
|
|
@@ -11468,7 +12438,6 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11468
12438
|
order?: ("asc" | "desc")
|
|
11469
12439
|
|
|
11470
12440
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11471
|
-
[k: string]: unknown | undefined
|
|
11472
12441
|
}
|
|
11473
12442
|
|
|
11474
12443
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11483,30 +12452,115 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11483
12452
|
|
|
11484
12453
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11485
12454
|
|
|
12455
|
+
customGroups?: ({
|
|
12456
|
+
|
|
12457
|
+
newlinesInside?: ("always" | "never")
|
|
12458
|
+
|
|
12459
|
+
fallbackSort?: {
|
|
12460
|
+
|
|
12461
|
+
order?: ("asc" | "desc")
|
|
12462
|
+
|
|
12463
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12464
|
+
}
|
|
12465
|
+
|
|
12466
|
+
groupName: string
|
|
12467
|
+
|
|
12468
|
+
order?: ("asc" | "desc")
|
|
12469
|
+
|
|
12470
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12471
|
+
anyOf?: {
|
|
12472
|
+
|
|
12473
|
+
selector?: ("initialized" | "uninitialized")
|
|
12474
|
+
|
|
12475
|
+
elementNamePattern?: (({
|
|
12476
|
+
|
|
12477
|
+
pattern: string
|
|
12478
|
+
|
|
12479
|
+
flags?: string
|
|
12480
|
+
} | string)[] | ({
|
|
12481
|
+
|
|
12482
|
+
pattern: string
|
|
12483
|
+
|
|
12484
|
+
flags?: string
|
|
12485
|
+
} | string))
|
|
12486
|
+
}[]
|
|
12487
|
+
} | {
|
|
12488
|
+
|
|
12489
|
+
newlinesInside?: ("always" | "never")
|
|
12490
|
+
|
|
12491
|
+
fallbackSort?: {
|
|
12492
|
+
|
|
12493
|
+
order?: ("asc" | "desc")
|
|
12494
|
+
|
|
12495
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12496
|
+
}
|
|
12497
|
+
|
|
12498
|
+
groupName: string
|
|
12499
|
+
|
|
12500
|
+
order?: ("asc" | "desc")
|
|
12501
|
+
|
|
12502
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12503
|
+
|
|
12504
|
+
selector?: ("initialized" | "uninitialized")
|
|
12505
|
+
|
|
12506
|
+
elementNamePattern?: (({
|
|
12507
|
+
|
|
12508
|
+
pattern: string
|
|
12509
|
+
|
|
12510
|
+
flags?: string
|
|
12511
|
+
} | string)[] | ({
|
|
12512
|
+
|
|
12513
|
+
pattern: string
|
|
12514
|
+
|
|
12515
|
+
flags?: string
|
|
12516
|
+
} | string))
|
|
12517
|
+
})[]
|
|
12518
|
+
|
|
11486
12519
|
partitionByComment?: (boolean | (({
|
|
11487
|
-
|
|
12520
|
+
|
|
12521
|
+
pattern: string
|
|
12522
|
+
|
|
11488
12523
|
flags?: string
|
|
11489
12524
|
} | string)[] | ({
|
|
11490
|
-
|
|
12525
|
+
|
|
12526
|
+
pattern: string
|
|
12527
|
+
|
|
11491
12528
|
flags?: string
|
|
11492
12529
|
} | string)) | {
|
|
12530
|
+
|
|
11493
12531
|
block?: (boolean | (({
|
|
11494
|
-
|
|
12532
|
+
|
|
12533
|
+
pattern: string
|
|
12534
|
+
|
|
11495
12535
|
flags?: string
|
|
11496
12536
|
} | string)[] | ({
|
|
11497
|
-
|
|
12537
|
+
|
|
12538
|
+
pattern: string
|
|
12539
|
+
|
|
11498
12540
|
flags?: string
|
|
11499
12541
|
} | string)))
|
|
12542
|
+
|
|
11500
12543
|
line?: (boolean | (({
|
|
11501
|
-
|
|
12544
|
+
|
|
12545
|
+
pattern: string
|
|
12546
|
+
|
|
11502
12547
|
flags?: string
|
|
11503
12548
|
} | string)[] | ({
|
|
11504
|
-
|
|
12549
|
+
|
|
12550
|
+
pattern: string
|
|
12551
|
+
|
|
11505
12552
|
flags?: string
|
|
11506
12553
|
} | string)))
|
|
11507
12554
|
})
|
|
11508
12555
|
|
|
11509
12556
|
partitionByNewLine?: boolean
|
|
12557
|
+
|
|
12558
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12559
|
+
|
|
12560
|
+
groups?: (string | string[] | {
|
|
12561
|
+
|
|
12562
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
12563
|
+
})[]
|
|
11510
12564
|
}]
|
|
11511
12565
|
// ----- prefer-arrow-callback -----
|
|
11512
12566
|
type PreferArrowCallback = []|[{
|
|
@@ -12582,10 +13636,6 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
12582
13636
|
interface _UnicornImportStyle_BooleanObject {
|
|
12583
13637
|
[k: string]: boolean | undefined
|
|
12584
13638
|
}
|
|
12585
|
-
// ----- unicorn/no-array-push-push -----
|
|
12586
|
-
type UnicornNoArrayPushPush = []|[{
|
|
12587
|
-
ignore?: unknown[]
|
|
12588
|
-
}]
|
|
12589
13639
|
// ----- unicorn/no-array-reduce -----
|
|
12590
13640
|
type UnicornNoArrayReduce = []|[{
|
|
12591
13641
|
allowSimpleOperations?: boolean
|
|
@@ -12681,6 +13731,10 @@ type UnicornPreferNumberProperties = []|[{
|
|
|
12681
13731
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12682
13732
|
functions?: unknown[]
|
|
12683
13733
|
}]
|
|
13734
|
+
// ----- unicorn/prefer-single-call -----
|
|
13735
|
+
type UnicornPreferSingleCall = []|[{
|
|
13736
|
+
ignore?: unknown[]
|
|
13737
|
+
}]
|
|
12684
13738
|
// ----- unicorn/prefer-structured-clone -----
|
|
12685
13739
|
type UnicornPreferStructuredClone = []|[{
|
|
12686
13740
|
functions?: unknown[]
|
|
@@ -12849,6 +13903,7 @@ type YmlFlowSequenceBracketSpacing = []|[("always" | "never")]|[("always" | "nev
|
|
|
12849
13903
|
type YmlIndent = []|[number]|[number, {
|
|
12850
13904
|
indentBlockSequences?: boolean
|
|
12851
13905
|
indicatorValueIndent?: number
|
|
13906
|
+
alignMultilineFlowScalars?: boolean
|
|
12852
13907
|
}]
|
|
12853
13908
|
// ----- yml/key-name-casing -----
|
|
12854
13909
|
type YmlKeyNameCasing = []|[{
|
|
@@ -13177,7 +14232,7 @@ declare function ignores(userIgnores?: string[]): FlatConfigItem[];
|
|
|
13177
14232
|
declare function imports(options?: OptionsHasNextJs): FlatConfigItem[];
|
|
13178
14233
|
|
|
13179
14234
|
declare const restrictedSyntaxJs: string[];
|
|
13180
|
-
declare function javascript(options?:
|
|
14235
|
+
declare function javascript(options?: OptionsOverrides): FlatConfigItem[];
|
|
13181
14236
|
|
|
13182
14237
|
declare function jsdoc(): Promise<FlatConfigItem[]>;
|
|
13183
14238
|
|