@ncontiero/eslint-config 5.1.1 → 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/dist/index.d.ts +1582 -529
- 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
|
|
@@ -6973,6 +7022,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
6973
7022
|
type ClassMethodsUseThis = []|[{
|
|
6974
7023
|
exceptMethods?: string[]
|
|
6975
7024
|
enforceForClassFields?: boolean
|
|
7025
|
+
ignoreOverrideMethods?: boolean
|
|
7026
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
6976
7027
|
}]
|
|
6977
7028
|
// ----- comma-dangle -----
|
|
6978
7029
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -8936,7 +8987,7 @@ type NoEmpty = []|[{
|
|
|
8936
8987
|
}]
|
|
8937
8988
|
// ----- no-empty-function -----
|
|
8938
8989
|
type NoEmptyFunction = []|[{
|
|
8939
|
-
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")[]
|
|
8940
8991
|
}]
|
|
8941
8992
|
// ----- no-empty-pattern -----
|
|
8942
8993
|
type NoEmptyPattern = []|[{
|
|
@@ -9138,13 +9189,9 @@ type NoRestrictedModules = ((string | {
|
|
|
9138
9189
|
}[])
|
|
9139
9190
|
// ----- no-restricted-properties -----
|
|
9140
9191
|
type NoRestrictedProperties = ({
|
|
9141
|
-
|
|
9142
|
-
property?: string
|
|
9143
|
-
message?: string
|
|
9192
|
+
[k: string]: unknown | undefined
|
|
9144
9193
|
} | {
|
|
9145
|
-
|
|
9146
|
-
property: string
|
|
9147
|
-
message?: string
|
|
9194
|
+
[k: string]: unknown | undefined
|
|
9148
9195
|
})[]
|
|
9149
9196
|
// ----- no-restricted-syntax -----
|
|
9150
9197
|
type NoRestrictedSyntax = (string | {
|
|
@@ -9168,6 +9215,10 @@ type NoShadow = []|[{
|
|
|
9168
9215
|
allow?: string[]
|
|
9169
9216
|
ignoreOnInitialization?: boolean
|
|
9170
9217
|
}]
|
|
9218
|
+
// ----- no-shadow-restricted-names -----
|
|
9219
|
+
type NoShadowRestrictedNames = []|[{
|
|
9220
|
+
reportGlobalThis?: boolean
|
|
9221
|
+
}]
|
|
9171
9222
|
// ----- no-sync -----
|
|
9172
9223
|
type NoSync = []|[{
|
|
9173
9224
|
allowAtRootLevel?: boolean
|
|
@@ -9219,6 +9270,7 @@ type NoUnusedExpressions = []|[{
|
|
|
9219
9270
|
allowTernary?: boolean
|
|
9220
9271
|
allowTaggedTemplates?: boolean
|
|
9221
9272
|
enforceForJSX?: boolean
|
|
9273
|
+
ignoreDirectives?: boolean
|
|
9222
9274
|
}]
|
|
9223
9275
|
// ----- no-unused-vars -----
|
|
9224
9276
|
type NoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -9449,6 +9501,7 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
9449
9501
|
resolverConfig?: {
|
|
9450
9502
|
[k: string]: unknown | undefined
|
|
9451
9503
|
}
|
|
9504
|
+
tryExtensions?: string[]
|
|
9452
9505
|
ignoreTypeImport?: boolean
|
|
9453
9506
|
ignorePrivate?: boolean
|
|
9454
9507
|
}]
|
|
@@ -9492,7 +9545,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9492
9545
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9493
9546
|
version?: string
|
|
9494
9547
|
allowExperimental?: boolean
|
|
9495
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
|
|
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")[]
|
|
9496
9549
|
}]
|
|
9497
9550
|
// ----- node/prefer-global/buffer -----
|
|
9498
9551
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9640,7 +9693,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9640
9693
|
order?: ("asc" | "desc")
|
|
9641
9694
|
|
|
9642
9695
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9643
|
-
[k: string]: unknown | undefined
|
|
9644
9696
|
}
|
|
9645
9697
|
|
|
9646
9698
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9666,10 +9718,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9666
9718
|
order?: ("asc" | "desc")
|
|
9667
9719
|
|
|
9668
9720
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9669
|
-
[k: string]: unknown | undefined
|
|
9670
9721
|
}
|
|
9671
9722
|
|
|
9672
|
-
groupName
|
|
9723
|
+
groupName: string
|
|
9673
9724
|
|
|
9674
9725
|
order?: ("asc" | "desc")
|
|
9675
9726
|
|
|
@@ -9679,10 +9730,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9679
9730
|
selector?: ("literal" | "spread")
|
|
9680
9731
|
|
|
9681
9732
|
elementNamePattern?: (({
|
|
9682
|
-
|
|
9733
|
+
|
|
9734
|
+
pattern: string
|
|
9735
|
+
|
|
9683
9736
|
flags?: string
|
|
9684
9737
|
} | string)[] | ({
|
|
9685
|
-
|
|
9738
|
+
|
|
9739
|
+
pattern: string
|
|
9740
|
+
|
|
9686
9741
|
flags?: string
|
|
9687
9742
|
} | string))
|
|
9688
9743
|
}[]
|
|
@@ -9695,10 +9750,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9695
9750
|
order?: ("asc" | "desc")
|
|
9696
9751
|
|
|
9697
9752
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9698
|
-
[k: string]: unknown | undefined
|
|
9699
9753
|
}
|
|
9700
9754
|
|
|
9701
|
-
groupName
|
|
9755
|
+
groupName: string
|
|
9702
9756
|
|
|
9703
9757
|
order?: ("asc" | "desc")
|
|
9704
9758
|
|
|
@@ -9707,43 +9761,66 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9707
9761
|
selector?: ("literal" | "spread")
|
|
9708
9762
|
|
|
9709
9763
|
elementNamePattern?: (({
|
|
9710
|
-
|
|
9764
|
+
|
|
9765
|
+
pattern: string
|
|
9766
|
+
|
|
9711
9767
|
flags?: string
|
|
9712
9768
|
} | string)[] | ({
|
|
9713
|
-
|
|
9769
|
+
|
|
9770
|
+
pattern: string
|
|
9771
|
+
|
|
9714
9772
|
flags?: string
|
|
9715
9773
|
} | string))
|
|
9716
9774
|
})[]
|
|
9775
|
+
|
|
9717
9776
|
useConfigurationIf?: {
|
|
9718
9777
|
|
|
9719
9778
|
allNamesMatchPattern?: (({
|
|
9720
|
-
|
|
9779
|
+
|
|
9780
|
+
pattern: string
|
|
9781
|
+
|
|
9721
9782
|
flags?: string
|
|
9722
9783
|
} | string)[] | ({
|
|
9723
|
-
|
|
9784
|
+
|
|
9785
|
+
pattern: string
|
|
9786
|
+
|
|
9724
9787
|
flags?: string
|
|
9725
9788
|
} | string))
|
|
9726
9789
|
}
|
|
9727
9790
|
|
|
9728
9791
|
partitionByComment?: (boolean | (({
|
|
9729
|
-
|
|
9792
|
+
|
|
9793
|
+
pattern: string
|
|
9794
|
+
|
|
9730
9795
|
flags?: string
|
|
9731
9796
|
} | string)[] | ({
|
|
9732
|
-
|
|
9797
|
+
|
|
9798
|
+
pattern: string
|
|
9799
|
+
|
|
9733
9800
|
flags?: string
|
|
9734
9801
|
} | string)) | {
|
|
9802
|
+
|
|
9735
9803
|
block?: (boolean | (({
|
|
9736
|
-
|
|
9804
|
+
|
|
9805
|
+
pattern: string
|
|
9806
|
+
|
|
9737
9807
|
flags?: string
|
|
9738
9808
|
} | string)[] | ({
|
|
9739
|
-
|
|
9809
|
+
|
|
9810
|
+
pattern: string
|
|
9811
|
+
|
|
9740
9812
|
flags?: string
|
|
9741
9813
|
} | string)))
|
|
9814
|
+
|
|
9742
9815
|
line?: (boolean | (({
|
|
9743
|
-
|
|
9816
|
+
|
|
9817
|
+
pattern: string
|
|
9818
|
+
|
|
9744
9819
|
flags?: string
|
|
9745
9820
|
} | string)[] | ({
|
|
9746
|
-
|
|
9821
|
+
|
|
9822
|
+
pattern: string
|
|
9823
|
+
|
|
9747
9824
|
flags?: string
|
|
9748
9825
|
} | string)))
|
|
9749
9826
|
})
|
|
@@ -9754,7 +9831,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9754
9831
|
|
|
9755
9832
|
groups?: (string | string[] | {
|
|
9756
9833
|
|
|
9757
|
-
newlinesBetween
|
|
9834
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9758
9835
|
})[]
|
|
9759
9836
|
}[]
|
|
9760
9837
|
// ----- perfectionist/sort-classes -----
|
|
@@ -9765,7 +9842,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
9765
9842
|
order?: ("asc" | "desc")
|
|
9766
9843
|
|
|
9767
9844
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9768
|
-
[k: string]: unknown | undefined
|
|
9769
9845
|
}
|
|
9770
9846
|
|
|
9771
9847
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9789,10 +9865,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
9789
9865
|
order?: ("asc" | "desc")
|
|
9790
9866
|
|
|
9791
9867
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9792
|
-
[k: string]: unknown | undefined
|
|
9793
9868
|
}
|
|
9794
9869
|
|
|
9795
|
-
groupName
|
|
9870
|
+
groupName: string
|
|
9796
9871
|
|
|
9797
9872
|
order?: ("asc" | "desc")
|
|
9798
9873
|
|
|
@@ -9804,26 +9879,38 @@ type PerfectionistSortClasses = []|[{
|
|
|
9804
9879
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9805
9880
|
|
|
9806
9881
|
decoratorNamePattern?: (({
|
|
9807
|
-
|
|
9882
|
+
|
|
9883
|
+
pattern: string
|
|
9884
|
+
|
|
9808
9885
|
flags?: string
|
|
9809
9886
|
} | string)[] | ({
|
|
9810
|
-
|
|
9887
|
+
|
|
9888
|
+
pattern: string
|
|
9889
|
+
|
|
9811
9890
|
flags?: string
|
|
9812
9891
|
} | string))
|
|
9813
9892
|
|
|
9814
9893
|
elementValuePattern?: (({
|
|
9815
|
-
|
|
9894
|
+
|
|
9895
|
+
pattern: string
|
|
9896
|
+
|
|
9816
9897
|
flags?: string
|
|
9817
9898
|
} | string)[] | ({
|
|
9818
|
-
|
|
9899
|
+
|
|
9900
|
+
pattern: string
|
|
9901
|
+
|
|
9819
9902
|
flags?: string
|
|
9820
9903
|
} | string))
|
|
9821
9904
|
|
|
9822
9905
|
elementNamePattern?: (({
|
|
9823
|
-
|
|
9906
|
+
|
|
9907
|
+
pattern: string
|
|
9908
|
+
|
|
9824
9909
|
flags?: string
|
|
9825
9910
|
} | string)[] | ({
|
|
9826
|
-
|
|
9911
|
+
|
|
9912
|
+
pattern: string
|
|
9913
|
+
|
|
9827
9914
|
flags?: string
|
|
9828
9915
|
} | string))
|
|
9829
9916
|
}[]
|
|
@@ -9836,10 +9923,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
9836
9923
|
order?: ("asc" | "desc")
|
|
9837
9924
|
|
|
9838
9925
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9839
|
-
[k: string]: unknown | undefined
|
|
9840
9926
|
}
|
|
9841
9927
|
|
|
9842
|
-
groupName
|
|
9928
|
+
groupName: string
|
|
9843
9929
|
|
|
9844
9930
|
order?: ("asc" | "desc")
|
|
9845
9931
|
|
|
@@ -9850,57 +9936,87 @@ type PerfectionistSortClasses = []|[{
|
|
|
9850
9936
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9851
9937
|
|
|
9852
9938
|
decoratorNamePattern?: (({
|
|
9853
|
-
|
|
9939
|
+
|
|
9940
|
+
pattern: string
|
|
9941
|
+
|
|
9854
9942
|
flags?: string
|
|
9855
9943
|
} | string)[] | ({
|
|
9856
|
-
|
|
9944
|
+
|
|
9945
|
+
pattern: string
|
|
9946
|
+
|
|
9857
9947
|
flags?: string
|
|
9858
9948
|
} | string))
|
|
9859
9949
|
|
|
9860
9950
|
elementValuePattern?: (({
|
|
9861
|
-
|
|
9951
|
+
|
|
9952
|
+
pattern: string
|
|
9953
|
+
|
|
9862
9954
|
flags?: string
|
|
9863
9955
|
} | string)[] | ({
|
|
9864
|
-
|
|
9956
|
+
|
|
9957
|
+
pattern: string
|
|
9958
|
+
|
|
9865
9959
|
flags?: string
|
|
9866
9960
|
} | string))
|
|
9867
9961
|
|
|
9868
9962
|
elementNamePattern?: (({
|
|
9869
|
-
|
|
9963
|
+
|
|
9964
|
+
pattern: string
|
|
9965
|
+
|
|
9870
9966
|
flags?: string
|
|
9871
9967
|
} | string)[] | ({
|
|
9872
|
-
|
|
9968
|
+
|
|
9969
|
+
pattern: string
|
|
9970
|
+
|
|
9873
9971
|
flags?: string
|
|
9874
9972
|
} | string))
|
|
9875
9973
|
})[]
|
|
9876
9974
|
|
|
9877
9975
|
ignoreCallbackDependenciesPatterns?: (({
|
|
9878
|
-
|
|
9976
|
+
|
|
9977
|
+
pattern: string
|
|
9978
|
+
|
|
9879
9979
|
flags?: string
|
|
9880
9980
|
} | string)[] | ({
|
|
9881
|
-
|
|
9981
|
+
|
|
9982
|
+
pattern: string
|
|
9983
|
+
|
|
9882
9984
|
flags?: string
|
|
9883
9985
|
} | string))
|
|
9884
9986
|
|
|
9885
9987
|
partitionByComment?: (boolean | (({
|
|
9886
|
-
|
|
9988
|
+
|
|
9989
|
+
pattern: string
|
|
9990
|
+
|
|
9887
9991
|
flags?: string
|
|
9888
9992
|
} | string)[] | ({
|
|
9889
|
-
|
|
9993
|
+
|
|
9994
|
+
pattern: string
|
|
9995
|
+
|
|
9890
9996
|
flags?: string
|
|
9891
9997
|
} | string)) | {
|
|
9998
|
+
|
|
9892
9999
|
block?: (boolean | (({
|
|
9893
|
-
|
|
10000
|
+
|
|
10001
|
+
pattern: string
|
|
10002
|
+
|
|
9894
10003
|
flags?: string
|
|
9895
10004
|
} | string)[] | ({
|
|
9896
|
-
|
|
10005
|
+
|
|
10006
|
+
pattern: string
|
|
10007
|
+
|
|
9897
10008
|
flags?: string
|
|
9898
10009
|
} | string)))
|
|
10010
|
+
|
|
9899
10011
|
line?: (boolean | (({
|
|
9900
|
-
|
|
10012
|
+
|
|
10013
|
+
pattern: string
|
|
10014
|
+
|
|
9901
10015
|
flags?: string
|
|
9902
10016
|
} | string)[] | ({
|
|
9903
|
-
|
|
10017
|
+
|
|
10018
|
+
pattern: string
|
|
10019
|
+
|
|
9904
10020
|
flags?: string
|
|
9905
10021
|
} | string)))
|
|
9906
10022
|
})
|
|
@@ -9911,7 +10027,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
9911
10027
|
|
|
9912
10028
|
groups?: (string | string[] | {
|
|
9913
10029
|
|
|
9914
|
-
newlinesBetween
|
|
10030
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9915
10031
|
})[]
|
|
9916
10032
|
}]
|
|
9917
10033
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -9922,7 +10038,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9922
10038
|
order?: ("asc" | "desc")
|
|
9923
10039
|
|
|
9924
10040
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9925
|
-
[k: string]: unknown | undefined
|
|
9926
10041
|
}
|
|
9927
10042
|
|
|
9928
10043
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9948,24 +10063,38 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9948
10063
|
sortOnClasses?: boolean
|
|
9949
10064
|
|
|
9950
10065
|
partitionByComment?: (boolean | (({
|
|
9951
|
-
|
|
10066
|
+
|
|
10067
|
+
pattern: string
|
|
10068
|
+
|
|
9952
10069
|
flags?: string
|
|
9953
10070
|
} | string)[] | ({
|
|
9954
|
-
|
|
10071
|
+
|
|
10072
|
+
pattern: string
|
|
10073
|
+
|
|
9955
10074
|
flags?: string
|
|
9956
10075
|
} | string)) | {
|
|
10076
|
+
|
|
9957
10077
|
block?: (boolean | (({
|
|
9958
|
-
|
|
10078
|
+
|
|
10079
|
+
pattern: string
|
|
10080
|
+
|
|
9959
10081
|
flags?: string
|
|
9960
10082
|
} | string)[] | ({
|
|
9961
|
-
|
|
10083
|
+
|
|
10084
|
+
pattern: string
|
|
10085
|
+
|
|
9962
10086
|
flags?: string
|
|
9963
10087
|
} | string)))
|
|
10088
|
+
|
|
9964
10089
|
line?: (boolean | (({
|
|
9965
|
-
|
|
10090
|
+
|
|
10091
|
+
pattern: string
|
|
10092
|
+
|
|
9966
10093
|
flags?: string
|
|
9967
10094
|
} | string)[] | ({
|
|
9968
|
-
|
|
10095
|
+
|
|
10096
|
+
pattern: string
|
|
10097
|
+
|
|
9969
10098
|
flags?: string
|
|
9970
10099
|
} | string)))
|
|
9971
10100
|
})
|
|
@@ -9976,7 +10105,7 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9976
10105
|
|
|
9977
10106
|
groups?: (string | string[] | {
|
|
9978
10107
|
|
|
9979
|
-
newlinesBetween
|
|
10108
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9980
10109
|
})[]
|
|
9981
10110
|
}]
|
|
9982
10111
|
// ----- perfectionist/sort-enums -----
|
|
@@ -9987,7 +10116,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
9987
10116
|
order?: ("asc" | "desc")
|
|
9988
10117
|
|
|
9989
10118
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9990
|
-
[k: string]: unknown | undefined
|
|
9991
10119
|
}
|
|
9992
10120
|
|
|
9993
10121
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10001,8 +10129,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
10001
10129
|
order?: ("asc" | "desc")
|
|
10002
10130
|
|
|
10003
10131
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10004
|
-
|
|
10005
|
-
forceNumericSort?: boolean
|
|
10006
10132
|
customGroups?: ({
|
|
10007
10133
|
[k: string]: (string | string[]) | undefined
|
|
10008
10134
|
} | ({
|
|
@@ -10014,10 +10140,9 @@ type PerfectionistSortEnums = []|[{
|
|
|
10014
10140
|
order?: ("asc" | "desc")
|
|
10015
10141
|
|
|
10016
10142
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10017
|
-
[k: string]: unknown | undefined
|
|
10018
10143
|
}
|
|
10019
10144
|
|
|
10020
|
-
groupName
|
|
10145
|
+
groupName: string
|
|
10021
10146
|
|
|
10022
10147
|
order?: ("asc" | "desc")
|
|
10023
10148
|
|
|
@@ -10025,18 +10150,26 @@ type PerfectionistSortEnums = []|[{
|
|
|
10025
10150
|
anyOf?: {
|
|
10026
10151
|
|
|
10027
10152
|
elementValuePattern?: (({
|
|
10028
|
-
|
|
10153
|
+
|
|
10154
|
+
pattern: string
|
|
10155
|
+
|
|
10029
10156
|
flags?: string
|
|
10030
10157
|
} | string)[] | ({
|
|
10031
|
-
|
|
10158
|
+
|
|
10159
|
+
pattern: string
|
|
10160
|
+
|
|
10032
10161
|
flags?: string
|
|
10033
10162
|
} | string))
|
|
10034
10163
|
|
|
10035
10164
|
elementNamePattern?: (({
|
|
10036
|
-
|
|
10165
|
+
|
|
10166
|
+
pattern: string
|
|
10167
|
+
|
|
10037
10168
|
flags?: string
|
|
10038
10169
|
} | string)[] | ({
|
|
10039
|
-
|
|
10170
|
+
|
|
10171
|
+
pattern: string
|
|
10172
|
+
|
|
10040
10173
|
flags?: string
|
|
10041
10174
|
} | string))
|
|
10042
10175
|
}[]
|
|
@@ -10049,53 +10182,76 @@ type PerfectionistSortEnums = []|[{
|
|
|
10049
10182
|
order?: ("asc" | "desc")
|
|
10050
10183
|
|
|
10051
10184
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10052
|
-
[k: string]: unknown | undefined
|
|
10053
10185
|
}
|
|
10054
10186
|
|
|
10055
|
-
groupName
|
|
10187
|
+
groupName: string
|
|
10056
10188
|
|
|
10057
10189
|
order?: ("asc" | "desc")
|
|
10058
10190
|
|
|
10059
10191
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10060
10192
|
|
|
10061
10193
|
elementValuePattern?: (({
|
|
10062
|
-
|
|
10194
|
+
|
|
10195
|
+
pattern: string
|
|
10196
|
+
|
|
10063
10197
|
flags?: string
|
|
10064
10198
|
} | string)[] | ({
|
|
10065
|
-
|
|
10199
|
+
|
|
10200
|
+
pattern: string
|
|
10201
|
+
|
|
10066
10202
|
flags?: string
|
|
10067
10203
|
} | string))
|
|
10068
10204
|
|
|
10069
10205
|
elementNamePattern?: (({
|
|
10070
|
-
|
|
10206
|
+
|
|
10207
|
+
pattern: string
|
|
10208
|
+
|
|
10071
10209
|
flags?: string
|
|
10072
10210
|
} | string)[] | ({
|
|
10073
|
-
|
|
10211
|
+
|
|
10212
|
+
pattern: string
|
|
10213
|
+
|
|
10074
10214
|
flags?: string
|
|
10075
10215
|
} | string))
|
|
10076
10216
|
})[])
|
|
10077
10217
|
|
|
10218
|
+
forceNumericSort?: boolean
|
|
10219
|
+
|
|
10078
10220
|
sortByValue?: boolean
|
|
10079
10221
|
|
|
10080
10222
|
partitionByComment?: (boolean | (({
|
|
10081
|
-
|
|
10223
|
+
|
|
10224
|
+
pattern: string
|
|
10225
|
+
|
|
10082
10226
|
flags?: string
|
|
10083
10227
|
} | string)[] | ({
|
|
10084
|
-
|
|
10228
|
+
|
|
10229
|
+
pattern: string
|
|
10230
|
+
|
|
10085
10231
|
flags?: string
|
|
10086
10232
|
} | string)) | {
|
|
10233
|
+
|
|
10087
10234
|
block?: (boolean | (({
|
|
10088
|
-
|
|
10235
|
+
|
|
10236
|
+
pattern: string
|
|
10237
|
+
|
|
10089
10238
|
flags?: string
|
|
10090
10239
|
} | string)[] | ({
|
|
10091
|
-
|
|
10240
|
+
|
|
10241
|
+
pattern: string
|
|
10242
|
+
|
|
10092
10243
|
flags?: string
|
|
10093
10244
|
} | string)))
|
|
10245
|
+
|
|
10094
10246
|
line?: (boolean | (({
|
|
10095
|
-
|
|
10247
|
+
|
|
10248
|
+
pattern: string
|
|
10249
|
+
|
|
10096
10250
|
flags?: string
|
|
10097
10251
|
} | string)[] | ({
|
|
10098
|
-
|
|
10252
|
+
|
|
10253
|
+
pattern: string
|
|
10254
|
+
|
|
10099
10255
|
flags?: string
|
|
10100
10256
|
} | string)))
|
|
10101
10257
|
})
|
|
@@ -10106,18 +10262,17 @@ type PerfectionistSortEnums = []|[{
|
|
|
10106
10262
|
|
|
10107
10263
|
groups?: (string | string[] | {
|
|
10108
10264
|
|
|
10109
|
-
newlinesBetween
|
|
10265
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10110
10266
|
})[]
|
|
10111
10267
|
}]
|
|
10112
10268
|
// ----- perfectionist/sort-exports -----
|
|
10113
|
-
type PerfectionistSortExports =
|
|
10269
|
+
type PerfectionistSortExports = {
|
|
10114
10270
|
|
|
10115
10271
|
fallbackSort?: {
|
|
10116
10272
|
|
|
10117
10273
|
order?: ("asc" | "desc")
|
|
10118
10274
|
|
|
10119
10275
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10120
|
-
[k: string]: unknown | undefined
|
|
10121
10276
|
}
|
|
10122
10277
|
|
|
10123
10278
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10134,31 +10289,120 @@ type PerfectionistSortExports = []|[{
|
|
|
10134
10289
|
|
|
10135
10290
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10136
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
|
+
|
|
10137
10360
|
partitionByComment?: (boolean | (({
|
|
10138
|
-
|
|
10361
|
+
|
|
10362
|
+
pattern: string
|
|
10363
|
+
|
|
10139
10364
|
flags?: string
|
|
10140
10365
|
} | string)[] | ({
|
|
10141
|
-
|
|
10366
|
+
|
|
10367
|
+
pattern: string
|
|
10368
|
+
|
|
10142
10369
|
flags?: string
|
|
10143
10370
|
} | string)) | {
|
|
10371
|
+
|
|
10144
10372
|
block?: (boolean | (({
|
|
10145
|
-
|
|
10373
|
+
|
|
10374
|
+
pattern: string
|
|
10375
|
+
|
|
10146
10376
|
flags?: string
|
|
10147
10377
|
} | string)[] | ({
|
|
10148
|
-
|
|
10378
|
+
|
|
10379
|
+
pattern: string
|
|
10380
|
+
|
|
10149
10381
|
flags?: string
|
|
10150
10382
|
} | string)))
|
|
10383
|
+
|
|
10151
10384
|
line?: (boolean | (({
|
|
10152
|
-
|
|
10385
|
+
|
|
10386
|
+
pattern: string
|
|
10387
|
+
|
|
10153
10388
|
flags?: string
|
|
10154
10389
|
} | string)[] | ({
|
|
10155
|
-
|
|
10390
|
+
|
|
10391
|
+
pattern: string
|
|
10392
|
+
|
|
10156
10393
|
flags?: string
|
|
10157
10394
|
} | string)))
|
|
10158
10395
|
})
|
|
10159
10396
|
|
|
10160
10397
|
partitionByNewLine?: boolean
|
|
10161
|
-
|
|
10398
|
+
|
|
10399
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10400
|
+
|
|
10401
|
+
groups?: (string | string[] | {
|
|
10402
|
+
|
|
10403
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10404
|
+
})[]
|
|
10405
|
+
}[]
|
|
10162
10406
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
10163
10407
|
type PerfectionistSortHeritageClauses = []|[{
|
|
10164
10408
|
|
|
@@ -10167,7 +10411,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10167
10411
|
order?: ("asc" | "desc")
|
|
10168
10412
|
|
|
10169
10413
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10170
|
-
[k: string]: unknown | undefined
|
|
10171
10414
|
}
|
|
10172
10415
|
|
|
10173
10416
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10188,19 +10431,17 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10188
10431
|
|
|
10189
10432
|
groups?: (string | string[] | {
|
|
10190
10433
|
|
|
10191
|
-
newlinesBetween
|
|
10434
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10192
10435
|
})[]
|
|
10193
10436
|
}]
|
|
10194
10437
|
// ----- perfectionist/sort-imports -----
|
|
10195
|
-
type PerfectionistSortImports =
|
|
10196
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10438
|
+
type PerfectionistSortImports = {
|
|
10197
10439
|
|
|
10198
10440
|
fallbackSort?: {
|
|
10199
10441
|
|
|
10200
10442
|
order?: ("asc" | "desc")
|
|
10201
10443
|
|
|
10202
10444
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10203
|
-
[k: string]: unknown | undefined
|
|
10204
10445
|
}
|
|
10205
10446
|
|
|
10206
10447
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10214,73 +10455,173 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10214
10455
|
order?: ("asc" | "desc")
|
|
10215
10456
|
|
|
10216
10457
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10217
|
-
|
|
10218
|
-
customGroups?: {
|
|
10458
|
+
customGroups?: ({
|
|
10219
10459
|
|
|
10220
10460
|
value?: {
|
|
10221
|
-
[k: string]:
|
|
10461
|
+
[k: string]: (string | string[]) | undefined
|
|
10222
10462
|
}
|
|
10223
10463
|
|
|
10224
10464
|
type?: {
|
|
10225
|
-
[k: string]:
|
|
10465
|
+
[k: string]: (string | string[]) | undefined
|
|
10226
10466
|
}
|
|
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
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
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
|
+
|
|
10266
10571
|
flags?: string
|
|
10267
10572
|
} | string)[] | ({
|
|
10268
|
-
|
|
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
|
+
|
|
10608
|
+
internalPattern?: (({
|
|
10609
|
+
|
|
10610
|
+
pattern: string
|
|
10611
|
+
|
|
10612
|
+
flags?: string
|
|
10613
|
+
} | string)[] | ({
|
|
10614
|
+
|
|
10615
|
+
pattern: string
|
|
10616
|
+
|
|
10269
10617
|
flags?: string
|
|
10270
10618
|
} | string))
|
|
10271
10619
|
|
|
10272
10620
|
groups?: (string | string[] | {
|
|
10273
10621
|
|
|
10274
|
-
newlinesBetween
|
|
10622
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10275
10623
|
})[]
|
|
10276
|
-
}
|
|
10277
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10278
|
-
[k: string]: unknown | undefined
|
|
10279
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
10280
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
10281
|
-
type: "line-length"
|
|
10282
|
-
[k: string]: unknown | undefined
|
|
10283
|
-
}
|
|
10624
|
+
}[]
|
|
10284
10625
|
// ----- perfectionist/sort-interfaces -----
|
|
10285
10626
|
type PerfectionistSortInterfaces = {
|
|
10286
10627
|
|
|
@@ -10289,7 +10630,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10289
10630
|
order?: ("asc" | "desc")
|
|
10290
10631
|
|
|
10291
10632
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10292
|
-
|
|
10633
|
+
sortBy?: ("name" | "value")
|
|
10293
10634
|
}
|
|
10294
10635
|
|
|
10295
10636
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10315,10 +10656,9 @@ type PerfectionistSortInterfaces = {
|
|
|
10315
10656
|
|
|
10316
10657
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10317
10658
|
sortBy?: ("name" | "value")
|
|
10318
|
-
[k: string]: unknown | undefined
|
|
10319
10659
|
}
|
|
10320
10660
|
|
|
10321
|
-
groupName
|
|
10661
|
+
groupName: string
|
|
10322
10662
|
|
|
10323
10663
|
order?: ("asc" | "desc")
|
|
10324
10664
|
|
|
@@ -10330,18 +10670,26 @@ type PerfectionistSortInterfaces = {
|
|
|
10330
10670
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10331
10671
|
|
|
10332
10672
|
elementValuePattern?: (({
|
|
10333
|
-
|
|
10673
|
+
|
|
10674
|
+
pattern: string
|
|
10675
|
+
|
|
10334
10676
|
flags?: string
|
|
10335
10677
|
} | string)[] | ({
|
|
10336
|
-
|
|
10678
|
+
|
|
10679
|
+
pattern: string
|
|
10680
|
+
|
|
10337
10681
|
flags?: string
|
|
10338
10682
|
} | string))
|
|
10339
10683
|
|
|
10340
10684
|
elementNamePattern?: (({
|
|
10341
|
-
|
|
10685
|
+
|
|
10686
|
+
pattern: string
|
|
10687
|
+
|
|
10342
10688
|
flags?: string
|
|
10343
10689
|
} | string)[] | ({
|
|
10344
|
-
|
|
10690
|
+
|
|
10691
|
+
pattern: string
|
|
10692
|
+
|
|
10345
10693
|
flags?: string
|
|
10346
10694
|
} | string))
|
|
10347
10695
|
sortBy?: ("name" | "value")
|
|
@@ -10356,10 +10704,9 @@ type PerfectionistSortInterfaces = {
|
|
|
10356
10704
|
|
|
10357
10705
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10358
10706
|
sortBy?: ("name" | "value")
|
|
10359
|
-
[k: string]: unknown | undefined
|
|
10360
10707
|
}
|
|
10361
10708
|
|
|
10362
|
-
groupName
|
|
10709
|
+
groupName: string
|
|
10363
10710
|
|
|
10364
10711
|
order?: ("asc" | "desc")
|
|
10365
10712
|
|
|
@@ -10370,62 +10717,93 @@ type PerfectionistSortInterfaces = {
|
|
|
10370
10717
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10371
10718
|
|
|
10372
10719
|
elementValuePattern?: (({
|
|
10373
|
-
|
|
10720
|
+
|
|
10721
|
+
pattern: string
|
|
10722
|
+
|
|
10374
10723
|
flags?: string
|
|
10375
10724
|
} | string)[] | ({
|
|
10376
|
-
|
|
10725
|
+
|
|
10726
|
+
pattern: string
|
|
10727
|
+
|
|
10377
10728
|
flags?: string
|
|
10378
10729
|
} | string))
|
|
10379
10730
|
|
|
10380
10731
|
elementNamePattern?: (({
|
|
10381
|
-
|
|
10732
|
+
|
|
10733
|
+
pattern: string
|
|
10734
|
+
|
|
10382
10735
|
flags?: string
|
|
10383
10736
|
} | string)[] | ({
|
|
10384
|
-
|
|
10737
|
+
|
|
10738
|
+
pattern: string
|
|
10739
|
+
|
|
10385
10740
|
flags?: string
|
|
10386
10741
|
} | string))
|
|
10387
10742
|
sortBy?: ("name" | "value")
|
|
10388
10743
|
})[])
|
|
10744
|
+
|
|
10745
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10746
|
+
|
|
10389
10747
|
useConfigurationIf?: {
|
|
10390
10748
|
|
|
10391
10749
|
allNamesMatchPattern?: (({
|
|
10392
|
-
|
|
10750
|
+
|
|
10751
|
+
pattern: string
|
|
10752
|
+
|
|
10393
10753
|
flags?: string
|
|
10394
10754
|
} | string)[] | ({
|
|
10395
|
-
|
|
10755
|
+
|
|
10756
|
+
pattern: string
|
|
10757
|
+
|
|
10396
10758
|
flags?: string
|
|
10397
10759
|
} | string))
|
|
10398
10760
|
|
|
10399
10761
|
declarationMatchesPattern?: (({
|
|
10400
|
-
|
|
10762
|
+
|
|
10763
|
+
pattern: string
|
|
10764
|
+
|
|
10401
10765
|
flags?: string
|
|
10402
10766
|
} | string)[] | ({
|
|
10403
|
-
|
|
10767
|
+
|
|
10768
|
+
pattern: string
|
|
10769
|
+
|
|
10404
10770
|
flags?: string
|
|
10405
10771
|
} | string))
|
|
10406
10772
|
}
|
|
10407
10773
|
|
|
10408
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10409
|
-
|
|
10410
10774
|
partitionByComment?: (boolean | (({
|
|
10411
|
-
|
|
10775
|
+
|
|
10776
|
+
pattern: string
|
|
10777
|
+
|
|
10412
10778
|
flags?: string
|
|
10413
10779
|
} | string)[] | ({
|
|
10414
|
-
|
|
10780
|
+
|
|
10781
|
+
pattern: string
|
|
10782
|
+
|
|
10415
10783
|
flags?: string
|
|
10416
10784
|
} | string)) | {
|
|
10785
|
+
|
|
10417
10786
|
block?: (boolean | (({
|
|
10418
|
-
|
|
10787
|
+
|
|
10788
|
+
pattern: string
|
|
10789
|
+
|
|
10419
10790
|
flags?: string
|
|
10420
10791
|
} | string)[] | ({
|
|
10421
|
-
|
|
10792
|
+
|
|
10793
|
+
pattern: string
|
|
10794
|
+
|
|
10422
10795
|
flags?: string
|
|
10423
10796
|
} | string)))
|
|
10797
|
+
|
|
10424
10798
|
line?: (boolean | (({
|
|
10425
|
-
|
|
10799
|
+
|
|
10800
|
+
pattern: string
|
|
10801
|
+
|
|
10426
10802
|
flags?: string
|
|
10427
10803
|
} | string)[] | ({
|
|
10428
|
-
|
|
10804
|
+
|
|
10805
|
+
pattern: string
|
|
10806
|
+
|
|
10429
10807
|
flags?: string
|
|
10430
10808
|
} | string)))
|
|
10431
10809
|
})
|
|
@@ -10435,28 +10813,31 @@ type PerfectionistSortInterfaces = {
|
|
|
10435
10813
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10436
10814
|
|
|
10437
10815
|
ignorePattern?: (({
|
|
10438
|
-
|
|
10816
|
+
|
|
10817
|
+
pattern: string
|
|
10818
|
+
|
|
10439
10819
|
flags?: string
|
|
10440
10820
|
} | string)[] | ({
|
|
10441
|
-
|
|
10821
|
+
|
|
10822
|
+
pattern: string
|
|
10823
|
+
|
|
10442
10824
|
flags?: string
|
|
10443
10825
|
} | string))
|
|
10444
10826
|
sortBy?: ("name" | "value")
|
|
10445
10827
|
|
|
10446
10828
|
groups?: (string | string[] | {
|
|
10447
10829
|
|
|
10448
|
-
newlinesBetween
|
|
10830
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10449
10831
|
})[]
|
|
10450
10832
|
}[]
|
|
10451
10833
|
// ----- perfectionist/sort-intersection-types -----
|
|
10452
|
-
type PerfectionistSortIntersectionTypes =
|
|
10834
|
+
type PerfectionistSortIntersectionTypes = {
|
|
10453
10835
|
|
|
10454
10836
|
fallbackSort?: {
|
|
10455
10837
|
|
|
10456
10838
|
order?: ("asc" | "desc")
|
|
10457
10839
|
|
|
10458
10840
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10459
|
-
[k: string]: unknown | undefined
|
|
10460
10841
|
}
|
|
10461
10842
|
|
|
10462
10843
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10471,25 +10852,103 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10471
10852
|
|
|
10472
10853
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10473
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
|
+
|
|
10474
10919
|
partitionByComment?: (boolean | (({
|
|
10475
|
-
|
|
10920
|
+
|
|
10921
|
+
pattern: string
|
|
10922
|
+
|
|
10476
10923
|
flags?: string
|
|
10477
10924
|
} | string)[] | ({
|
|
10478
|
-
|
|
10925
|
+
|
|
10926
|
+
pattern: string
|
|
10927
|
+
|
|
10479
10928
|
flags?: string
|
|
10480
10929
|
} | string)) | {
|
|
10930
|
+
|
|
10481
10931
|
block?: (boolean | (({
|
|
10482
|
-
|
|
10932
|
+
|
|
10933
|
+
pattern: string
|
|
10934
|
+
|
|
10483
10935
|
flags?: string
|
|
10484
10936
|
} | string)[] | ({
|
|
10485
|
-
|
|
10937
|
+
|
|
10938
|
+
pattern: string
|
|
10939
|
+
|
|
10486
10940
|
flags?: string
|
|
10487
10941
|
} | string)))
|
|
10942
|
+
|
|
10488
10943
|
line?: (boolean | (({
|
|
10489
|
-
|
|
10944
|
+
|
|
10945
|
+
pattern: string
|
|
10946
|
+
|
|
10490
10947
|
flags?: string
|
|
10491
10948
|
} | string)[] | ({
|
|
10492
|
-
|
|
10949
|
+
|
|
10950
|
+
pattern: string
|
|
10951
|
+
|
|
10493
10952
|
flags?: string
|
|
10494
10953
|
} | string)))
|
|
10495
10954
|
})
|
|
@@ -10500,9 +10959,9 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10500
10959
|
|
|
10501
10960
|
groups?: (string | string[] | {
|
|
10502
10961
|
|
|
10503
|
-
newlinesBetween
|
|
10962
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10504
10963
|
})[]
|
|
10505
|
-
}]
|
|
10964
|
+
}[]
|
|
10506
10965
|
// ----- perfectionist/sort-jsx-props -----
|
|
10507
10966
|
type PerfectionistSortJsxProps = {
|
|
10508
10967
|
|
|
@@ -10511,7 +10970,6 @@ type PerfectionistSortJsxProps = {
|
|
|
10511
10970
|
order?: ("asc" | "desc")
|
|
10512
10971
|
|
|
10513
10972
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10514
|
-
[k: string]: unknown | undefined
|
|
10515
10973
|
}
|
|
10516
10974
|
|
|
10517
10975
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10524,22 +10982,124 @@ type PerfectionistSortJsxProps = {
|
|
|
10524
10982
|
|
|
10525
10983
|
order?: ("asc" | "desc")
|
|
10526
10984
|
|
|
10527
|
-
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
|
+
|
|
10528
11080
|
useConfigurationIf?: {
|
|
10529
11081
|
|
|
10530
11082
|
allNamesMatchPattern?: (({
|
|
10531
|
-
|
|
11083
|
+
|
|
11084
|
+
pattern: string
|
|
11085
|
+
|
|
10532
11086
|
flags?: string
|
|
10533
11087
|
} | string)[] | ({
|
|
10534
|
-
|
|
11088
|
+
|
|
11089
|
+
pattern: string
|
|
11090
|
+
|
|
10535
11091
|
flags?: string
|
|
10536
11092
|
} | string))
|
|
10537
11093
|
|
|
10538
11094
|
tagMatchesPattern?: (({
|
|
10539
|
-
|
|
11095
|
+
|
|
11096
|
+
pattern: string
|
|
11097
|
+
|
|
10540
11098
|
flags?: string
|
|
10541
11099
|
} | string)[] | ({
|
|
10542
|
-
|
|
11100
|
+
|
|
11101
|
+
pattern: string
|
|
11102
|
+
|
|
10543
11103
|
flags?: string
|
|
10544
11104
|
} | string))
|
|
10545
11105
|
}
|
|
@@ -10548,21 +11108,21 @@ type PerfectionistSortJsxProps = {
|
|
|
10548
11108
|
|
|
10549
11109
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10550
11110
|
|
|
10551
|
-
customGroups?: {
|
|
10552
|
-
[k: string]: (string | string[]) | undefined
|
|
10553
|
-
}
|
|
10554
|
-
|
|
10555
11111
|
ignorePattern?: (({
|
|
10556
|
-
|
|
11112
|
+
|
|
11113
|
+
pattern: string
|
|
11114
|
+
|
|
10557
11115
|
flags?: string
|
|
10558
11116
|
} | string)[] | ({
|
|
10559
|
-
|
|
11117
|
+
|
|
11118
|
+
pattern: string
|
|
11119
|
+
|
|
10560
11120
|
flags?: string
|
|
10561
11121
|
} | string))
|
|
10562
11122
|
|
|
10563
11123
|
groups?: (string | string[] | {
|
|
10564
11124
|
|
|
10565
|
-
newlinesBetween
|
|
11125
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10566
11126
|
})[]
|
|
10567
11127
|
}[]
|
|
10568
11128
|
// ----- perfectionist/sort-maps -----
|
|
@@ -10573,7 +11133,6 @@ type PerfectionistSortMaps = {
|
|
|
10573
11133
|
order?: ("asc" | "desc")
|
|
10574
11134
|
|
|
10575
11135
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10576
|
-
[k: string]: unknown | undefined
|
|
10577
11136
|
}
|
|
10578
11137
|
|
|
10579
11138
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10597,10 +11156,9 @@ type PerfectionistSortMaps = {
|
|
|
10597
11156
|
order?: ("asc" | "desc")
|
|
10598
11157
|
|
|
10599
11158
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10600
|
-
[k: string]: unknown | undefined
|
|
10601
11159
|
}
|
|
10602
11160
|
|
|
10603
|
-
groupName
|
|
11161
|
+
groupName: string
|
|
10604
11162
|
|
|
10605
11163
|
order?: ("asc" | "desc")
|
|
10606
11164
|
|
|
@@ -10608,10 +11166,14 @@ type PerfectionistSortMaps = {
|
|
|
10608
11166
|
anyOf?: {
|
|
10609
11167
|
|
|
10610
11168
|
elementNamePattern?: (({
|
|
10611
|
-
|
|
11169
|
+
|
|
11170
|
+
pattern: string
|
|
11171
|
+
|
|
10612
11172
|
flags?: string
|
|
10613
11173
|
} | string)[] | ({
|
|
10614
|
-
|
|
11174
|
+
|
|
11175
|
+
pattern: string
|
|
11176
|
+
|
|
10615
11177
|
flags?: string
|
|
10616
11178
|
} | string))
|
|
10617
11179
|
}[]
|
|
@@ -10624,53 +11186,75 @@ type PerfectionistSortMaps = {
|
|
|
10624
11186
|
order?: ("asc" | "desc")
|
|
10625
11187
|
|
|
10626
11188
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10627
|
-
[k: string]: unknown | undefined
|
|
10628
11189
|
}
|
|
10629
11190
|
|
|
10630
|
-
groupName
|
|
11191
|
+
groupName: string
|
|
10631
11192
|
|
|
10632
11193
|
order?: ("asc" | "desc")
|
|
10633
11194
|
|
|
10634
11195
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10635
11196
|
|
|
10636
11197
|
elementNamePattern?: (({
|
|
10637
|
-
|
|
11198
|
+
|
|
11199
|
+
pattern: string
|
|
11200
|
+
|
|
10638
11201
|
flags?: string
|
|
10639
11202
|
} | string)[] | ({
|
|
10640
|
-
|
|
11203
|
+
|
|
11204
|
+
pattern: string
|
|
11205
|
+
|
|
10641
11206
|
flags?: string
|
|
10642
11207
|
} | string))
|
|
10643
11208
|
})[]
|
|
11209
|
+
|
|
10644
11210
|
useConfigurationIf?: {
|
|
10645
11211
|
|
|
10646
11212
|
allNamesMatchPattern?: (({
|
|
10647
|
-
|
|
11213
|
+
|
|
11214
|
+
pattern: string
|
|
11215
|
+
|
|
10648
11216
|
flags?: string
|
|
10649
11217
|
} | string)[] | ({
|
|
10650
|
-
|
|
11218
|
+
|
|
11219
|
+
pattern: string
|
|
11220
|
+
|
|
10651
11221
|
flags?: string
|
|
10652
11222
|
} | string))
|
|
10653
11223
|
}
|
|
10654
11224
|
|
|
10655
11225
|
partitionByComment?: (boolean | (({
|
|
10656
|
-
|
|
11226
|
+
|
|
11227
|
+
pattern: string
|
|
11228
|
+
|
|
10657
11229
|
flags?: string
|
|
10658
11230
|
} | string)[] | ({
|
|
10659
|
-
|
|
11231
|
+
|
|
11232
|
+
pattern: string
|
|
11233
|
+
|
|
10660
11234
|
flags?: string
|
|
10661
11235
|
} | string)) | {
|
|
11236
|
+
|
|
10662
11237
|
block?: (boolean | (({
|
|
10663
|
-
|
|
11238
|
+
|
|
11239
|
+
pattern: string
|
|
11240
|
+
|
|
10664
11241
|
flags?: string
|
|
10665
11242
|
} | string)[] | ({
|
|
10666
|
-
|
|
11243
|
+
|
|
11244
|
+
pattern: string
|
|
11245
|
+
|
|
10667
11246
|
flags?: string
|
|
10668
11247
|
} | string)))
|
|
11248
|
+
|
|
10669
11249
|
line?: (boolean | (({
|
|
10670
|
-
|
|
11250
|
+
|
|
11251
|
+
pattern: string
|
|
11252
|
+
|
|
10671
11253
|
flags?: string
|
|
10672
11254
|
} | string)[] | ({
|
|
10673
|
-
|
|
11255
|
+
|
|
11256
|
+
pattern: string
|
|
11257
|
+
|
|
10674
11258
|
flags?: string
|
|
10675
11259
|
} | string)))
|
|
10676
11260
|
})
|
|
@@ -10681,7 +11265,7 @@ type PerfectionistSortMaps = {
|
|
|
10681
11265
|
|
|
10682
11266
|
groups?: (string | string[] | {
|
|
10683
11267
|
|
|
10684
|
-
newlinesBetween
|
|
11268
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10685
11269
|
})[]
|
|
10686
11270
|
}[]
|
|
10687
11271
|
// ----- perfectionist/sort-modules -----
|
|
@@ -10692,7 +11276,6 @@ type PerfectionistSortModules = []|[{
|
|
|
10692
11276
|
order?: ("asc" | "desc")
|
|
10693
11277
|
|
|
10694
11278
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10695
|
-
[k: string]: unknown | undefined
|
|
10696
11279
|
}
|
|
10697
11280
|
|
|
10698
11281
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10716,10 +11299,9 @@ type PerfectionistSortModules = []|[{
|
|
|
10716
11299
|
order?: ("asc" | "desc")
|
|
10717
11300
|
|
|
10718
11301
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10719
|
-
[k: string]: unknown | undefined
|
|
10720
11302
|
}
|
|
10721
11303
|
|
|
10722
|
-
groupName
|
|
11304
|
+
groupName: string
|
|
10723
11305
|
|
|
10724
11306
|
order?: ("asc" | "desc")
|
|
10725
11307
|
|
|
@@ -10731,18 +11313,26 @@ type PerfectionistSortModules = []|[{
|
|
|
10731
11313
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10732
11314
|
|
|
10733
11315
|
decoratorNamePattern?: (({
|
|
10734
|
-
|
|
11316
|
+
|
|
11317
|
+
pattern: string
|
|
11318
|
+
|
|
10735
11319
|
flags?: string
|
|
10736
11320
|
} | string)[] | ({
|
|
10737
|
-
|
|
11321
|
+
|
|
11322
|
+
pattern: string
|
|
11323
|
+
|
|
10738
11324
|
flags?: string
|
|
10739
11325
|
} | string))
|
|
10740
11326
|
|
|
10741
11327
|
elementNamePattern?: (({
|
|
10742
|
-
|
|
11328
|
+
|
|
11329
|
+
pattern: string
|
|
11330
|
+
|
|
10743
11331
|
flags?: string
|
|
10744
11332
|
} | string)[] | ({
|
|
10745
|
-
|
|
11333
|
+
|
|
11334
|
+
pattern: string
|
|
11335
|
+
|
|
10746
11336
|
flags?: string
|
|
10747
11337
|
} | string))
|
|
10748
11338
|
}[]
|
|
@@ -10755,10 +11345,9 @@ type PerfectionistSortModules = []|[{
|
|
|
10755
11345
|
order?: ("asc" | "desc")
|
|
10756
11346
|
|
|
10757
11347
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10758
|
-
[k: string]: unknown | undefined
|
|
10759
11348
|
}
|
|
10760
11349
|
|
|
10761
|
-
groupName
|
|
11350
|
+
groupName: string
|
|
10762
11351
|
|
|
10763
11352
|
order?: ("asc" | "desc")
|
|
10764
11353
|
|
|
@@ -10769,41 +11358,63 @@ type PerfectionistSortModules = []|[{
|
|
|
10769
11358
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10770
11359
|
|
|
10771
11360
|
decoratorNamePattern?: (({
|
|
10772
|
-
|
|
11361
|
+
|
|
11362
|
+
pattern: string
|
|
11363
|
+
|
|
10773
11364
|
flags?: string
|
|
10774
11365
|
} | string)[] | ({
|
|
10775
|
-
|
|
11366
|
+
|
|
11367
|
+
pattern: string
|
|
11368
|
+
|
|
10776
11369
|
flags?: string
|
|
10777
11370
|
} | string))
|
|
10778
11371
|
|
|
10779
11372
|
elementNamePattern?: (({
|
|
10780
|
-
|
|
11373
|
+
|
|
11374
|
+
pattern: string
|
|
11375
|
+
|
|
10781
11376
|
flags?: string
|
|
10782
11377
|
} | string)[] | ({
|
|
10783
|
-
|
|
11378
|
+
|
|
11379
|
+
pattern: string
|
|
11380
|
+
|
|
10784
11381
|
flags?: string
|
|
10785
11382
|
} | string))
|
|
10786
11383
|
})[]
|
|
10787
11384
|
|
|
10788
11385
|
partitionByComment?: (boolean | (({
|
|
10789
|
-
|
|
11386
|
+
|
|
11387
|
+
pattern: string
|
|
11388
|
+
|
|
10790
11389
|
flags?: string
|
|
10791
11390
|
} | string)[] | ({
|
|
10792
|
-
|
|
11391
|
+
|
|
11392
|
+
pattern: string
|
|
11393
|
+
|
|
10793
11394
|
flags?: string
|
|
10794
11395
|
} | string)) | {
|
|
11396
|
+
|
|
10795
11397
|
block?: (boolean | (({
|
|
10796
|
-
|
|
11398
|
+
|
|
11399
|
+
pattern: string
|
|
11400
|
+
|
|
10797
11401
|
flags?: string
|
|
10798
11402
|
} | string)[] | ({
|
|
10799
|
-
|
|
11403
|
+
|
|
11404
|
+
pattern: string
|
|
11405
|
+
|
|
10800
11406
|
flags?: string
|
|
10801
11407
|
} | string)))
|
|
11408
|
+
|
|
10802
11409
|
line?: (boolean | (({
|
|
10803
|
-
|
|
11410
|
+
|
|
11411
|
+
pattern: string
|
|
11412
|
+
|
|
10804
11413
|
flags?: string
|
|
10805
11414
|
} | string)[] | ({
|
|
10806
|
-
|
|
11415
|
+
|
|
11416
|
+
pattern: string
|
|
11417
|
+
|
|
10807
11418
|
flags?: string
|
|
10808
11419
|
} | string)))
|
|
10809
11420
|
})
|
|
@@ -10814,18 +11425,17 @@ type PerfectionistSortModules = []|[{
|
|
|
10814
11425
|
|
|
10815
11426
|
groups?: (string | string[] | {
|
|
10816
11427
|
|
|
10817
|
-
newlinesBetween
|
|
11428
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
10818
11429
|
})[]
|
|
10819
11430
|
}]
|
|
10820
11431
|
// ----- perfectionist/sort-named-exports -----
|
|
10821
|
-
type PerfectionistSortNamedExports =
|
|
11432
|
+
type PerfectionistSortNamedExports = {
|
|
10822
11433
|
|
|
10823
11434
|
fallbackSort?: {
|
|
10824
11435
|
|
|
10825
11436
|
order?: ("asc" | "desc")
|
|
10826
11437
|
|
|
10827
11438
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10828
|
-
[k: string]: unknown | undefined
|
|
10829
11439
|
}
|
|
10830
11440
|
|
|
10831
11441
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10844,40 +11454,128 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10844
11454
|
|
|
10845
11455
|
ignoreAlias?: boolean
|
|
10846
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
|
+
|
|
10847
11525
|
partitionByComment?: (boolean | (({
|
|
10848
|
-
|
|
11526
|
+
|
|
11527
|
+
pattern: string
|
|
11528
|
+
|
|
10849
11529
|
flags?: string
|
|
10850
11530
|
} | string)[] | ({
|
|
10851
|
-
|
|
11531
|
+
|
|
11532
|
+
pattern: string
|
|
11533
|
+
|
|
10852
11534
|
flags?: string
|
|
10853
11535
|
} | string)) | {
|
|
11536
|
+
|
|
10854
11537
|
block?: (boolean | (({
|
|
10855
|
-
|
|
11538
|
+
|
|
11539
|
+
pattern: string
|
|
11540
|
+
|
|
10856
11541
|
flags?: string
|
|
10857
11542
|
} | string)[] | ({
|
|
10858
|
-
|
|
11543
|
+
|
|
11544
|
+
pattern: string
|
|
11545
|
+
|
|
10859
11546
|
flags?: string
|
|
10860
11547
|
} | string)))
|
|
11548
|
+
|
|
10861
11549
|
line?: (boolean | (({
|
|
10862
|
-
|
|
11550
|
+
|
|
11551
|
+
pattern: string
|
|
11552
|
+
|
|
10863
11553
|
flags?: string
|
|
10864
11554
|
} | string)[] | ({
|
|
10865
|
-
|
|
11555
|
+
|
|
11556
|
+
pattern: string
|
|
11557
|
+
|
|
10866
11558
|
flags?: string
|
|
10867
11559
|
} | string)))
|
|
10868
11560
|
})
|
|
10869
11561
|
|
|
10870
11562
|
partitionByNewLine?: boolean
|
|
10871
|
-
|
|
11563
|
+
|
|
11564
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11565
|
+
|
|
11566
|
+
groups?: (string | string[] | {
|
|
11567
|
+
|
|
11568
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11569
|
+
})[]
|
|
11570
|
+
}[]
|
|
10872
11571
|
// ----- perfectionist/sort-named-imports -----
|
|
10873
|
-
type PerfectionistSortNamedImports =
|
|
11572
|
+
type PerfectionistSortNamedImports = {
|
|
10874
11573
|
|
|
10875
11574
|
fallbackSort?: {
|
|
10876
11575
|
|
|
10877
11576
|
order?: ("asc" | "desc")
|
|
10878
11577
|
|
|
10879
11578
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10880
|
-
[k: string]: unknown | undefined
|
|
10881
11579
|
}
|
|
10882
11580
|
|
|
10883
11581
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10896,31 +11594,120 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10896
11594
|
|
|
10897
11595
|
ignoreAlias?: boolean
|
|
10898
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
|
+
|
|
10899
11665
|
partitionByComment?: (boolean | (({
|
|
10900
|
-
|
|
11666
|
+
|
|
11667
|
+
pattern: string
|
|
11668
|
+
|
|
10901
11669
|
flags?: string
|
|
10902
11670
|
} | string)[] | ({
|
|
10903
|
-
|
|
11671
|
+
|
|
11672
|
+
pattern: string
|
|
11673
|
+
|
|
10904
11674
|
flags?: string
|
|
10905
11675
|
} | string)) | {
|
|
11676
|
+
|
|
10906
11677
|
block?: (boolean | (({
|
|
10907
|
-
|
|
11678
|
+
|
|
11679
|
+
pattern: string
|
|
11680
|
+
|
|
10908
11681
|
flags?: string
|
|
10909
11682
|
} | string)[] | ({
|
|
10910
|
-
|
|
11683
|
+
|
|
11684
|
+
pattern: string
|
|
11685
|
+
|
|
10911
11686
|
flags?: string
|
|
10912
11687
|
} | string)))
|
|
11688
|
+
|
|
10913
11689
|
line?: (boolean | (({
|
|
10914
|
-
|
|
11690
|
+
|
|
11691
|
+
pattern: string
|
|
11692
|
+
|
|
10915
11693
|
flags?: string
|
|
10916
11694
|
} | string)[] | ({
|
|
10917
|
-
|
|
11695
|
+
|
|
11696
|
+
pattern: string
|
|
11697
|
+
|
|
10918
11698
|
flags?: string
|
|
10919
11699
|
} | string)))
|
|
10920
11700
|
})
|
|
10921
11701
|
|
|
10922
11702
|
partitionByNewLine?: boolean
|
|
10923
|
-
|
|
11703
|
+
|
|
11704
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11705
|
+
|
|
11706
|
+
groups?: (string | string[] | {
|
|
11707
|
+
|
|
11708
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11709
|
+
})[]
|
|
11710
|
+
}[]
|
|
10924
11711
|
// ----- perfectionist/sort-object-types -----
|
|
10925
11712
|
type PerfectionistSortObjectTypes = {
|
|
10926
11713
|
|
|
@@ -10929,7 +11716,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10929
11716
|
order?: ("asc" | "desc")
|
|
10930
11717
|
|
|
10931
11718
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10932
|
-
|
|
11719
|
+
sortBy?: ("name" | "value")
|
|
10933
11720
|
}
|
|
10934
11721
|
|
|
10935
11722
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -10955,10 +11742,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
10955
11742
|
|
|
10956
11743
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10957
11744
|
sortBy?: ("name" | "value")
|
|
10958
|
-
[k: string]: unknown | undefined
|
|
10959
11745
|
}
|
|
10960
11746
|
|
|
10961
|
-
groupName
|
|
11747
|
+
groupName: string
|
|
10962
11748
|
|
|
10963
11749
|
order?: ("asc" | "desc")
|
|
10964
11750
|
|
|
@@ -10970,18 +11756,26 @@ type PerfectionistSortObjectTypes = {
|
|
|
10970
11756
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10971
11757
|
|
|
10972
11758
|
elementValuePattern?: (({
|
|
10973
|
-
|
|
11759
|
+
|
|
11760
|
+
pattern: string
|
|
11761
|
+
|
|
10974
11762
|
flags?: string
|
|
10975
11763
|
} | string)[] | ({
|
|
10976
|
-
|
|
11764
|
+
|
|
11765
|
+
pattern: string
|
|
11766
|
+
|
|
10977
11767
|
flags?: string
|
|
10978
11768
|
} | string))
|
|
10979
11769
|
|
|
10980
11770
|
elementNamePattern?: (({
|
|
10981
|
-
|
|
11771
|
+
|
|
11772
|
+
pattern: string
|
|
11773
|
+
|
|
10982
11774
|
flags?: string
|
|
10983
11775
|
} | string)[] | ({
|
|
10984
|
-
|
|
11776
|
+
|
|
11777
|
+
pattern: string
|
|
11778
|
+
|
|
10985
11779
|
flags?: string
|
|
10986
11780
|
} | string))
|
|
10987
11781
|
sortBy?: ("name" | "value")
|
|
@@ -10996,10 +11790,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
10996
11790
|
|
|
10997
11791
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10998
11792
|
sortBy?: ("name" | "value")
|
|
10999
|
-
[k: string]: unknown | undefined
|
|
11000
11793
|
}
|
|
11001
11794
|
|
|
11002
|
-
groupName
|
|
11795
|
+
groupName: string
|
|
11003
11796
|
|
|
11004
11797
|
order?: ("asc" | "desc")
|
|
11005
11798
|
|
|
@@ -11010,62 +11803,93 @@ type PerfectionistSortObjectTypes = {
|
|
|
11010
11803
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11011
11804
|
|
|
11012
11805
|
elementValuePattern?: (({
|
|
11013
|
-
|
|
11806
|
+
|
|
11807
|
+
pattern: string
|
|
11808
|
+
|
|
11014
11809
|
flags?: string
|
|
11015
11810
|
} | string)[] | ({
|
|
11016
|
-
|
|
11811
|
+
|
|
11812
|
+
pattern: string
|
|
11813
|
+
|
|
11017
11814
|
flags?: string
|
|
11018
11815
|
} | string))
|
|
11019
11816
|
|
|
11020
11817
|
elementNamePattern?: (({
|
|
11021
|
-
|
|
11818
|
+
|
|
11819
|
+
pattern: string
|
|
11820
|
+
|
|
11022
11821
|
flags?: string
|
|
11023
11822
|
} | string)[] | ({
|
|
11024
|
-
|
|
11823
|
+
|
|
11824
|
+
pattern: string
|
|
11825
|
+
|
|
11025
11826
|
flags?: string
|
|
11026
11827
|
} | string))
|
|
11027
11828
|
sortBy?: ("name" | "value")
|
|
11028
11829
|
})[])
|
|
11830
|
+
|
|
11831
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11832
|
+
|
|
11029
11833
|
useConfigurationIf?: {
|
|
11030
11834
|
|
|
11031
11835
|
allNamesMatchPattern?: (({
|
|
11032
|
-
|
|
11836
|
+
|
|
11837
|
+
pattern: string
|
|
11838
|
+
|
|
11033
11839
|
flags?: string
|
|
11034
11840
|
} | string)[] | ({
|
|
11035
|
-
|
|
11841
|
+
|
|
11842
|
+
pattern: string
|
|
11843
|
+
|
|
11036
11844
|
flags?: string
|
|
11037
11845
|
} | string))
|
|
11038
11846
|
|
|
11039
11847
|
declarationMatchesPattern?: (({
|
|
11040
|
-
|
|
11848
|
+
|
|
11849
|
+
pattern: string
|
|
11850
|
+
|
|
11041
11851
|
flags?: string
|
|
11042
11852
|
} | string)[] | ({
|
|
11043
|
-
|
|
11853
|
+
|
|
11854
|
+
pattern: string
|
|
11855
|
+
|
|
11044
11856
|
flags?: string
|
|
11045
11857
|
} | string))
|
|
11046
11858
|
}
|
|
11047
11859
|
|
|
11048
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11049
|
-
|
|
11050
11860
|
partitionByComment?: (boolean | (({
|
|
11051
|
-
|
|
11861
|
+
|
|
11862
|
+
pattern: string
|
|
11863
|
+
|
|
11052
11864
|
flags?: string
|
|
11053
11865
|
} | string)[] | ({
|
|
11054
|
-
|
|
11866
|
+
|
|
11867
|
+
pattern: string
|
|
11868
|
+
|
|
11055
11869
|
flags?: string
|
|
11056
11870
|
} | string)) | {
|
|
11871
|
+
|
|
11057
11872
|
block?: (boolean | (({
|
|
11058
|
-
|
|
11873
|
+
|
|
11874
|
+
pattern: string
|
|
11875
|
+
|
|
11059
11876
|
flags?: string
|
|
11060
11877
|
} | string)[] | ({
|
|
11061
|
-
|
|
11878
|
+
|
|
11879
|
+
pattern: string
|
|
11880
|
+
|
|
11062
11881
|
flags?: string
|
|
11063
11882
|
} | string)))
|
|
11883
|
+
|
|
11064
11884
|
line?: (boolean | (({
|
|
11065
|
-
|
|
11885
|
+
|
|
11886
|
+
pattern: string
|
|
11887
|
+
|
|
11066
11888
|
flags?: string
|
|
11067
11889
|
} | string)[] | ({
|
|
11068
|
-
|
|
11890
|
+
|
|
11891
|
+
pattern: string
|
|
11892
|
+
|
|
11069
11893
|
flags?: string
|
|
11070
11894
|
} | string)))
|
|
11071
11895
|
})
|
|
@@ -11075,17 +11899,21 @@ type PerfectionistSortObjectTypes = {
|
|
|
11075
11899
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11076
11900
|
|
|
11077
11901
|
ignorePattern?: (({
|
|
11078
|
-
|
|
11902
|
+
|
|
11903
|
+
pattern: string
|
|
11904
|
+
|
|
11079
11905
|
flags?: string
|
|
11080
11906
|
} | string)[] | ({
|
|
11081
|
-
|
|
11907
|
+
|
|
11908
|
+
pattern: string
|
|
11909
|
+
|
|
11082
11910
|
flags?: string
|
|
11083
11911
|
} | string))
|
|
11084
11912
|
sortBy?: ("name" | "value")
|
|
11085
11913
|
|
|
11086
11914
|
groups?: (string | string[] | {
|
|
11087
11915
|
|
|
11088
|
-
newlinesBetween
|
|
11916
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11089
11917
|
})[]
|
|
11090
11918
|
}[]
|
|
11091
11919
|
// ----- perfectionist/sort-objects -----
|
|
@@ -11096,7 +11924,6 @@ type PerfectionistSortObjects = {
|
|
|
11096
11924
|
order?: ("asc" | "desc")
|
|
11097
11925
|
|
|
11098
11926
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11099
|
-
[k: string]: unknown | undefined
|
|
11100
11927
|
}
|
|
11101
11928
|
|
|
11102
11929
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11126,10 +11953,9 @@ type PerfectionistSortObjects = {
|
|
|
11126
11953
|
order?: ("asc" | "desc")
|
|
11127
11954
|
|
|
11128
11955
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11129
|
-
[k: string]: unknown | undefined
|
|
11130
11956
|
}
|
|
11131
11957
|
|
|
11132
|
-
groupName
|
|
11958
|
+
groupName: string
|
|
11133
11959
|
|
|
11134
11960
|
order?: ("asc" | "desc")
|
|
11135
11961
|
|
|
@@ -11141,18 +11967,26 @@ type PerfectionistSortObjects = {
|
|
|
11141
11967
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
11142
11968
|
|
|
11143
11969
|
elementValuePattern?: (({
|
|
11144
|
-
|
|
11970
|
+
|
|
11971
|
+
pattern: string
|
|
11972
|
+
|
|
11145
11973
|
flags?: string
|
|
11146
11974
|
} | string)[] | ({
|
|
11147
|
-
|
|
11975
|
+
|
|
11976
|
+
pattern: string
|
|
11977
|
+
|
|
11148
11978
|
flags?: string
|
|
11149
11979
|
} | string))
|
|
11150
11980
|
|
|
11151
11981
|
elementNamePattern?: (({
|
|
11152
|
-
|
|
11982
|
+
|
|
11983
|
+
pattern: string
|
|
11984
|
+
|
|
11153
11985
|
flags?: string
|
|
11154
11986
|
} | string)[] | ({
|
|
11155
|
-
|
|
11987
|
+
|
|
11988
|
+
pattern: string
|
|
11989
|
+
|
|
11156
11990
|
flags?: string
|
|
11157
11991
|
} | string))
|
|
11158
11992
|
}[]
|
|
@@ -11165,10 +11999,9 @@ type PerfectionistSortObjects = {
|
|
|
11165
11999
|
order?: ("asc" | "desc")
|
|
11166
12000
|
|
|
11167
12001
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11168
|
-
[k: string]: unknown | undefined
|
|
11169
12002
|
}
|
|
11170
12003
|
|
|
11171
|
-
groupName
|
|
12004
|
+
groupName: string
|
|
11172
12005
|
|
|
11173
12006
|
order?: ("asc" | "desc")
|
|
11174
12007
|
|
|
@@ -11179,36 +12012,53 @@ type PerfectionistSortObjects = {
|
|
|
11179
12012
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
11180
12013
|
|
|
11181
12014
|
elementValuePattern?: (({
|
|
11182
|
-
|
|
12015
|
+
|
|
12016
|
+
pattern: string
|
|
12017
|
+
|
|
11183
12018
|
flags?: string
|
|
11184
12019
|
} | string)[] | ({
|
|
11185
|
-
|
|
12020
|
+
|
|
12021
|
+
pattern: string
|
|
12022
|
+
|
|
11186
12023
|
flags?: string
|
|
11187
12024
|
} | string))
|
|
11188
12025
|
|
|
11189
12026
|
elementNamePattern?: (({
|
|
11190
|
-
|
|
12027
|
+
|
|
12028
|
+
pattern: string
|
|
12029
|
+
|
|
11191
12030
|
flags?: string
|
|
11192
12031
|
} | string)[] | ({
|
|
11193
|
-
|
|
12032
|
+
|
|
12033
|
+
pattern: string
|
|
12034
|
+
|
|
11194
12035
|
flags?: string
|
|
11195
12036
|
} | string))
|
|
11196
12037
|
})[])
|
|
12038
|
+
|
|
11197
12039
|
useConfigurationIf?: {
|
|
11198
12040
|
|
|
11199
12041
|
allNamesMatchPattern?: (({
|
|
11200
|
-
|
|
12042
|
+
|
|
12043
|
+
pattern: string
|
|
12044
|
+
|
|
11201
12045
|
flags?: string
|
|
11202
12046
|
} | string)[] | ({
|
|
11203
|
-
|
|
12047
|
+
|
|
12048
|
+
pattern: string
|
|
12049
|
+
|
|
11204
12050
|
flags?: string
|
|
11205
12051
|
} | string))
|
|
11206
12052
|
|
|
11207
12053
|
callingFunctionNamePattern?: (({
|
|
11208
|
-
|
|
12054
|
+
|
|
12055
|
+
pattern: string
|
|
12056
|
+
|
|
11209
12057
|
flags?: string
|
|
11210
12058
|
} | string)[] | ({
|
|
11211
|
-
|
|
12059
|
+
|
|
12060
|
+
pattern: string
|
|
12061
|
+
|
|
11212
12062
|
flags?: string
|
|
11213
12063
|
} | string))
|
|
11214
12064
|
}
|
|
@@ -11220,24 +12070,38 @@ type PerfectionistSortObjects = {
|
|
|
11220
12070
|
styledComponents?: boolean
|
|
11221
12071
|
|
|
11222
12072
|
partitionByComment?: (boolean | (({
|
|
11223
|
-
|
|
12073
|
+
|
|
12074
|
+
pattern: string
|
|
12075
|
+
|
|
11224
12076
|
flags?: string
|
|
11225
12077
|
} | string)[] | ({
|
|
11226
|
-
|
|
12078
|
+
|
|
12079
|
+
pattern: string
|
|
12080
|
+
|
|
11227
12081
|
flags?: string
|
|
11228
12082
|
} | string)) | {
|
|
12083
|
+
|
|
11229
12084
|
block?: (boolean | (({
|
|
11230
|
-
|
|
12085
|
+
|
|
12086
|
+
pattern: string
|
|
12087
|
+
|
|
11231
12088
|
flags?: string
|
|
11232
12089
|
} | string)[] | ({
|
|
11233
|
-
|
|
12090
|
+
|
|
12091
|
+
pattern: string
|
|
12092
|
+
|
|
11234
12093
|
flags?: string
|
|
11235
12094
|
} | string)))
|
|
12095
|
+
|
|
11236
12096
|
line?: (boolean | (({
|
|
11237
|
-
|
|
12097
|
+
|
|
12098
|
+
pattern: string
|
|
12099
|
+
|
|
11238
12100
|
flags?: string
|
|
11239
12101
|
} | string)[] | ({
|
|
11240
|
-
|
|
12102
|
+
|
|
12103
|
+
pattern: string
|
|
12104
|
+
|
|
11241
12105
|
flags?: string
|
|
11242
12106
|
} | string)))
|
|
11243
12107
|
})
|
|
@@ -11247,16 +12111,20 @@ type PerfectionistSortObjects = {
|
|
|
11247
12111
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11248
12112
|
|
|
11249
12113
|
ignorePattern?: (({
|
|
11250
|
-
|
|
12114
|
+
|
|
12115
|
+
pattern: string
|
|
12116
|
+
|
|
11251
12117
|
flags?: string
|
|
11252
12118
|
} | string)[] | ({
|
|
11253
|
-
|
|
12119
|
+
|
|
12120
|
+
pattern: string
|
|
12121
|
+
|
|
11254
12122
|
flags?: string
|
|
11255
12123
|
} | string))
|
|
11256
12124
|
|
|
11257
12125
|
groups?: (string | string[] | {
|
|
11258
12126
|
|
|
11259
|
-
newlinesBetween
|
|
12127
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11260
12128
|
})[]
|
|
11261
12129
|
}[]
|
|
11262
12130
|
// ----- perfectionist/sort-sets -----
|
|
@@ -11267,7 +12135,6 @@ type PerfectionistSortSets = {
|
|
|
11267
12135
|
order?: ("asc" | "desc")
|
|
11268
12136
|
|
|
11269
12137
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11270
|
-
[k: string]: unknown | undefined
|
|
11271
12138
|
}
|
|
11272
12139
|
|
|
11273
12140
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11293,10 +12160,9 @@ type PerfectionistSortSets = {
|
|
|
11293
12160
|
order?: ("asc" | "desc")
|
|
11294
12161
|
|
|
11295
12162
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11296
|
-
[k: string]: unknown | undefined
|
|
11297
12163
|
}
|
|
11298
12164
|
|
|
11299
|
-
groupName
|
|
12165
|
+
groupName: string
|
|
11300
12166
|
|
|
11301
12167
|
order?: ("asc" | "desc")
|
|
11302
12168
|
|
|
@@ -11306,10 +12172,14 @@ type PerfectionistSortSets = {
|
|
|
11306
12172
|
selector?: ("literal" | "spread")
|
|
11307
12173
|
|
|
11308
12174
|
elementNamePattern?: (({
|
|
11309
|
-
|
|
12175
|
+
|
|
12176
|
+
pattern: string
|
|
12177
|
+
|
|
11310
12178
|
flags?: string
|
|
11311
12179
|
} | string)[] | ({
|
|
11312
|
-
|
|
12180
|
+
|
|
12181
|
+
pattern: string
|
|
12182
|
+
|
|
11313
12183
|
flags?: string
|
|
11314
12184
|
} | string))
|
|
11315
12185
|
}[]
|
|
@@ -11322,10 +12192,9 @@ type PerfectionistSortSets = {
|
|
|
11322
12192
|
order?: ("asc" | "desc")
|
|
11323
12193
|
|
|
11324
12194
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11325
|
-
[k: string]: unknown | undefined
|
|
11326
12195
|
}
|
|
11327
12196
|
|
|
11328
|
-
groupName
|
|
12197
|
+
groupName: string
|
|
11329
12198
|
|
|
11330
12199
|
order?: ("asc" | "desc")
|
|
11331
12200
|
|
|
@@ -11334,43 +12203,66 @@ type PerfectionistSortSets = {
|
|
|
11334
12203
|
selector?: ("literal" | "spread")
|
|
11335
12204
|
|
|
11336
12205
|
elementNamePattern?: (({
|
|
11337
|
-
|
|
12206
|
+
|
|
12207
|
+
pattern: string
|
|
12208
|
+
|
|
11338
12209
|
flags?: string
|
|
11339
12210
|
} | string)[] | ({
|
|
11340
|
-
|
|
12211
|
+
|
|
12212
|
+
pattern: string
|
|
12213
|
+
|
|
11341
12214
|
flags?: string
|
|
11342
12215
|
} | string))
|
|
11343
12216
|
})[]
|
|
12217
|
+
|
|
11344
12218
|
useConfigurationIf?: {
|
|
11345
12219
|
|
|
11346
12220
|
allNamesMatchPattern?: (({
|
|
11347
|
-
|
|
12221
|
+
|
|
12222
|
+
pattern: string
|
|
12223
|
+
|
|
11348
12224
|
flags?: string
|
|
11349
12225
|
} | string)[] | ({
|
|
11350
|
-
|
|
12226
|
+
|
|
12227
|
+
pattern: string
|
|
12228
|
+
|
|
11351
12229
|
flags?: string
|
|
11352
12230
|
} | string))
|
|
11353
12231
|
}
|
|
11354
12232
|
|
|
11355
12233
|
partitionByComment?: (boolean | (({
|
|
11356
|
-
|
|
12234
|
+
|
|
12235
|
+
pattern: string
|
|
12236
|
+
|
|
11357
12237
|
flags?: string
|
|
11358
12238
|
} | string)[] | ({
|
|
11359
|
-
|
|
12239
|
+
|
|
12240
|
+
pattern: string
|
|
12241
|
+
|
|
11360
12242
|
flags?: string
|
|
11361
12243
|
} | string)) | {
|
|
12244
|
+
|
|
11362
12245
|
block?: (boolean | (({
|
|
11363
|
-
|
|
12246
|
+
|
|
12247
|
+
pattern: string
|
|
12248
|
+
|
|
11364
12249
|
flags?: string
|
|
11365
12250
|
} | string)[] | ({
|
|
11366
|
-
|
|
12251
|
+
|
|
12252
|
+
pattern: string
|
|
12253
|
+
|
|
11367
12254
|
flags?: string
|
|
11368
12255
|
} | string)))
|
|
12256
|
+
|
|
11369
12257
|
line?: (boolean | (({
|
|
11370
|
-
|
|
12258
|
+
|
|
12259
|
+
pattern: string
|
|
12260
|
+
|
|
11371
12261
|
flags?: string
|
|
11372
12262
|
} | string)[] | ({
|
|
11373
|
-
|
|
12263
|
+
|
|
12264
|
+
pattern: string
|
|
12265
|
+
|
|
11374
12266
|
flags?: string
|
|
11375
12267
|
} | string)))
|
|
11376
12268
|
})
|
|
@@ -11381,7 +12273,7 @@ type PerfectionistSortSets = {
|
|
|
11381
12273
|
|
|
11382
12274
|
groups?: (string | string[] | {
|
|
11383
12275
|
|
|
11384
|
-
newlinesBetween
|
|
12276
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11385
12277
|
})[]
|
|
11386
12278
|
}[]
|
|
11387
12279
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -11392,7 +12284,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11392
12284
|
order?: ("asc" | "desc")
|
|
11393
12285
|
|
|
11394
12286
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11395
|
-
[k: string]: unknown | undefined
|
|
11396
12287
|
}
|
|
11397
12288
|
|
|
11398
12289
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11408,14 +12299,13 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11408
12299
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11409
12300
|
}]
|
|
11410
12301
|
// ----- perfectionist/sort-union-types -----
|
|
11411
|
-
type PerfectionistSortUnionTypes =
|
|
12302
|
+
type PerfectionistSortUnionTypes = {
|
|
11412
12303
|
|
|
11413
12304
|
fallbackSort?: {
|
|
11414
12305
|
|
|
11415
12306
|
order?: ("asc" | "desc")
|
|
11416
12307
|
|
|
11417
12308
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11418
|
-
[k: string]: unknown | undefined
|
|
11419
12309
|
}
|
|
11420
12310
|
|
|
11421
12311
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11430,25 +12320,103 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11430
12320
|
|
|
11431
12321
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11432
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
|
+
|
|
11433
12387
|
partitionByComment?: (boolean | (({
|
|
11434
|
-
|
|
12388
|
+
|
|
12389
|
+
pattern: string
|
|
12390
|
+
|
|
11435
12391
|
flags?: string
|
|
11436
12392
|
} | string)[] | ({
|
|
11437
|
-
|
|
12393
|
+
|
|
12394
|
+
pattern: string
|
|
12395
|
+
|
|
11438
12396
|
flags?: string
|
|
11439
12397
|
} | string)) | {
|
|
12398
|
+
|
|
11440
12399
|
block?: (boolean | (({
|
|
11441
|
-
|
|
12400
|
+
|
|
12401
|
+
pattern: string
|
|
12402
|
+
|
|
11442
12403
|
flags?: string
|
|
11443
12404
|
} | string)[] | ({
|
|
11444
|
-
|
|
12405
|
+
|
|
12406
|
+
pattern: string
|
|
12407
|
+
|
|
11445
12408
|
flags?: string
|
|
11446
12409
|
} | string)))
|
|
12410
|
+
|
|
11447
12411
|
line?: (boolean | (({
|
|
11448
|
-
|
|
12412
|
+
|
|
12413
|
+
pattern: string
|
|
12414
|
+
|
|
11449
12415
|
flags?: string
|
|
11450
12416
|
} | string)[] | ({
|
|
11451
|
-
|
|
12417
|
+
|
|
12418
|
+
pattern: string
|
|
12419
|
+
|
|
11452
12420
|
flags?: string
|
|
11453
12421
|
} | string)))
|
|
11454
12422
|
})
|
|
@@ -11459,9 +12427,9 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11459
12427
|
|
|
11460
12428
|
groups?: (string | string[] | {
|
|
11461
12429
|
|
|
11462
|
-
newlinesBetween
|
|
12430
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
11463
12431
|
})[]
|
|
11464
|
-
}]
|
|
12432
|
+
}[]
|
|
11465
12433
|
// ----- perfectionist/sort-variable-declarations -----
|
|
11466
12434
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
11467
12435
|
|
|
@@ -11470,7 +12438,6 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11470
12438
|
order?: ("asc" | "desc")
|
|
11471
12439
|
|
|
11472
12440
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11473
|
-
[k: string]: unknown | undefined
|
|
11474
12441
|
}
|
|
11475
12442
|
|
|
11476
12443
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -11485,30 +12452,115 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11485
12452
|
|
|
11486
12453
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11487
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
|
+
|
|
11488
12519
|
partitionByComment?: (boolean | (({
|
|
11489
|
-
|
|
12520
|
+
|
|
12521
|
+
pattern: string
|
|
12522
|
+
|
|
11490
12523
|
flags?: string
|
|
11491
12524
|
} | string)[] | ({
|
|
11492
|
-
|
|
12525
|
+
|
|
12526
|
+
pattern: string
|
|
12527
|
+
|
|
11493
12528
|
flags?: string
|
|
11494
12529
|
} | string)) | {
|
|
12530
|
+
|
|
11495
12531
|
block?: (boolean | (({
|
|
11496
|
-
|
|
12532
|
+
|
|
12533
|
+
pattern: string
|
|
12534
|
+
|
|
11497
12535
|
flags?: string
|
|
11498
12536
|
} | string)[] | ({
|
|
11499
|
-
|
|
12537
|
+
|
|
12538
|
+
pattern: string
|
|
12539
|
+
|
|
11500
12540
|
flags?: string
|
|
11501
12541
|
} | string)))
|
|
12542
|
+
|
|
11502
12543
|
line?: (boolean | (({
|
|
11503
|
-
|
|
12544
|
+
|
|
12545
|
+
pattern: string
|
|
12546
|
+
|
|
11504
12547
|
flags?: string
|
|
11505
12548
|
} | string)[] | ({
|
|
11506
|
-
|
|
12549
|
+
|
|
12550
|
+
pattern: string
|
|
12551
|
+
|
|
11507
12552
|
flags?: string
|
|
11508
12553
|
} | string)))
|
|
11509
12554
|
})
|
|
11510
12555
|
|
|
11511
12556
|
partitionByNewLine?: boolean
|
|
12557
|
+
|
|
12558
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12559
|
+
|
|
12560
|
+
groups?: (string | string[] | {
|
|
12561
|
+
|
|
12562
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
12563
|
+
})[]
|
|
11512
12564
|
}]
|
|
11513
12565
|
// ----- prefer-arrow-callback -----
|
|
11514
12566
|
type PreferArrowCallback = []|[{
|
|
@@ -12584,10 +13636,6 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
12584
13636
|
interface _UnicornImportStyle_BooleanObject {
|
|
12585
13637
|
[k: string]: boolean | undefined
|
|
12586
13638
|
}
|
|
12587
|
-
// ----- unicorn/no-array-push-push -----
|
|
12588
|
-
type UnicornNoArrayPushPush = []|[{
|
|
12589
|
-
ignore?: unknown[]
|
|
12590
|
-
}]
|
|
12591
13639
|
// ----- unicorn/no-array-reduce -----
|
|
12592
13640
|
type UnicornNoArrayReduce = []|[{
|
|
12593
13641
|
allowSimpleOperations?: boolean
|
|
@@ -12683,6 +13731,10 @@ type UnicornPreferNumberProperties = []|[{
|
|
|
12683
13731
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12684
13732
|
functions?: unknown[]
|
|
12685
13733
|
}]
|
|
13734
|
+
// ----- unicorn/prefer-single-call -----
|
|
13735
|
+
type UnicornPreferSingleCall = []|[{
|
|
13736
|
+
ignore?: unknown[]
|
|
13737
|
+
}]
|
|
12686
13738
|
// ----- unicorn/prefer-structured-clone -----
|
|
12687
13739
|
type UnicornPreferStructuredClone = []|[{
|
|
12688
13740
|
functions?: unknown[]
|
|
@@ -12851,6 +13903,7 @@ type YmlFlowSequenceBracketSpacing = []|[("always" | "never")]|[("always" | "nev
|
|
|
12851
13903
|
type YmlIndent = []|[number]|[number, {
|
|
12852
13904
|
indentBlockSequences?: boolean
|
|
12853
13905
|
indicatorValueIndent?: number
|
|
13906
|
+
alignMultilineFlowScalars?: boolean
|
|
12854
13907
|
}]
|
|
12855
13908
|
// ----- yml/key-name-casing -----
|
|
12856
13909
|
type YmlKeyNameCasing = []|[{
|
|
@@ -13179,7 +14232,7 @@ declare function ignores(userIgnores?: string[]): FlatConfigItem[];
|
|
|
13179
14232
|
declare function imports(options?: OptionsHasNextJs): FlatConfigItem[];
|
|
13180
14233
|
|
|
13181
14234
|
declare const restrictedSyntaxJs: string[];
|
|
13182
|
-
declare function javascript(options?:
|
|
14235
|
+
declare function javascript(options?: OptionsOverrides): FlatConfigItem[];
|
|
13183
14236
|
|
|
13184
14237
|
declare function jsdoc(): Promise<FlatConfigItem[]>;
|
|
13185
14238
|
|