@sxzz/eslint-config 4.4.1 → 4.5.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 +416 -364
- package/dist/index.js +1 -1
- package/package.json +16 -16
package/dist/index.d.ts
CHANGED
|
@@ -491,6 +491,11 @@ interface Rules {
|
|
|
491
491
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
492
492
|
*/
|
|
493
493
|
'@typescript-eslint/no-unsafe-return'?: Linter.RuleEntry<[]>;
|
|
494
|
+
/**
|
|
495
|
+
* Disallow type assertions that narrow a type
|
|
496
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
497
|
+
*/
|
|
498
|
+
'@typescript-eslint/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>;
|
|
494
499
|
/**
|
|
495
500
|
* Require unary negation to take a number
|
|
496
501
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -648,6 +653,11 @@ interface Rules {
|
|
|
648
653
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
649
654
|
*/
|
|
650
655
|
'@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>;
|
|
656
|
+
/**
|
|
657
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
658
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
659
|
+
*/
|
|
660
|
+
'@typescript-eslint/related-getter-setter-pairs'?: Linter.RuleEntry<[]>;
|
|
651
661
|
/**
|
|
652
662
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
653
663
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -1043,233 +1053,233 @@ interface Rules {
|
|
|
1043
1053
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
1044
1054
|
/**
|
|
1045
1055
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1046
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1056
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/consistent-type-specifier-style.md
|
|
1047
1057
|
*/
|
|
1048
1058
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
1049
1059
|
/**
|
|
1050
1060
|
* Ensure a default export is present, given a default import.
|
|
1051
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1061
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/default.md
|
|
1052
1062
|
*/
|
|
1053
1063
|
'import/default'?: Linter.RuleEntry<[]>;
|
|
1054
1064
|
/**
|
|
1055
1065
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1056
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1066
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/dynamic-import-chunkname.md
|
|
1057
1067
|
*/
|
|
1058
1068
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
1059
1069
|
/**
|
|
1060
1070
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1061
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1071
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/export.md
|
|
1062
1072
|
*/
|
|
1063
1073
|
'import/export'?: Linter.RuleEntry<[]>;
|
|
1064
1074
|
/**
|
|
1065
1075
|
* Ensure all exports appear after other statements.
|
|
1066
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1076
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/exports-last.md
|
|
1067
1077
|
*/
|
|
1068
1078
|
'import/exports-last'?: Linter.RuleEntry<[]>;
|
|
1069
1079
|
/**
|
|
1070
1080
|
* Ensure consistent use of file extension within the import path.
|
|
1071
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1081
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/extensions.md
|
|
1072
1082
|
*/
|
|
1073
1083
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
|
|
1074
1084
|
/**
|
|
1075
1085
|
* Ensure all imports appear before other statements.
|
|
1076
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1086
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/first.md
|
|
1077
1087
|
*/
|
|
1078
1088
|
'import/first'?: Linter.RuleEntry<ImportFirst>;
|
|
1079
1089
|
/**
|
|
1080
1090
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1081
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1091
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/group-exports.md
|
|
1082
1092
|
*/
|
|
1083
1093
|
'import/group-exports'?: Linter.RuleEntry<[]>;
|
|
1084
1094
|
/**
|
|
1085
1095
|
* Replaced by `import-x/first`.
|
|
1086
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1096
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/imports-first.md
|
|
1087
1097
|
* @deprecated
|
|
1088
1098
|
*/
|
|
1089
1099
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
|
|
1090
1100
|
/**
|
|
1091
1101
|
* Enforce the maximum number of dependencies a module can have.
|
|
1092
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1102
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/max-dependencies.md
|
|
1093
1103
|
*/
|
|
1094
1104
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
1095
1105
|
/**
|
|
1096
1106
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1097
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1107
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/named.md
|
|
1098
1108
|
*/
|
|
1099
1109
|
'import/named'?: Linter.RuleEntry<ImportNamed>;
|
|
1100
1110
|
/**
|
|
1101
1111
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1102
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1112
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/namespace.md
|
|
1103
1113
|
*/
|
|
1104
1114
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
|
|
1105
1115
|
/**
|
|
1106
1116
|
* Enforce a newline after import statements.
|
|
1107
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1117
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/newline-after-import.md
|
|
1108
1118
|
*/
|
|
1109
1119
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
1110
1120
|
/**
|
|
1111
1121
|
* Forbid import of modules using absolute paths.
|
|
1112
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1122
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-absolute-path.md
|
|
1113
1123
|
*/
|
|
1114
1124
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
1115
1125
|
/**
|
|
1116
1126
|
* Forbid AMD `require` and `define` calls.
|
|
1117
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1127
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-amd.md
|
|
1118
1128
|
*/
|
|
1119
1129
|
'import/no-amd'?: Linter.RuleEntry<[]>;
|
|
1120
1130
|
/**
|
|
1121
1131
|
* Forbid anonymous values as default exports.
|
|
1122
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1132
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-anonymous-default-export.md
|
|
1123
1133
|
*/
|
|
1124
1134
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
1125
1135
|
/**
|
|
1126
1136
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1127
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1137
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-commonjs.md
|
|
1128
1138
|
*/
|
|
1129
1139
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
1130
1140
|
/**
|
|
1131
1141
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1132
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1142
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-cycle.md
|
|
1133
1143
|
*/
|
|
1134
1144
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
|
|
1135
1145
|
/**
|
|
1136
1146
|
* Forbid default exports.
|
|
1137
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1147
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-default-export.md
|
|
1138
1148
|
*/
|
|
1139
1149
|
'import/no-default-export'?: Linter.RuleEntry<[]>;
|
|
1140
1150
|
/**
|
|
1141
1151
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1142
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1152
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-deprecated.md
|
|
1143
1153
|
*/
|
|
1144
1154
|
'import/no-deprecated'?: Linter.RuleEntry<[]>;
|
|
1145
1155
|
/**
|
|
1146
1156
|
* Forbid repeated import of the same module in multiple places.
|
|
1147
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1157
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-duplicates.md
|
|
1148
1158
|
*/
|
|
1149
1159
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
1150
1160
|
/**
|
|
1151
1161
|
* Forbid `require()` calls with expressions.
|
|
1152
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1162
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-dynamic-require.md
|
|
1153
1163
|
*/
|
|
1154
1164
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
1155
1165
|
/**
|
|
1156
1166
|
* Forbid empty named import blocks.
|
|
1157
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1167
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-empty-named-blocks.md
|
|
1158
1168
|
*/
|
|
1159
1169
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
|
|
1160
1170
|
/**
|
|
1161
1171
|
* Forbid the use of extraneous packages.
|
|
1162
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1172
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-extraneous-dependencies.md
|
|
1163
1173
|
*/
|
|
1164
1174
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
1165
1175
|
/**
|
|
1166
1176
|
* Forbid import statements with CommonJS module.exports.
|
|
1167
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1177
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-import-module-exports.md
|
|
1168
1178
|
*/
|
|
1169
1179
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
1170
1180
|
/**
|
|
1171
1181
|
* Forbid importing the submodules of other modules.
|
|
1172
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1182
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-internal-modules.md
|
|
1173
1183
|
*/
|
|
1174
1184
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
1175
1185
|
/**
|
|
1176
1186
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1177
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1187
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-mutable-exports.md
|
|
1178
1188
|
*/
|
|
1179
1189
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
|
|
1180
1190
|
/**
|
|
1181
1191
|
* Forbid use of exported name as identifier of default export.
|
|
1182
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1192
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default.md
|
|
1183
1193
|
*/
|
|
1184
1194
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>;
|
|
1185
1195
|
/**
|
|
1186
1196
|
* Forbid use of exported name as property of default export.
|
|
1187
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1197
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default-member.md
|
|
1188
1198
|
*/
|
|
1189
1199
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
|
|
1190
1200
|
/**
|
|
1191
1201
|
* Forbid named default exports.
|
|
1192
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1202
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-default.md
|
|
1193
1203
|
*/
|
|
1194
1204
|
'import/no-named-default'?: Linter.RuleEntry<[]>;
|
|
1195
1205
|
/**
|
|
1196
1206
|
* Forbid named exports.
|
|
1197
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1207
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-export.md
|
|
1198
1208
|
*/
|
|
1199
1209
|
'import/no-named-export'?: Linter.RuleEntry<[]>;
|
|
1200
1210
|
/**
|
|
1201
1211
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1202
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1212
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-namespace.md
|
|
1203
1213
|
*/
|
|
1204
1214
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
|
|
1205
1215
|
/**
|
|
1206
1216
|
* Forbid Node.js builtin modules.
|
|
1207
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1217
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-nodejs-modules.md
|
|
1208
1218
|
*/
|
|
1209
1219
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
1210
1220
|
/**
|
|
1211
1221
|
* Forbid importing packages through relative paths.
|
|
1212
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1222
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-packages.md
|
|
1213
1223
|
*/
|
|
1214
1224
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
1215
1225
|
/**
|
|
1216
1226
|
* Forbid importing modules from parent directories.
|
|
1217
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1227
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-parent-imports.md
|
|
1218
1228
|
*/
|
|
1219
1229
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
1220
1230
|
/**
|
|
1221
1231
|
* Forbid importing a default export by a different name.
|
|
1222
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1232
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-rename-default.md
|
|
1223
1233
|
*/
|
|
1224
1234
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
|
|
1225
1235
|
/**
|
|
1226
1236
|
* Enforce which files can be imported in a given folder.
|
|
1227
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1237
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-restricted-paths.md
|
|
1228
1238
|
*/
|
|
1229
1239
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
1230
1240
|
/**
|
|
1231
1241
|
* Forbid a module from importing itself.
|
|
1232
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1242
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-self-import.md
|
|
1233
1243
|
*/
|
|
1234
1244
|
'import/no-self-import'?: Linter.RuleEntry<[]>;
|
|
1235
1245
|
/**
|
|
1236
1246
|
* Forbid unassigned imports.
|
|
1237
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1247
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unassigned-import.md
|
|
1238
1248
|
*/
|
|
1239
1249
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
1240
1250
|
/**
|
|
1241
1251
|
* Ensure imports point to a file/module that can be resolved.
|
|
1242
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1252
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unresolved.md
|
|
1243
1253
|
*/
|
|
1244
1254
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
1245
1255
|
/**
|
|
1246
1256
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1247
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1257
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unused-modules.md
|
|
1248
1258
|
*/
|
|
1249
1259
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
1250
1260
|
/**
|
|
1251
1261
|
* Forbid unnecessary path segments in import and require statements.
|
|
1252
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1262
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-useless-path-segments.md
|
|
1253
1263
|
*/
|
|
1254
1264
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
1255
1265
|
/**
|
|
1256
1266
|
* Forbid webpack loader syntax in imports.
|
|
1257
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1267
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-webpack-loader-syntax.md
|
|
1258
1268
|
*/
|
|
1259
1269
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
|
|
1260
1270
|
/**
|
|
1261
1271
|
* Enforce a convention in module import order.
|
|
1262
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1272
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/order.md
|
|
1263
1273
|
*/
|
|
1264
1274
|
'import/order'?: Linter.RuleEntry<ImportOrder>;
|
|
1265
1275
|
/**
|
|
1266
1276
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1267
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1277
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/prefer-default-export.md
|
|
1268
1278
|
*/
|
|
1269
1279
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
1270
1280
|
/**
|
|
1271
1281
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1272
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
1282
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/unambiguous.md
|
|
1273
1283
|
*/
|
|
1274
1284
|
'import/unambiguous'?: Linter.RuleEntry<[]>;
|
|
1275
1285
|
/**
|
|
@@ -3034,17 +3044,16 @@ interface Rules {
|
|
|
3034
3044
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
3035
3045
|
*/
|
|
3036
3046
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>;
|
|
3037
|
-
/**
|
|
3038
|
-
* Enforce sorted Astro attributes.
|
|
3039
|
-
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
3040
|
-
* @deprecated
|
|
3041
|
-
*/
|
|
3042
|
-
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>;
|
|
3043
3047
|
/**
|
|
3044
3048
|
* Enforce sorted classes.
|
|
3045
3049
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
3046
3050
|
*/
|
|
3047
3051
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>;
|
|
3052
|
+
/**
|
|
3053
|
+
* Enforce sorted decorators.
|
|
3054
|
+
* @see https://perfectionist.dev/rules/sort-decorators
|
|
3055
|
+
*/
|
|
3056
|
+
'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>;
|
|
3048
3057
|
/**
|
|
3049
3058
|
* Enforce sorted TypeScript enums.
|
|
3050
3059
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
@@ -3055,6 +3064,11 @@ interface Rules {
|
|
|
3055
3064
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
3056
3065
|
*/
|
|
3057
3066
|
'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>;
|
|
3067
|
+
/**
|
|
3068
|
+
* Enforce sorted heritage clauses.
|
|
3069
|
+
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
3070
|
+
*/
|
|
3071
|
+
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
|
|
3058
3072
|
/**
|
|
3059
3073
|
* Enforce sorted imports.
|
|
3060
3074
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -3080,6 +3094,11 @@ interface Rules {
|
|
|
3080
3094
|
* @see https://perfectionist.dev/rules/sort-maps
|
|
3081
3095
|
*/
|
|
3082
3096
|
'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>;
|
|
3097
|
+
/**
|
|
3098
|
+
* Enforce sorted modules.
|
|
3099
|
+
* @see https://perfectionist.dev/rules/sort-modules
|
|
3100
|
+
*/
|
|
3101
|
+
'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>;
|
|
3083
3102
|
/**
|
|
3084
3103
|
* Enforce sorted named exports.
|
|
3085
3104
|
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
@@ -3105,12 +3124,6 @@ interface Rules {
|
|
|
3105
3124
|
* @see https://perfectionist.dev/rules/sort-sets
|
|
3106
3125
|
*/
|
|
3107
3126
|
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>;
|
|
3108
|
-
/**
|
|
3109
|
-
* Enforce sorted Svelte attributes.
|
|
3110
|
-
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
3111
|
-
* @deprecated
|
|
3112
|
-
*/
|
|
3113
|
-
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>;
|
|
3114
3127
|
/**
|
|
3115
3128
|
* Enforce sorted switch cases.
|
|
3116
3129
|
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
@@ -3126,12 +3139,6 @@ interface Rules {
|
|
|
3126
3139
|
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
3127
3140
|
*/
|
|
3128
3141
|
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>;
|
|
3129
|
-
/**
|
|
3130
|
-
* Enforce sorted Vue attributes.
|
|
3131
|
-
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
3132
|
-
* @deprecated
|
|
3133
|
-
*/
|
|
3134
|
-
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>;
|
|
3135
3142
|
/**
|
|
3136
3143
|
* Require using arrow functions for callbacks
|
|
3137
3144
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -3769,702 +3776,702 @@ interface Rules {
|
|
|
3769
3776
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
3770
3777
|
/**
|
|
3771
3778
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
3772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3779
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
3773
3780
|
*/
|
|
3774
3781
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
3775
3782
|
/**
|
|
3776
3783
|
* Enforce a specific parameter name in catch clauses.
|
|
3777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
3778
3785
|
*/
|
|
3779
3786
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
3780
3787
|
/**
|
|
3781
3788
|
* Use destructured variables over properties.
|
|
3782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
3783
3790
|
*/
|
|
3784
3791
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
3785
3792
|
/**
|
|
3786
3793
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
3788
3795
|
*/
|
|
3789
3796
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
3790
3797
|
/**
|
|
3791
3798
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
3793
3800
|
*/
|
|
3794
3801
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
3795
3802
|
/**
|
|
3796
3803
|
* Move function definitions to the highest possible scope.
|
|
3797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
3798
3805
|
*/
|
|
3799
3806
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
3800
3807
|
/**
|
|
3801
3808
|
* Enforce correct `Error` subclassing.
|
|
3802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
3803
3810
|
*/
|
|
3804
3811
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
3805
3812
|
/**
|
|
3806
3813
|
* Enforce no spaces between braces.
|
|
3807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
3808
3815
|
*/
|
|
3809
3816
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
3810
3817
|
/**
|
|
3811
3818
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
3813
3820
|
*/
|
|
3814
3821
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
3815
3822
|
/**
|
|
3816
3823
|
* Require escape sequences to use uppercase values.
|
|
3817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
3818
3825
|
*/
|
|
3819
3826
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>;
|
|
3820
3827
|
/**
|
|
3821
3828
|
* Add expiration conditions to TODO comments.
|
|
3822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
3823
3830
|
*/
|
|
3824
3831
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
3825
3832
|
/**
|
|
3826
3833
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
3828
3835
|
*/
|
|
3829
3836
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
3830
3837
|
/**
|
|
3831
3838
|
* Enforce a case style for filenames.
|
|
3832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
3833
3840
|
*/
|
|
3834
3841
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
3835
3842
|
/**
|
|
3836
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
3837
3844
|
* @deprecated
|
|
3838
3845
|
*/
|
|
3839
3846
|
'unicorn/import-index'?: Linter.RuleEntry<[]>;
|
|
3840
3847
|
/**
|
|
3841
3848
|
* Enforce specific import styles per module.
|
|
3842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
3843
3850
|
*/
|
|
3844
3851
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
3845
3852
|
/**
|
|
3846
3853
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
3847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
3848
3855
|
*/
|
|
3849
3856
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
3850
3857
|
/**
|
|
3851
3858
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
3853
3860
|
*/
|
|
3854
3861
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
3855
3862
|
/**
|
|
3856
3863
|
* Disallow anonymous functions and classes as the default export.
|
|
3857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
3858
3865
|
*/
|
|
3859
3866
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
3860
3867
|
/**
|
|
3861
3868
|
* Prevent passing a function reference directly to iterator methods.
|
|
3862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
3863
3870
|
*/
|
|
3864
3871
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
3865
3872
|
/**
|
|
3866
3873
|
* Prefer `for…of` over the `forEach` method.
|
|
3867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
3868
3875
|
*/
|
|
3869
3876
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
3870
3877
|
/**
|
|
3871
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
3872
3879
|
* @deprecated
|
|
3873
3880
|
*/
|
|
3874
3881
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>;
|
|
3875
3882
|
/**
|
|
3876
3883
|
* Disallow using the `this` argument in array methods.
|
|
3877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
3878
3885
|
*/
|
|
3879
3886
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
3880
3887
|
/**
|
|
3881
3888
|
* Enforce combining multiple `Array#push()` into one call.
|
|
3882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
3883
3890
|
*/
|
|
3884
3891
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>;
|
|
3885
3892
|
/**
|
|
3886
3893
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
3887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
3888
3895
|
*/
|
|
3889
3896
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
3890
3897
|
/**
|
|
3891
3898
|
* Disallow member access from await expression.
|
|
3892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
3893
3900
|
*/
|
|
3894
3901
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
3895
3902
|
/**
|
|
3896
3903
|
* Disallow using `await` in `Promise` method parameters.
|
|
3897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
3898
3905
|
*/
|
|
3899
3906
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
3900
3907
|
/**
|
|
3901
3908
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
3902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
3903
3910
|
*/
|
|
3904
3911
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
3905
3912
|
/**
|
|
3906
3913
|
* Do not use `document.cookie` directly.
|
|
3907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3914
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
3908
3915
|
*/
|
|
3909
3916
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
3910
3917
|
/**
|
|
3911
3918
|
* Disallow empty files.
|
|
3912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
3913
3920
|
*/
|
|
3914
3921
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
3915
3922
|
/**
|
|
3916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
3917
3924
|
* @deprecated
|
|
3918
3925
|
*/
|
|
3919
3926
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>;
|
|
3920
3927
|
/**
|
|
3921
3928
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
3922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
3923
3930
|
*/
|
|
3924
3931
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
3925
3932
|
/**
|
|
3926
3933
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
3927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
3928
3935
|
*/
|
|
3929
3936
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
3930
3937
|
/**
|
|
3931
3938
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
3932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
3933
3940
|
*/
|
|
3934
3941
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
3935
3942
|
/**
|
|
3936
3943
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
3937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
3938
3945
|
*/
|
|
3939
3946
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
3940
3947
|
/**
|
|
3941
3948
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
3942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
3943
3950
|
*/
|
|
3944
3951
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
3945
3952
|
/**
|
|
3946
3953
|
* Disallow identifiers starting with `new` or `class`.
|
|
3947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
3948
3955
|
*/
|
|
3949
3956
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
3950
3957
|
/**
|
|
3951
3958
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
3952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
3953
3960
|
*/
|
|
3954
3961
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
3955
3962
|
/**
|
|
3956
3963
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
3957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
3958
3965
|
*/
|
|
3959
3966
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
3960
3967
|
/**
|
|
3961
3968
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
3962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
3963
3970
|
*/
|
|
3964
3971
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
3965
3972
|
/**
|
|
3966
3973
|
* Disallow negated conditions.
|
|
3967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
3968
3975
|
*/
|
|
3969
3976
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
3970
3977
|
/**
|
|
3971
3978
|
* Disallow negated expression in equality check.
|
|
3972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
3973
3980
|
*/
|
|
3974
3981
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
3975
3982
|
/**
|
|
3976
3983
|
* Disallow nested ternary expressions.
|
|
3977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
3978
3985
|
*/
|
|
3979
3986
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
3980
3987
|
/**
|
|
3981
3988
|
* Disallow `new Array()`.
|
|
3982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
3983
3990
|
*/
|
|
3984
3991
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
3985
3992
|
/**
|
|
3986
3993
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
3987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
3988
3995
|
*/
|
|
3989
3996
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
3990
3997
|
/**
|
|
3991
3998
|
* Disallow the use of the `null` literal.
|
|
3992
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
3993
4000
|
*/
|
|
3994
4001
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
3995
4002
|
/**
|
|
3996
4003
|
* Disallow the use of objects as default parameters.
|
|
3997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
3998
4005
|
*/
|
|
3999
4006
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
4000
4007
|
/**
|
|
4001
4008
|
* Disallow `process.exit()`.
|
|
4002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
4003
4010
|
*/
|
|
4004
4011
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
4005
4012
|
/**
|
|
4006
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4013
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
4007
4014
|
* @deprecated
|
|
4008
4015
|
*/
|
|
4009
4016
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>;
|
|
4010
4017
|
/**
|
|
4011
4018
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
4013
4020
|
*/
|
|
4014
4021
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
4015
4022
|
/**
|
|
4016
4023
|
* Disallow classes that only have static members.
|
|
4017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
4018
4025
|
*/
|
|
4019
4026
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
4020
4027
|
/**
|
|
4021
4028
|
* Disallow `then` property.
|
|
4022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
4023
4030
|
*/
|
|
4024
4031
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
4025
4032
|
/**
|
|
4026
4033
|
* Disallow assigning `this` to a variable.
|
|
4027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
4028
4035
|
*/
|
|
4029
4036
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
4030
4037
|
/**
|
|
4031
4038
|
* Disallow comparing `undefined` using `typeof`.
|
|
4032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
4033
4040
|
*/
|
|
4034
4041
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
4035
4042
|
/**
|
|
4036
4043
|
* Disallow awaiting non-promise values.
|
|
4037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
4038
4045
|
*/
|
|
4039
4046
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
4040
4047
|
/**
|
|
4041
4048
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
4043
4050
|
*/
|
|
4044
4051
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
4045
4052
|
/**
|
|
4046
4053
|
* Disallow unreadable array destructuring.
|
|
4047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
4048
4055
|
*/
|
|
4049
4056
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
4050
4057
|
/**
|
|
4051
4058
|
* Disallow unreadable IIFEs.
|
|
4052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
4053
4060
|
*/
|
|
4054
4061
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
4055
4062
|
/**
|
|
4056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4063
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
4057
4064
|
* @deprecated
|
|
4058
4065
|
*/
|
|
4059
4066
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>;
|
|
4060
4067
|
/**
|
|
4061
4068
|
* Disallow unused object properties.
|
|
4062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
4063
4070
|
*/
|
|
4064
4071
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
4065
4072
|
/**
|
|
4066
4073
|
* Disallow useless fallback when spreading in object literals.
|
|
4067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
4068
4075
|
*/
|
|
4069
4076
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
4070
4077
|
/**
|
|
4071
4078
|
* Disallow useless array length check.
|
|
4072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
4073
4080
|
*/
|
|
4074
4081
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
4075
4082
|
/**
|
|
4076
4083
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
4078
4085
|
*/
|
|
4079
4086
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
4080
4087
|
/**
|
|
4081
4088
|
* Disallow unnecessary spread.
|
|
4082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
4083
4090
|
*/
|
|
4084
4091
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
4085
4092
|
/**
|
|
4086
4093
|
* Disallow useless case in switch statements.
|
|
4087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
4088
4095
|
*/
|
|
4089
4096
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
4090
4097
|
/**
|
|
4091
4098
|
* Disallow useless `undefined`.
|
|
4092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
4093
4100
|
*/
|
|
4094
4101
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
4095
4102
|
/**
|
|
4096
4103
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
4098
4105
|
*/
|
|
4099
4106
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
4100
4107
|
/**
|
|
4101
4108
|
* Enforce proper case for numeric literals.
|
|
4102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
4103
4110
|
*/
|
|
4104
4111
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>;
|
|
4105
4112
|
/**
|
|
4106
4113
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
4108
4115
|
*/
|
|
4109
4116
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
4110
4117
|
/**
|
|
4111
4118
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
4113
4120
|
*/
|
|
4114
4121
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
4115
4122
|
/**
|
|
4116
4123
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
4118
4125
|
*/
|
|
4119
4126
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
4120
4127
|
/**
|
|
4121
4128
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
4123
4130
|
*/
|
|
4124
4131
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
4125
4132
|
/**
|
|
4126
4133
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
4128
4135
|
*/
|
|
4129
4136
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
4130
4137
|
/**
|
|
4131
4138
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
4133
4140
|
*/
|
|
4134
4141
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
4135
4142
|
/**
|
|
4136
4143
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
4138
4145
|
*/
|
|
4139
4146
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
4140
4147
|
/**
|
|
4141
4148
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
4143
4150
|
*/
|
|
4144
4151
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
4145
4152
|
/**
|
|
4146
4153
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
4148
4155
|
*/
|
|
4149
4156
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
4150
4157
|
/**
|
|
4151
4158
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
4153
4160
|
*/
|
|
4154
4161
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
4155
4162
|
/**
|
|
4156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
4157
4164
|
* @deprecated
|
|
4158
4165
|
*/
|
|
4159
4166
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>;
|
|
4160
4167
|
/**
|
|
4161
4168
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
4163
4170
|
*/
|
|
4164
4171
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
4165
4172
|
/**
|
|
4166
4173
|
* Prefer default parameters over reassignment.
|
|
4167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
4168
4175
|
*/
|
|
4169
4176
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
4170
4177
|
/**
|
|
4171
4178
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
4173
4180
|
*/
|
|
4174
4181
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
4175
4182
|
/**
|
|
4176
4183
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
4178
4185
|
*/
|
|
4179
4186
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
4180
4187
|
/**
|
|
4181
4188
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
4183
4190
|
*/
|
|
4184
4191
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
4185
4192
|
/**
|
|
4186
4193
|
* Prefer `.textContent` over `.innerText`.
|
|
4187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
4188
4195
|
*/
|
|
4189
4196
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
4190
4197
|
/**
|
|
4191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4198
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
4192
4199
|
* @deprecated
|
|
4193
4200
|
*/
|
|
4194
4201
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>;
|
|
4195
4202
|
/**
|
|
4196
4203
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
4198
4205
|
*/
|
|
4199
4206
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
4200
4207
|
/**
|
|
4201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4208
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4202
4209
|
* @deprecated
|
|
4203
4210
|
*/
|
|
4204
4211
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>;
|
|
4205
4212
|
/**
|
|
4206
4213
|
* Prefer `export…from` when re-exporting.
|
|
4207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
4208
4215
|
*/
|
|
4209
4216
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
4210
4217
|
/**
|
|
4211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4218
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
4212
4219
|
* @deprecated
|
|
4213
4220
|
*/
|
|
4214
4221
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>;
|
|
4215
4222
|
/**
|
|
4216
4223
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
4218
4225
|
*/
|
|
4219
4226
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
4220
4227
|
/**
|
|
4221
4228
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
4223
4230
|
*/
|
|
4224
4231
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
4225
4232
|
/**
|
|
4226
4233
|
* Prefer reading a JSON file as a buffer.
|
|
4227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
4228
4235
|
*/
|
|
4229
4236
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
4230
4237
|
/**
|
|
4231
4238
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
4233
4240
|
*/
|
|
4234
4241
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
4235
4242
|
/**
|
|
4236
4243
|
* Prefer using a logical operator over a ternary.
|
|
4237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4238
4245
|
*/
|
|
4239
4246
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
4240
4247
|
/**
|
|
4241
4248
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
4243
4250
|
*/
|
|
4244
4251
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
4245
4252
|
/**
|
|
4246
4253
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
4248
4255
|
*/
|
|
4249
4256
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
4250
4257
|
/**
|
|
4251
4258
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
4253
4260
|
*/
|
|
4254
4261
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
4255
4262
|
/**
|
|
4256
4263
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
4258
4265
|
*/
|
|
4259
4266
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
4260
4267
|
/**
|
|
4261
4268
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
4263
4270
|
*/
|
|
4264
4271
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
4265
4272
|
/**
|
|
4266
4273
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
4268
4275
|
*/
|
|
4269
4276
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
4270
4277
|
/**
|
|
4271
4278
|
* Prefer negative index over `.length - index` when possible.
|
|
4272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
4273
4280
|
*/
|
|
4274
4281
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
4275
4282
|
/**
|
|
4276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4283
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
4277
4284
|
* @deprecated
|
|
4278
4285
|
*/
|
|
4279
4286
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>;
|
|
4280
4287
|
/**
|
|
4281
4288
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
4283
4290
|
*/
|
|
4284
4291
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
4285
4292
|
/**
|
|
4286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4293
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
4287
4294
|
* @deprecated
|
|
4288
4295
|
*/
|
|
4289
4296
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>;
|
|
4290
4297
|
/**
|
|
4291
4298
|
* Prefer `Number` static properties over global ones.
|
|
4292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
4293
4300
|
*/
|
|
4294
4301
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
4295
4302
|
/**
|
|
4296
4303
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
4298
4305
|
*/
|
|
4299
4306
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
4300
4307
|
/**
|
|
4301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4308
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
4302
4309
|
* @deprecated
|
|
4303
4310
|
*/
|
|
4304
4311
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>;
|
|
4305
4312
|
/**
|
|
4306
4313
|
* Prefer omitting the `catch` binding parameter.
|
|
4307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
4308
4315
|
*/
|
|
4309
4316
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
4310
4317
|
/**
|
|
4311
4318
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
4313
4320
|
*/
|
|
4314
4321
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
4315
4322
|
/**
|
|
4316
4323
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
4318
4325
|
*/
|
|
4319
4326
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
4320
4327
|
/**
|
|
4321
4328
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
4323
4330
|
*/
|
|
4324
4331
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
4325
4332
|
/**
|
|
4326
4333
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
4328
4335
|
*/
|
|
4329
4336
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
4330
4337
|
/**
|
|
4331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4338
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
4332
4339
|
* @deprecated
|
|
4333
4340
|
*/
|
|
4334
4341
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>;
|
|
4335
4342
|
/**
|
|
4336
4343
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
4338
4345
|
*/
|
|
4339
4346
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
4340
4347
|
/**
|
|
4341
4348
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
4343
4350
|
*/
|
|
4344
4351
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
4345
4352
|
/**
|
|
4346
4353
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
4348
4355
|
*/
|
|
4349
4356
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
4350
4357
|
/**
|
|
4351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4358
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
4352
4359
|
* @deprecated
|
|
4353
4360
|
*/
|
|
4354
4361
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
4355
4362
|
/**
|
|
4356
4363
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
4358
4365
|
*/
|
|
4359
4366
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
4360
4367
|
/**
|
|
4361
4368
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
4363
4370
|
*/
|
|
4364
4371
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
4365
4372
|
/**
|
|
4366
4373
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
4368
4375
|
*/
|
|
4369
4376
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
4370
4377
|
/**
|
|
4371
4378
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
4373
4380
|
*/
|
|
4374
4381
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
4375
4382
|
/**
|
|
4376
4383
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
4378
4385
|
*/
|
|
4379
4386
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
4380
4387
|
/**
|
|
4381
4388
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
4383
4390
|
*/
|
|
4384
4391
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
4385
4392
|
/**
|
|
4386
4393
|
* Prefer `switch` over multiple `else-if`.
|
|
4387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
4388
4395
|
*/
|
|
4389
4396
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
4390
4397
|
/**
|
|
4391
4398
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
4393
4400
|
*/
|
|
4394
4401
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
4395
4402
|
/**
|
|
4396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4403
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
4397
4404
|
* @deprecated
|
|
4398
4405
|
*/
|
|
4399
4406
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>;
|
|
4400
4407
|
/**
|
|
4401
4408
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4409
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
4403
4410
|
*/
|
|
4404
4411
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
4405
4412
|
/**
|
|
4406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4413
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
4407
4414
|
* @deprecated
|
|
4408
4415
|
*/
|
|
4409
4416
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
4410
4417
|
/**
|
|
4411
4418
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4419
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
4413
4420
|
*/
|
|
4414
4421
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
4415
4422
|
/**
|
|
4416
4423
|
* Prevent abbreviations.
|
|
4417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
4418
4425
|
*/
|
|
4419
4426
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
4420
4427
|
/**
|
|
4421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4428
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
4422
4429
|
* @deprecated
|
|
4423
4430
|
*/
|
|
4424
4431
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>;
|
|
4425
4432
|
/**
|
|
4426
4433
|
* Enforce consistent relative URL style.
|
|
4427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
4428
4435
|
*/
|
|
4429
4436
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
4430
4437
|
/**
|
|
4431
4438
|
* Enforce using the separator argument with `Array#join()`.
|
|
4432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4439
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
4433
4440
|
*/
|
|
4434
4441
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
4435
4442
|
/**
|
|
4436
4443
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4438
4445
|
*/
|
|
4439
4446
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
4440
4447
|
/**
|
|
4441
4448
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
4443
4450
|
*/
|
|
4444
4451
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
4445
4452
|
/**
|
|
4446
4453
|
* Enforce better string content.
|
|
4447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
4448
4455
|
*/
|
|
4449
4456
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
4450
4457
|
/**
|
|
4451
4458
|
* Enforce consistent brace style for `case` clauses.
|
|
4452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
4453
4460
|
*/
|
|
4454
4461
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
4455
4462
|
/**
|
|
4456
4463
|
* Fix whitespace-insensitive template indentation.
|
|
4457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
4458
4465
|
*/
|
|
4459
4466
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
4460
4467
|
/**
|
|
4461
4468
|
* Enforce consistent case for text encoding identifiers.
|
|
4462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
4463
4470
|
*/
|
|
4464
4471
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
4465
4472
|
/**
|
|
4466
4473
|
* Require `new` when creating an error.
|
|
4467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
4468
4475
|
*/
|
|
4469
4476
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
4470
4477
|
/**
|
|
@@ -5406,6 +5413,11 @@ interface Rules {
|
|
|
5406
5413
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
5407
5414
|
*/
|
|
5408
5415
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>;
|
|
5416
|
+
/**
|
|
5417
|
+
* require using `useTemplateRef` instead of `ref` for template refs
|
|
5418
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
5419
|
+
*/
|
|
5420
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>;
|
|
5409
5421
|
/**
|
|
5410
5422
|
* enforce specific casing for the Prop name in Vue components
|
|
5411
5423
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -6396,6 +6408,7 @@ type TypescriptEslintNoConfusingVoidExpression = [] | [
|
|
|
6396
6408
|
{
|
|
6397
6409
|
ignoreArrowShorthand?: boolean;
|
|
6398
6410
|
ignoreVoidOperator?: boolean;
|
|
6411
|
+
ignoreVoidReturningFunctions?: boolean;
|
|
6399
6412
|
}
|
|
6400
6413
|
];
|
|
6401
6414
|
type TypescriptEslintNoDuplicateTypeConstituents = [] | [
|
|
@@ -7199,12 +7212,12 @@ type ImportExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] | [
|
|
|
7199
7212
|
checkTypeImports?: boolean;
|
|
7200
7213
|
[k: string]: unknown | undefined;
|
|
7201
7214
|
}
|
|
7202
|
-
] | [] | [
|
|
7215
|
+
] | [] | [("always" | "ignorePackages" | "never")] | [
|
|
7216
|
+
("always" | "ignorePackages" | "never"),
|
|
7203
7217
|
{
|
|
7204
7218
|
[k: string]: ("always" | "ignorePackages" | "never");
|
|
7205
7219
|
}
|
|
7206
|
-
] | [] | [
|
|
7207
|
-
("always" | "ignorePackages" | "never"),
|
|
7220
|
+
] | [] | [
|
|
7208
7221
|
{
|
|
7209
7222
|
[k: string]: ("always" | "ignorePackages" | "never");
|
|
7210
7223
|
}
|
|
@@ -9407,6 +9420,7 @@ type NodeNoRestrictedRequire = [] | [
|
|
|
9407
9420
|
type NodeNoSync = [] | [
|
|
9408
9421
|
{
|
|
9409
9422
|
allowAtRootLevel?: boolean;
|
|
9423
|
+
ignores?: string[];
|
|
9410
9424
|
}
|
|
9411
9425
|
];
|
|
9412
9426
|
type NodeNoUnpublishedBin = [] | [
|
|
@@ -9488,7 +9502,7 @@ type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [
|
|
|
9488
9502
|
{
|
|
9489
9503
|
version?: string;
|
|
9490
9504
|
allowExperimental?: boolean;
|
|
9491
|
-
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.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.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.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.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" | "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.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")[];
|
|
9505
|
+
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.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" | "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")[];
|
|
9492
9506
|
}
|
|
9493
9507
|
];
|
|
9494
9508
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -9639,109 +9653,132 @@ type PaddingLineBetweenStatements = {
|
|
|
9639
9653
|
}[];
|
|
9640
9654
|
type PerfectionistSortArrayIncludes = [] | [
|
|
9641
9655
|
{
|
|
9642
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9643
|
-
order?: ("asc" | "desc");
|
|
9644
|
-
matcher?: ("minimatch" | "regex");
|
|
9645
|
-
ignoreCase?: boolean;
|
|
9646
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9647
|
-
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
9648
9656
|
partitionByComment?: (string[] | boolean | string);
|
|
9657
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
9649
9658
|
partitionByNewLine?: boolean;
|
|
9650
|
-
}
|
|
9651
|
-
];
|
|
9652
|
-
type PerfectionistSortAstroAttributes = [] | [
|
|
9653
|
-
{
|
|
9654
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9655
|
-
order?: ("asc" | "desc");
|
|
9656
|
-
matcher?: ("minimatch" | "regex");
|
|
9657
|
-
ignoreCase?: boolean;
|
|
9658
9659
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9660
|
+
ignoreCase?: boolean;
|
|
9661
|
+
locales?: (string | string[]);
|
|
9662
|
+
order?: ("asc" | "desc");
|
|
9663
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9663
9664
|
}
|
|
9664
9665
|
];
|
|
9665
9666
|
type PerfectionistSortClasses = [] | [
|
|
9666
9667
|
{
|
|
9667
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9668
|
-
order?: ("asc" | "desc");
|
|
9669
|
-
matcher?: ("minimatch" | "regex");
|
|
9670
|
-
ignoreCase?: boolean;
|
|
9671
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9672
|
-
partitionByComment?: (string[] | boolean | string);
|
|
9673
|
-
groups?: (string | string[])[];
|
|
9674
9668
|
customGroups?: ({
|
|
9675
|
-
[k: string]: (string | string[]) | undefined;
|
|
9676
|
-
} | ({
|
|
9677
9669
|
groupName?: string;
|
|
9678
9670
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
9679
9671
|
order?: ("desc" | "asc");
|
|
9680
9672
|
anyOf?: {
|
|
9681
|
-
|
|
9682
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
|
|
9683
|
-
elementNamePattern?: string;
|
|
9673
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
|
|
9684
9674
|
elementValuePattern?: string;
|
|
9685
9675
|
decoratorNamePattern?: string;
|
|
9676
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
|
|
9677
|
+
elementNamePattern?: string;
|
|
9686
9678
|
}[];
|
|
9687
9679
|
} | {
|
|
9688
9680
|
groupName?: string;
|
|
9689
9681
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
9690
9682
|
order?: ("desc" | "asc");
|
|
9691
|
-
|
|
9692
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
|
|
9693
|
-
elementNamePattern?: string;
|
|
9683
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
|
|
9694
9684
|
elementValuePattern?: string;
|
|
9695
9685
|
decoratorNamePattern?: string;
|
|
9696
|
-
|
|
9686
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
|
|
9687
|
+
elementNamePattern?: string;
|
|
9688
|
+
})[];
|
|
9689
|
+
ignoreCallbackDependenciesPatterns?: string[];
|
|
9690
|
+
partitionByComment?: (string[] | boolean | string);
|
|
9691
|
+
partitionByNewLine?: boolean;
|
|
9692
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9693
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9694
|
+
ignoreCase?: boolean;
|
|
9695
|
+
locales?: (string | string[]);
|
|
9696
|
+
groups?: (string | string[])[];
|
|
9697
|
+
order?: ("asc" | "desc");
|
|
9698
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9697
9699
|
}
|
|
9698
9700
|
];
|
|
9699
|
-
type
|
|
9701
|
+
type PerfectionistSortDecorators = [] | [
|
|
9700
9702
|
{
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9703
|
+
partitionByComment?: (string[] | boolean | string);
|
|
9704
|
+
sortOnParameters?: boolean;
|
|
9705
|
+
sortOnProperties?: boolean;
|
|
9706
|
+
sortOnAccessors?: boolean;
|
|
9707
|
+
sortOnMethods?: boolean;
|
|
9708
|
+
sortOnClasses?: boolean;
|
|
9705
9709
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9706
|
-
|
|
9707
|
-
|
|
9710
|
+
customGroups?: {
|
|
9711
|
+
[k: string]: (string | string[]) | undefined;
|
|
9712
|
+
};
|
|
9713
|
+
ignoreCase?: boolean;
|
|
9714
|
+
locales?: (string | string[]);
|
|
9715
|
+
groups?: (string | string[])[];
|
|
9716
|
+
order?: ("asc" | "desc");
|
|
9717
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9718
|
+
}
|
|
9719
|
+
];
|
|
9720
|
+
type PerfectionistSortEnums = [] | [
|
|
9721
|
+
{
|
|
9708
9722
|
partitionByComment?: (string[] | boolean | string);
|
|
9723
|
+
forceNumericSort?: boolean;
|
|
9724
|
+
sortByValue?: boolean;
|
|
9709
9725
|
partitionByNewLine?: boolean;
|
|
9726
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9727
|
+
ignoreCase?: boolean;
|
|
9728
|
+
locales?: (string | string[]);
|
|
9729
|
+
order?: ("asc" | "desc");
|
|
9730
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9710
9731
|
}
|
|
9711
9732
|
];
|
|
9712
9733
|
type PerfectionistSortExports = [] | [
|
|
9713
9734
|
{
|
|
9714
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9715
|
-
order?: ("asc" | "desc");
|
|
9716
|
-
matcher?: ("minimatch" | "regex");
|
|
9717
|
-
ignoreCase?: boolean;
|
|
9718
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9719
9735
|
partitionByComment?: (string[] | boolean | string);
|
|
9720
|
-
partitionByNewLine?: boolean;
|
|
9721
9736
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
9737
|
+
partitionByNewLine?: boolean;
|
|
9738
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9739
|
+
ignoreCase?: boolean;
|
|
9740
|
+
locales?: (string | string[]);
|
|
9741
|
+
order?: ("asc" | "desc");
|
|
9742
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9743
|
+
}
|
|
9744
|
+
];
|
|
9745
|
+
type PerfectionistSortHeritageClauses = [] | [
|
|
9746
|
+
{
|
|
9747
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9748
|
+
customGroups?: {
|
|
9749
|
+
[k: string]: (string | string[]) | undefined;
|
|
9750
|
+
};
|
|
9751
|
+
ignoreCase?: boolean;
|
|
9752
|
+
locales?: (string | string[]);
|
|
9753
|
+
groups?: (string | string[])[];
|
|
9754
|
+
order?: ("asc" | "desc");
|
|
9755
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9722
9756
|
}
|
|
9723
9757
|
];
|
|
9724
9758
|
type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
|
|
9725
9759
|
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9726
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9727
|
-
order?: ("asc" | "desc");
|
|
9728
|
-
matcher?: ("minimatch" | "regex");
|
|
9729
|
-
ignoreCase?: boolean;
|
|
9730
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9731
|
-
internalPattern?: string[];
|
|
9732
|
-
sortSideEffects?: boolean;
|
|
9733
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9734
|
-
maxLineLength?: number;
|
|
9735
|
-
groups?: (string | string[])[];
|
|
9736
9760
|
customGroups?: {
|
|
9737
|
-
|
|
9761
|
+
value?: {
|
|
9738
9762
|
[k: string]: unknown | undefined;
|
|
9739
9763
|
};
|
|
9740
|
-
|
|
9764
|
+
type?: {
|
|
9741
9765
|
[k: string]: unknown | undefined;
|
|
9742
9766
|
};
|
|
9743
9767
|
};
|
|
9768
|
+
partitionByComment?: (string[] | boolean | string);
|
|
9769
|
+
internalPattern?: string[];
|
|
9770
|
+
maxLineLength?: number;
|
|
9771
|
+
sortSideEffects?: boolean;
|
|
9744
9772
|
environment?: ("node" | "bun");
|
|
9773
|
+
tsconfigRootDir?: string;
|
|
9774
|
+
partitionByNewLine?: boolean;
|
|
9775
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9776
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9777
|
+
ignoreCase?: boolean;
|
|
9778
|
+
locales?: (string | string[]);
|
|
9779
|
+
groups?: (string | string[])[];
|
|
9780
|
+
order?: ("asc" | "desc");
|
|
9781
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9745
9782
|
});
|
|
9746
9783
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
9747
9784
|
[k: string]: unknown | undefined;
|
|
@@ -9752,184 +9789,198 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
9752
9789
|
}
|
|
9753
9790
|
type PerfectionistSortInterfaces = [] | [
|
|
9754
9791
|
{
|
|
9755
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9756
|
-
order?: ("asc" | "desc");
|
|
9757
|
-
matcher?: ("minimatch" | "regex");
|
|
9758
|
-
ignoreCase?: boolean;
|
|
9759
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9760
9792
|
ignorePattern?: string[];
|
|
9761
|
-
partitionByComment?: (
|
|
9762
|
-
partitionByNewLine?: boolean;
|
|
9793
|
+
partitionByComment?: (string[] | boolean | string);
|
|
9763
9794
|
groupKind?: ("mixed" | "optional-first" | "required-first");
|
|
9764
|
-
|
|
9795
|
+
partitionByNewLine?: boolean;
|
|
9796
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9797
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9765
9798
|
customGroups?: {
|
|
9766
9799
|
[k: string]: (string | string[]) | undefined;
|
|
9767
9800
|
};
|
|
9801
|
+
ignoreCase?: boolean;
|
|
9802
|
+
locales?: (string | string[]);
|
|
9803
|
+
groups?: (string | string[])[];
|
|
9804
|
+
order?: ("asc" | "desc");
|
|
9805
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9768
9806
|
}
|
|
9769
9807
|
];
|
|
9770
9808
|
type PerfectionistSortIntersectionTypes = [] | [
|
|
9771
9809
|
{
|
|
9772
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9773
|
-
order?: ("asc" | "desc");
|
|
9774
|
-
matcher?: ("minimatch" | "regex");
|
|
9775
|
-
ignoreCase?: boolean;
|
|
9776
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9777
|
-
groups?: (string | string[])[];
|
|
9778
9810
|
partitionByComment?: (string[] | boolean | string);
|
|
9779
9811
|
partitionByNewLine?: boolean;
|
|
9812
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9813
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9814
|
+
ignoreCase?: boolean;
|
|
9815
|
+
locales?: (string | string[]);
|
|
9816
|
+
groups?: (string | string[])[];
|
|
9817
|
+
order?: ("asc" | "desc");
|
|
9818
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9780
9819
|
}
|
|
9781
9820
|
];
|
|
9782
9821
|
type PerfectionistSortJsxProps = [] | [
|
|
9783
9822
|
{
|
|
9784
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9785
|
-
order?: ("asc" | "desc");
|
|
9786
|
-
matcher?: ("minimatch" | "regex");
|
|
9787
|
-
ignoreCase?: boolean;
|
|
9788
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9789
9823
|
ignorePattern?: string[];
|
|
9790
|
-
|
|
9824
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9791
9825
|
customGroups?: {
|
|
9792
9826
|
[k: string]: (string | string[]) | undefined;
|
|
9793
9827
|
};
|
|
9828
|
+
ignoreCase?: boolean;
|
|
9829
|
+
locales?: (string | string[]);
|
|
9830
|
+
groups?: (string | string[])[];
|
|
9831
|
+
order?: ("asc" | "desc");
|
|
9832
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9794
9833
|
}
|
|
9795
9834
|
];
|
|
9796
9835
|
type PerfectionistSortMaps = [] | [
|
|
9797
9836
|
{
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
matcher?: ("minimatch" | "regex");
|
|
9801
|
-
ignoreCase?: boolean;
|
|
9837
|
+
partitionByComment?: (string[] | boolean | string);
|
|
9838
|
+
partitionByNewLine?: boolean;
|
|
9802
9839
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9840
|
+
ignoreCase?: boolean;
|
|
9841
|
+
locales?: (string | string[]);
|
|
9842
|
+
order?: ("asc" | "desc");
|
|
9843
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9844
|
+
}
|
|
9845
|
+
];
|
|
9846
|
+
type PerfectionistSortModules = [] | [
|
|
9847
|
+
{
|
|
9848
|
+
customGroups?: ({
|
|
9849
|
+
groupName?: string;
|
|
9850
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
9851
|
+
order?: ("desc" | "asc");
|
|
9852
|
+
anyOf?: {
|
|
9853
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
|
|
9854
|
+
elementValuePattern?: string;
|
|
9855
|
+
decoratorNamePattern?: string;
|
|
9856
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class");
|
|
9857
|
+
elementNamePattern?: string;
|
|
9858
|
+
}[];
|
|
9859
|
+
} | {
|
|
9860
|
+
groupName?: string;
|
|
9861
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
|
|
9862
|
+
order?: ("desc" | "asc");
|
|
9863
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
|
|
9864
|
+
elementValuePattern?: string;
|
|
9865
|
+
decoratorNamePattern?: string;
|
|
9866
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class");
|
|
9867
|
+
elementNamePattern?: string;
|
|
9868
|
+
})[];
|
|
9803
9869
|
partitionByComment?: (string[] | boolean | string);
|
|
9804
9870
|
partitionByNewLine?: boolean;
|
|
9871
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9872
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9873
|
+
ignoreCase?: boolean;
|
|
9874
|
+
locales?: (string | string[]);
|
|
9875
|
+
groups?: (string | string[])[];
|
|
9876
|
+
order?: ("asc" | "desc");
|
|
9877
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9805
9878
|
}
|
|
9806
9879
|
];
|
|
9807
9880
|
type PerfectionistSortNamedExports = [] | [
|
|
9808
9881
|
{
|
|
9809
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9810
|
-
order?: ("asc" | "desc");
|
|
9811
|
-
matcher?: ("minimatch" | "regex");
|
|
9812
|
-
ignoreCase?: boolean;
|
|
9813
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9814
|
-
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
9815
9882
|
partitionByComment?: (string[] | boolean | string);
|
|
9883
|
+
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
9816
9884
|
partitionByNewLine?: boolean;
|
|
9885
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9886
|
+
ignoreCase?: boolean;
|
|
9887
|
+
locales?: (string | string[]);
|
|
9888
|
+
order?: ("asc" | "desc");
|
|
9889
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9817
9890
|
}
|
|
9818
9891
|
];
|
|
9819
9892
|
type PerfectionistSortNamedImports = [] | [
|
|
9820
9893
|
{
|
|
9821
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9822
|
-
order?: ("asc" | "desc");
|
|
9823
|
-
matcher?: ("minimatch" | "regex");
|
|
9824
|
-
ignoreCase?: boolean;
|
|
9825
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9826
|
-
ignoreAlias?: boolean;
|
|
9827
|
-
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
9828
9894
|
partitionByComment?: (string[] | boolean | string);
|
|
9895
|
+
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
9896
|
+
ignoreAlias?: boolean;
|
|
9829
9897
|
partitionByNewLine?: boolean;
|
|
9898
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9899
|
+
ignoreCase?: boolean;
|
|
9900
|
+
locales?: (string | string[]);
|
|
9901
|
+
order?: ("asc" | "desc");
|
|
9902
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9830
9903
|
}
|
|
9831
9904
|
];
|
|
9832
9905
|
type PerfectionistSortObjectTypes = [] | [
|
|
9833
9906
|
{
|
|
9834
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9835
|
-
order?: ("asc" | "desc");
|
|
9836
|
-
matcher?: ("minimatch" | "regex");
|
|
9837
|
-
ignoreCase?: boolean;
|
|
9838
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9839
9907
|
partitionByComment?: (string[] | boolean | string);
|
|
9840
|
-
partitionByNewLine?: boolean;
|
|
9841
9908
|
groupKind?: ("mixed" | "required-first" | "optional-first");
|
|
9842
|
-
|
|
9909
|
+
partitionByNewLine?: boolean;
|
|
9910
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9911
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9843
9912
|
customGroups?: {
|
|
9844
9913
|
[k: string]: (string | string[]) | undefined;
|
|
9845
9914
|
};
|
|
9915
|
+
ignoreCase?: boolean;
|
|
9916
|
+
locales?: (string | string[]);
|
|
9917
|
+
groups?: (string | string[])[];
|
|
9918
|
+
order?: ("asc" | "desc");
|
|
9919
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9846
9920
|
}
|
|
9847
9921
|
];
|
|
9848
9922
|
type PerfectionistSortObjects = [] | [
|
|
9849
9923
|
{
|
|
9850
|
-
|
|
9851
|
-
order?: ("asc" | "desc");
|
|
9852
|
-
matcher?: ("minimatch" | "regex");
|
|
9853
|
-
ignoreCase?: boolean;
|
|
9854
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9924
|
+
ignorePattern?: string[];
|
|
9855
9925
|
partitionByComment?: (string[] | boolean | string);
|
|
9856
|
-
partitionByNewLine?: boolean;
|
|
9857
|
-
styledComponents?: boolean;
|
|
9858
9926
|
destructureOnly?: boolean;
|
|
9859
|
-
|
|
9860
|
-
|
|
9927
|
+
styledComponents?: boolean;
|
|
9928
|
+
partitionByNewLine?: boolean;
|
|
9929
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9930
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9861
9931
|
customGroups?: {
|
|
9862
9932
|
[k: string]: (string | string[]) | undefined;
|
|
9863
9933
|
};
|
|
9934
|
+
ignoreCase?: boolean;
|
|
9935
|
+
locales?: (string | string[]);
|
|
9936
|
+
groups?: (string | string[])[];
|
|
9937
|
+
order?: ("asc" | "desc");
|
|
9938
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9864
9939
|
}
|
|
9865
9940
|
];
|
|
9866
9941
|
type PerfectionistSortSets = [] | [
|
|
9867
9942
|
{
|
|
9868
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9869
|
-
order?: ("asc" | "desc");
|
|
9870
|
-
matcher?: ("minimatch" | "regex");
|
|
9871
|
-
ignoreCase?: boolean;
|
|
9872
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9873
|
-
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
9874
9943
|
partitionByComment?: (string[] | boolean | string);
|
|
9944
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
9875
9945
|
partitionByNewLine?: boolean;
|
|
9876
|
-
}
|
|
9877
|
-
];
|
|
9878
|
-
type PerfectionistSortSvelteAttributes = [] | [
|
|
9879
|
-
{
|
|
9880
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9881
|
-
order?: ("asc" | "desc");
|
|
9882
|
-
matcher?: ("minimatch" | "regex");
|
|
9883
|
-
ignoreCase?: boolean;
|
|
9884
9946
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
|
|
9888
|
-
|
|
9947
|
+
ignoreCase?: boolean;
|
|
9948
|
+
locales?: (string | string[]);
|
|
9949
|
+
order?: ("asc" | "desc");
|
|
9950
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9889
9951
|
}
|
|
9890
9952
|
];
|
|
9891
9953
|
type PerfectionistSortSwitchCase = [] | [
|
|
9892
9954
|
{
|
|
9893
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9894
|
-
order?: ("asc" | "desc");
|
|
9895
|
-
ignoreCase?: boolean;
|
|
9896
9955
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9956
|
+
ignoreCase?: boolean;
|
|
9957
|
+
locales?: (string | string[]);
|
|
9958
|
+
order?: ("asc" | "desc");
|
|
9959
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9897
9960
|
}
|
|
9898
9961
|
];
|
|
9899
9962
|
type PerfectionistSortUnionTypes = [] | [
|
|
9900
9963
|
{
|
|
9901
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9902
|
-
order?: ("asc" | "desc");
|
|
9903
|
-
matcher?: ("minimatch" | "regex");
|
|
9904
|
-
ignoreCase?: boolean;
|
|
9905
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9906
|
-
groups?: (string | string[])[];
|
|
9907
9964
|
partitionByComment?: (string[] | boolean | string);
|
|
9908
9965
|
partitionByNewLine?: boolean;
|
|
9966
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9967
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9968
|
+
ignoreCase?: boolean;
|
|
9969
|
+
locales?: (string | string[]);
|
|
9970
|
+
groups?: (string | string[])[];
|
|
9971
|
+
order?: ("asc" | "desc");
|
|
9972
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9909
9973
|
}
|
|
9910
9974
|
];
|
|
9911
9975
|
type PerfectionistSortVariableDeclarations = [] | [
|
|
9912
9976
|
{
|
|
9913
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9914
|
-
order?: ("asc" | "desc");
|
|
9915
|
-
matcher?: ("minimatch" | "regex");
|
|
9916
|
-
ignoreCase?: boolean;
|
|
9917
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9918
9977
|
partitionByComment?: (string[] | boolean | string);
|
|
9919
9978
|
partitionByNewLine?: boolean;
|
|
9920
|
-
}
|
|
9921
|
-
];
|
|
9922
|
-
type PerfectionistSortVueAttributes = [] | [
|
|
9923
|
-
{
|
|
9924
|
-
type?: ("alphabetical" | "natural" | "line-length");
|
|
9925
|
-
order?: ("asc" | "desc");
|
|
9926
|
-
matcher?: ("minimatch" | "regex");
|
|
9927
|
-
ignoreCase?: boolean;
|
|
9928
9979
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9980
|
+
ignoreCase?: boolean;
|
|
9981
|
+
locales?: (string | string[]);
|
|
9982
|
+
order?: ("asc" | "desc");
|
|
9983
|
+
type?: ("alphabetical" | "natural" | "line-length");
|
|
9933
9984
|
}
|
|
9934
9985
|
];
|
|
9935
9986
|
type PreferArrowCallback = [] | [
|
|
@@ -11433,6 +11484,7 @@ type VueNoReservedComponentNames = [] | [
|
|
|
11433
11484
|
{
|
|
11434
11485
|
disallowVueBuiltInComponents?: boolean;
|
|
11435
11486
|
disallowVue3BuiltInComponents?: boolean;
|
|
11487
|
+
htmlElementCaseSensitive?: boolean;
|
|
11436
11488
|
}
|
|
11437
11489
|
];
|
|
11438
11490
|
type VueNoReservedKeys = [] | [
|