@sxzz/eslint-config 6.0.3 → 6.1.1
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 +186 -234
- package/dist/index.js +13 -4
- package/package.json +14 -14
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Linter } from 'eslint';
|
|
2
2
|
export { default as pluginAntfu } from 'eslint-plugin-antfu';
|
|
3
3
|
export { default as pluginSxzz } from 'eslint-plugin-sxzz';
|
|
4
4
|
export { default as pluginMarkdown } from '@eslint/markdown';
|
|
@@ -29,10 +29,7 @@ import * as yamlEslintParser from 'yaml-eslint-parser';
|
|
|
29
29
|
export { yamlEslintParser as parserYml };
|
|
30
30
|
import * as jsoncEslintParser from 'jsonc-eslint-parser';
|
|
31
31
|
export { jsoncEslintParser as parserJsonc };
|
|
32
|
-
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
33
|
-
import type { Arrayable, Awaitable } from 'eslint-flat-config-utils';
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
import { Awaitable, Arrayable, FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
36
33
|
|
|
37
34
|
interface Rules {
|
|
38
35
|
/**
|
|
@@ -1075,233 +1072,233 @@ interface Rules {
|
|
|
1075
1072
|
"implicit-arrow-linebreak"?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
1076
1073
|
/**
|
|
1077
1074
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1078
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1075
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/consistent-type-specifier-style.md
|
|
1079
1076
|
*/
|
|
1080
1077
|
"import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
1081
1078
|
/**
|
|
1082
1079
|
* Ensure a default export is present, given a default import.
|
|
1083
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1080
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/default.md
|
|
1084
1081
|
*/
|
|
1085
1082
|
"import/default"?: Linter.RuleEntry<[]>;
|
|
1086
1083
|
/**
|
|
1087
1084
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1088
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1085
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/dynamic-import-chunkname.md
|
|
1089
1086
|
*/
|
|
1090
1087
|
"import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
1091
1088
|
/**
|
|
1092
1089
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1093
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1090
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/export.md
|
|
1094
1091
|
*/
|
|
1095
1092
|
"import/export"?: Linter.RuleEntry<[]>;
|
|
1096
1093
|
/**
|
|
1097
1094
|
* Ensure all exports appear after other statements.
|
|
1098
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1095
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/exports-last.md
|
|
1099
1096
|
*/
|
|
1100
1097
|
"import/exports-last"?: Linter.RuleEntry<[]>;
|
|
1101
1098
|
/**
|
|
1102
1099
|
* Ensure consistent use of file extension within the import path.
|
|
1103
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1100
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/extensions.md
|
|
1104
1101
|
*/
|
|
1105
1102
|
"import/extensions"?: Linter.RuleEntry<ImportExtensions>;
|
|
1106
1103
|
/**
|
|
1107
1104
|
* Ensure all imports appear before other statements.
|
|
1108
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1105
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/first.md
|
|
1109
1106
|
*/
|
|
1110
1107
|
"import/first"?: Linter.RuleEntry<ImportFirst>;
|
|
1111
1108
|
/**
|
|
1112
1109
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1113
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1110
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/group-exports.md
|
|
1114
1111
|
*/
|
|
1115
1112
|
"import/group-exports"?: Linter.RuleEntry<[]>;
|
|
1116
1113
|
/**
|
|
1117
1114
|
* Replaced by `import-x/first`.
|
|
1118
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1115
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/imports-first.md
|
|
1119
1116
|
* @deprecated
|
|
1120
1117
|
*/
|
|
1121
1118
|
"import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
|
|
1122
1119
|
/**
|
|
1123
1120
|
* Enforce the maximum number of dependencies a module can have.
|
|
1124
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1121
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/max-dependencies.md
|
|
1125
1122
|
*/
|
|
1126
1123
|
"import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
1127
1124
|
/**
|
|
1128
1125
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1129
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1126
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/named.md
|
|
1130
1127
|
*/
|
|
1131
1128
|
"import/named"?: Linter.RuleEntry<ImportNamed>;
|
|
1132
1129
|
/**
|
|
1133
1130
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1134
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1131
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/namespace.md
|
|
1135
1132
|
*/
|
|
1136
1133
|
"import/namespace"?: Linter.RuleEntry<ImportNamespace>;
|
|
1137
1134
|
/**
|
|
1138
1135
|
* Enforce a newline after import statements.
|
|
1139
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1136
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/newline-after-import.md
|
|
1140
1137
|
*/
|
|
1141
1138
|
"import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
1142
1139
|
/**
|
|
1143
1140
|
* Forbid import of modules using absolute paths.
|
|
1144
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1141
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-absolute-path.md
|
|
1145
1142
|
*/
|
|
1146
1143
|
"import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
1147
1144
|
/**
|
|
1148
1145
|
* Forbid AMD `require` and `define` calls.
|
|
1149
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1146
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-amd.md
|
|
1150
1147
|
*/
|
|
1151
1148
|
"import/no-amd"?: Linter.RuleEntry<[]>;
|
|
1152
1149
|
/**
|
|
1153
1150
|
* Forbid anonymous values as default exports.
|
|
1154
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1151
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-anonymous-default-export.md
|
|
1155
1152
|
*/
|
|
1156
1153
|
"import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
1157
1154
|
/**
|
|
1158
1155
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1159
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1156
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-commonjs.md
|
|
1160
1157
|
*/
|
|
1161
1158
|
"import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
1162
1159
|
/**
|
|
1163
1160
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1164
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1161
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-cycle.md
|
|
1165
1162
|
*/
|
|
1166
1163
|
"import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
|
|
1167
1164
|
/**
|
|
1168
1165
|
* Forbid default exports.
|
|
1169
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1166
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-default-export.md
|
|
1170
1167
|
*/
|
|
1171
1168
|
"import/no-default-export"?: Linter.RuleEntry<[]>;
|
|
1172
1169
|
/**
|
|
1173
1170
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1174
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1171
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-deprecated.md
|
|
1175
1172
|
*/
|
|
1176
1173
|
"import/no-deprecated"?: Linter.RuleEntry<[]>;
|
|
1177
1174
|
/**
|
|
1178
1175
|
* Forbid repeated import of the same module in multiple places.
|
|
1179
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1176
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-duplicates.md
|
|
1180
1177
|
*/
|
|
1181
1178
|
"import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
1182
1179
|
/**
|
|
1183
1180
|
* Forbid `require()` calls with expressions.
|
|
1184
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1181
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-dynamic-require.md
|
|
1185
1182
|
*/
|
|
1186
1183
|
"import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
1187
1184
|
/**
|
|
1188
1185
|
* Forbid empty named import blocks.
|
|
1189
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1186
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-empty-named-blocks.md
|
|
1190
1187
|
*/
|
|
1191
1188
|
"import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
|
|
1192
1189
|
/**
|
|
1193
1190
|
* Forbid the use of extraneous packages.
|
|
1194
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1191
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-extraneous-dependencies.md
|
|
1195
1192
|
*/
|
|
1196
1193
|
"import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
1197
1194
|
/**
|
|
1198
1195
|
* Forbid import statements with CommonJS module.exports.
|
|
1199
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1196
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-import-module-exports.md
|
|
1200
1197
|
*/
|
|
1201
1198
|
"import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
1202
1199
|
/**
|
|
1203
1200
|
* Forbid importing the submodules of other modules.
|
|
1204
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1201
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-internal-modules.md
|
|
1205
1202
|
*/
|
|
1206
1203
|
"import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
1207
1204
|
/**
|
|
1208
1205
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1209
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1206
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-mutable-exports.md
|
|
1210
1207
|
*/
|
|
1211
1208
|
"import/no-mutable-exports"?: Linter.RuleEntry<[]>;
|
|
1212
1209
|
/**
|
|
1213
1210
|
* Forbid use of exported name as identifier of default export.
|
|
1214
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1211
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-as-default.md
|
|
1215
1212
|
*/
|
|
1216
1213
|
"import/no-named-as-default"?: Linter.RuleEntry<[]>;
|
|
1217
1214
|
/**
|
|
1218
1215
|
* Forbid use of exported name as property of default export.
|
|
1219
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1216
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-as-default-member.md
|
|
1220
1217
|
*/
|
|
1221
1218
|
"import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
|
|
1222
1219
|
/**
|
|
1223
1220
|
* Forbid named default exports.
|
|
1224
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1221
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-default.md
|
|
1225
1222
|
*/
|
|
1226
1223
|
"import/no-named-default"?: Linter.RuleEntry<[]>;
|
|
1227
1224
|
/**
|
|
1228
1225
|
* Forbid named exports.
|
|
1229
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1226
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-export.md
|
|
1230
1227
|
*/
|
|
1231
1228
|
"import/no-named-export"?: Linter.RuleEntry<[]>;
|
|
1232
1229
|
/**
|
|
1233
1230
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1234
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1231
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-namespace.md
|
|
1235
1232
|
*/
|
|
1236
1233
|
"import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
|
|
1237
1234
|
/**
|
|
1238
1235
|
* Forbid Node.js builtin modules.
|
|
1239
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1236
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-nodejs-modules.md
|
|
1240
1237
|
*/
|
|
1241
1238
|
"import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
1242
1239
|
/**
|
|
1243
1240
|
* Forbid importing packages through relative paths.
|
|
1244
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1241
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-relative-packages.md
|
|
1245
1242
|
*/
|
|
1246
1243
|
"import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
1247
1244
|
/**
|
|
1248
1245
|
* Forbid importing modules from parent directories.
|
|
1249
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1246
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-relative-parent-imports.md
|
|
1250
1247
|
*/
|
|
1251
1248
|
"import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
1252
1249
|
/**
|
|
1253
1250
|
* Forbid importing a default export by a different name.
|
|
1254
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1251
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-rename-default.md
|
|
1255
1252
|
*/
|
|
1256
1253
|
"import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
|
|
1257
1254
|
/**
|
|
1258
1255
|
* Enforce which files can be imported in a given folder.
|
|
1259
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1256
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-restricted-paths.md
|
|
1260
1257
|
*/
|
|
1261
1258
|
"import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
1262
1259
|
/**
|
|
1263
1260
|
* Forbid a module from importing itself.
|
|
1264
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1261
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-self-import.md
|
|
1265
1262
|
*/
|
|
1266
1263
|
"import/no-self-import"?: Linter.RuleEntry<[]>;
|
|
1267
1264
|
/**
|
|
1268
1265
|
* Forbid unassigned imports.
|
|
1269
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1266
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unassigned-import.md
|
|
1270
1267
|
*/
|
|
1271
1268
|
"import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
1272
1269
|
/**
|
|
1273
1270
|
* Ensure imports point to a file/module that can be resolved.
|
|
1274
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1271
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unresolved.md
|
|
1275
1272
|
*/
|
|
1276
1273
|
"import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
1277
1274
|
/**
|
|
1278
1275
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1279
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1276
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unused-modules.md
|
|
1280
1277
|
*/
|
|
1281
1278
|
"import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
1282
1279
|
/**
|
|
1283
1280
|
* Forbid unnecessary path segments in import and require statements.
|
|
1284
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1281
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-useless-path-segments.md
|
|
1285
1282
|
*/
|
|
1286
1283
|
"import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
1287
1284
|
/**
|
|
1288
1285
|
* Forbid webpack loader syntax in imports.
|
|
1289
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1286
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-webpack-loader-syntax.md
|
|
1290
1287
|
*/
|
|
1291
1288
|
"import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
|
|
1292
1289
|
/**
|
|
1293
1290
|
* Enforce a convention in module import order.
|
|
1294
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1291
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/order.md
|
|
1295
1292
|
*/
|
|
1296
1293
|
"import/order"?: Linter.RuleEntry<ImportOrder>;
|
|
1297
1294
|
/**
|
|
1298
1295
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1299
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1296
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/prefer-default-export.md
|
|
1300
1297
|
*/
|
|
1301
1298
|
"import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
1302
1299
|
/**
|
|
1303
1300
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1304
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.
|
|
1301
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/unambiguous.md
|
|
1305
1302
|
*/
|
|
1306
1303
|
"import/unambiguous"?: Linter.RuleEntry<[]>;
|
|
1307
1304
|
/**
|
|
@@ -3828,642 +3825,643 @@ interface Rules {
|
|
|
3828
3825
|
"unicode-bom"?: Linter.RuleEntry<UnicodeBom>;
|
|
3829
3826
|
/**
|
|
3830
3827
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
3831
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3828
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/better-regex.md
|
|
3832
3829
|
*/
|
|
3833
3830
|
"unicorn/better-regex"?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
3834
3831
|
/**
|
|
3835
3832
|
* Enforce a specific parameter name in catch clauses.
|
|
3836
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3833
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/catch-error-name.md
|
|
3837
3834
|
*/
|
|
3838
3835
|
"unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
3839
3836
|
/**
|
|
3840
3837
|
* Enforce consistent assertion style with `node:assert`.
|
|
3841
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3838
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-assert.md
|
|
3842
3839
|
*/
|
|
3843
3840
|
"unicorn/consistent-assert"?: Linter.RuleEntry<[]>;
|
|
3844
3841
|
/**
|
|
3845
3842
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
3846
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-date-clone.md
|
|
3847
3844
|
*/
|
|
3848
3845
|
"unicorn/consistent-date-clone"?: Linter.RuleEntry<[]>;
|
|
3849
3846
|
/**
|
|
3850
3847
|
* Use destructured variables over properties.
|
|
3851
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3848
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-destructuring.md
|
|
3852
3849
|
*/
|
|
3853
3850
|
"unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
|
|
3854
3851
|
/**
|
|
3855
3852
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3856
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3853
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-empty-array-spread.md
|
|
3857
3854
|
*/
|
|
3858
3855
|
"unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
|
|
3859
3856
|
/**
|
|
3860
3857
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3861
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3858
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-existence-index-check.md
|
|
3862
3859
|
*/
|
|
3863
3860
|
"unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
|
|
3864
3861
|
/**
|
|
3865
3862
|
* Move function definitions to the highest possible scope.
|
|
3866
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3863
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-function-scoping.md
|
|
3867
3864
|
*/
|
|
3868
3865
|
"unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
3869
3866
|
/**
|
|
3870
3867
|
* Enforce correct `Error` subclassing.
|
|
3871
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3868
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/custom-error-definition.md
|
|
3872
3869
|
*/
|
|
3873
3870
|
"unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
|
|
3874
3871
|
/**
|
|
3875
3872
|
* Enforce no spaces between braces.
|
|
3876
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3873
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/empty-brace-spaces.md
|
|
3877
3874
|
*/
|
|
3878
3875
|
"unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
|
|
3879
3876
|
/**
|
|
3880
3877
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3881
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/error-message.md
|
|
3882
3879
|
*/
|
|
3883
3880
|
"unicorn/error-message"?: Linter.RuleEntry<[]>;
|
|
3884
3881
|
/**
|
|
3885
|
-
* Require escape sequences to use uppercase values.
|
|
3886
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3882
|
+
* Require escape sequences to use uppercase or lowercase values.
|
|
3883
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/escape-case.md
|
|
3887
3884
|
*/
|
|
3888
|
-
"unicorn/escape-case"?: Linter.RuleEntry<
|
|
3885
|
+
"unicorn/escape-case"?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
3889
3886
|
/**
|
|
3890
3887
|
* Add expiration conditions to TODO comments.
|
|
3891
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3888
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/expiring-todo-comments.md
|
|
3892
3889
|
*/
|
|
3893
3890
|
"unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
3894
3891
|
/**
|
|
3895
3892
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3896
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3893
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/explicit-length-check.md
|
|
3897
3894
|
*/
|
|
3898
3895
|
"unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
3899
3896
|
/**
|
|
3900
3897
|
* Enforce a case style for filenames.
|
|
3901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/filename-case.md
|
|
3902
3899
|
*/
|
|
3903
3900
|
"unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
3904
3901
|
/**
|
|
3905
3902
|
* Enforce specific import styles per module.
|
|
3906
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3903
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/import-style.md
|
|
3907
3904
|
*/
|
|
3908
3905
|
"unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
|
|
3909
3906
|
/**
|
|
3910
3907
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
3911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3908
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/new-for-builtins.md
|
|
3912
3909
|
*/
|
|
3913
3910
|
"unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
|
|
3914
3911
|
/**
|
|
3915
3912
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
3917
3914
|
*/
|
|
3918
3915
|
"unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
|
|
3919
3916
|
/**
|
|
3920
3917
|
* Disallow recursive access to `this` within getters and setters.
|
|
3921
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-accessor-recursion.md
|
|
3922
3919
|
*/
|
|
3923
3920
|
"unicorn/no-accessor-recursion"?: Linter.RuleEntry<[]>;
|
|
3924
3921
|
/**
|
|
3925
3922
|
* Disallow anonymous functions and classes as the default export.
|
|
3926
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-anonymous-default-export.md
|
|
3927
3924
|
*/
|
|
3928
3925
|
"unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
|
|
3929
3926
|
/**
|
|
3930
3927
|
* Prevent passing a function reference directly to iterator methods.
|
|
3931
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-callback-reference.md
|
|
3932
3929
|
*/
|
|
3933
3930
|
"unicorn/no-array-callback-reference"?: Linter.RuleEntry<[]>;
|
|
3934
3931
|
/**
|
|
3935
3932
|
* Prefer `for…of` over the `forEach` method.
|
|
3936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-for-each.md
|
|
3937
3934
|
*/
|
|
3938
3935
|
"unicorn/no-array-for-each"?: Linter.RuleEntry<[]>;
|
|
3939
3936
|
/**
|
|
3940
3937
|
* Disallow using the `this` argument in array methods.
|
|
3941
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-method-this-argument.md
|
|
3942
3939
|
*/
|
|
3943
3940
|
"unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
|
|
3944
3941
|
/**
|
|
3945
3942
|
* Enforce combining multiple `Array#push()` into one call.
|
|
3946
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-push-push.md
|
|
3947
3944
|
*/
|
|
3948
3945
|
"unicorn/no-array-push-push"?: Linter.RuleEntry<UnicornNoArrayPushPush>;
|
|
3949
3946
|
/**
|
|
3950
3947
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
3951
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-reduce.md
|
|
3952
3949
|
*/
|
|
3953
3950
|
"unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
3954
3951
|
/**
|
|
3955
3952
|
* Disallow member access from await expression.
|
|
3956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-expression-member.md
|
|
3957
3954
|
*/
|
|
3958
3955
|
"unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
|
|
3959
3956
|
/**
|
|
3960
3957
|
* Disallow using `await` in `Promise` method parameters.
|
|
3961
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-in-promise-methods.md
|
|
3962
3959
|
*/
|
|
3963
3960
|
"unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
|
|
3964
3961
|
/**
|
|
3965
3962
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
3966
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-console-spaces.md
|
|
3967
3964
|
*/
|
|
3968
3965
|
"unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
|
|
3969
3966
|
/**
|
|
3970
3967
|
* Do not use `document.cookie` directly.
|
|
3971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3968
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-document-cookie.md
|
|
3972
3969
|
*/
|
|
3973
3970
|
"unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
|
|
3974
3971
|
/**
|
|
3975
3972
|
* Disallow empty files.
|
|
3976
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3973
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-empty-file.md
|
|
3977
3974
|
*/
|
|
3978
3975
|
"unicorn/no-empty-file"?: Linter.RuleEntry<[]>;
|
|
3979
3976
|
/**
|
|
3980
3977
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
3981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-for-loop.md
|
|
3982
3979
|
*/
|
|
3983
3980
|
"unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
|
|
3984
3981
|
/**
|
|
3985
3982
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
3986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3983
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-hex-escape.md
|
|
3987
3984
|
*/
|
|
3988
3985
|
"unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
|
|
3989
3986
|
/**
|
|
3990
|
-
*
|
|
3987
|
+
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
3988
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/deprecated-rules.md#no-instanceof-array
|
|
3991
3989
|
* @deprecated
|
|
3992
3990
|
*/
|
|
3993
3991
|
"unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
|
|
3994
3992
|
/**
|
|
3995
3993
|
* Disallow `instanceof` with built-in objects
|
|
3996
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-instanceof-builtins.md
|
|
3997
3995
|
*/
|
|
3998
3996
|
"unicorn/no-instanceof-builtins"?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
3999
3997
|
/**
|
|
4000
3998
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-fetch-options.md
|
|
4002
4000
|
*/
|
|
4003
4001
|
"unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
|
|
4004
4002
|
/**
|
|
4005
4003
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4006
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4007
4005
|
*/
|
|
4008
4006
|
"unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
|
|
4009
4007
|
/**
|
|
4010
4008
|
* Disallow identifiers starting with `new` or `class`.
|
|
4011
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-keyword-prefix.md
|
|
4012
4010
|
*/
|
|
4013
4011
|
"unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
4014
4012
|
/**
|
|
4015
4013
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4016
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-length-as-slice-end.md
|
|
4017
4015
|
*/
|
|
4018
4016
|
"unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
|
|
4019
4017
|
/**
|
|
4020
4018
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-lonely-if.md
|
|
4022
4020
|
*/
|
|
4023
4021
|
"unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
|
|
4024
4022
|
/**
|
|
4025
4023
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4026
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
4027
4025
|
*/
|
|
4028
4026
|
"unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
|
|
4029
4027
|
/**
|
|
4030
4028
|
* Disallow named usage of default import and export.
|
|
4031
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-named-default.md
|
|
4032
4030
|
*/
|
|
4033
4031
|
"unicorn/no-named-default"?: Linter.RuleEntry<[]>;
|
|
4034
4032
|
/**
|
|
4035
4033
|
* Disallow negated conditions.
|
|
4036
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negated-condition.md
|
|
4037
4035
|
*/
|
|
4038
4036
|
"unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
|
|
4039
4037
|
/**
|
|
4040
4038
|
* Disallow negated expression in equality check.
|
|
4041
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negation-in-equality-check.md
|
|
4042
4040
|
*/
|
|
4043
4041
|
"unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
|
|
4044
4042
|
/**
|
|
4045
4043
|
* Disallow nested ternary expressions.
|
|
4046
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-nested-ternary.md
|
|
4047
4045
|
*/
|
|
4048
4046
|
"unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
|
|
4049
4047
|
/**
|
|
4050
4048
|
* Disallow `new Array()`.
|
|
4051
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-array.md
|
|
4052
4050
|
*/
|
|
4053
4051
|
"unicorn/no-new-array"?: Linter.RuleEntry<[]>;
|
|
4054
4052
|
/**
|
|
4055
4053
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-buffer.md
|
|
4057
4055
|
*/
|
|
4058
4056
|
"unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
|
|
4059
4057
|
/**
|
|
4060
4058
|
* Disallow the use of the `null` literal.
|
|
4061
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-null.md
|
|
4062
4060
|
*/
|
|
4063
4061
|
"unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
|
|
4064
4062
|
/**
|
|
4065
4063
|
* Disallow the use of objects as default parameters.
|
|
4066
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4067
4065
|
*/
|
|
4068
4066
|
"unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
|
|
4069
4067
|
/**
|
|
4070
4068
|
* Disallow `process.exit()`.
|
|
4071
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-process-exit.md
|
|
4072
4070
|
*/
|
|
4073
4071
|
"unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
|
|
4074
4072
|
/**
|
|
4075
4073
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4077
4075
|
*/
|
|
4078
4076
|
"unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
|
|
4079
4077
|
/**
|
|
4080
4078
|
* Disallow classes that only have static members.
|
|
4081
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-static-only-class.md
|
|
4082
4080
|
*/
|
|
4083
4081
|
"unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
|
|
4084
4082
|
/**
|
|
4085
4083
|
* Disallow `then` property.
|
|
4086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-thenable.md
|
|
4087
4085
|
*/
|
|
4088
4086
|
"unicorn/no-thenable"?: Linter.RuleEntry<[]>;
|
|
4089
4087
|
/**
|
|
4090
4088
|
* Disallow assigning `this` to a variable.
|
|
4091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-this-assignment.md
|
|
4092
4090
|
*/
|
|
4093
4091
|
"unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
|
|
4094
4092
|
/**
|
|
4095
4093
|
* Disallow comparing `undefined` using `typeof`.
|
|
4096
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-typeof-undefined.md
|
|
4097
4095
|
*/
|
|
4098
4096
|
"unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
4099
4097
|
/**
|
|
4100
4098
|
* Disallow awaiting non-promise values.
|
|
4101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-await.md
|
|
4102
4100
|
*/
|
|
4103
4101
|
"unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
|
|
4104
4102
|
/**
|
|
4105
4103
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4106
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4107
4105
|
*/
|
|
4108
4106
|
"unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
4109
4107
|
/**
|
|
4110
4108
|
* Disallow unreadable array destructuring.
|
|
4111
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4112
4110
|
*/
|
|
4113
4111
|
"unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<[]>;
|
|
4114
4112
|
/**
|
|
4115
4113
|
* Disallow unreadable IIFEs.
|
|
4116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-iife.md
|
|
4117
4115
|
*/
|
|
4118
4116
|
"unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
|
|
4119
4117
|
/**
|
|
4120
4118
|
* Disallow unused object properties.
|
|
4121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unused-properties.md
|
|
4122
4120
|
*/
|
|
4123
4121
|
"unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
|
|
4124
4122
|
/**
|
|
4125
4123
|
* Disallow useless fallback when spreading in object literals.
|
|
4126
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4127
4125
|
*/
|
|
4128
4126
|
"unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
|
|
4129
4127
|
/**
|
|
4130
4128
|
* Disallow useless array length check.
|
|
4131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-length-check.md
|
|
4132
4130
|
*/
|
|
4133
4131
|
"unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
|
|
4134
4132
|
/**
|
|
4135
4133
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4137
4135
|
*/
|
|
4138
4136
|
"unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
|
|
4139
4137
|
/**
|
|
4140
4138
|
* Disallow unnecessary spread.
|
|
4141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-spread.md
|
|
4142
4140
|
*/
|
|
4143
4141
|
"unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
|
|
4144
4142
|
/**
|
|
4145
4143
|
* Disallow useless case in switch statements.
|
|
4146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-switch-case.md
|
|
4147
4145
|
*/
|
|
4148
4146
|
"unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
|
|
4149
4147
|
/**
|
|
4150
4148
|
* Disallow useless `undefined`.
|
|
4151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-undefined.md
|
|
4152
4150
|
*/
|
|
4153
4151
|
"unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
4154
4152
|
/**
|
|
4155
4153
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-zero-fractions.md
|
|
4157
4155
|
*/
|
|
4158
4156
|
"unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
|
|
4159
4157
|
/**
|
|
4160
4158
|
* Enforce proper case for numeric literals.
|
|
4161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/number-literal-case.md
|
|
4162
4160
|
*/
|
|
4163
|
-
"unicorn/number-literal-case"?: Linter.RuleEntry<
|
|
4161
|
+
"unicorn/number-literal-case"?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
4164
4162
|
/**
|
|
4165
4163
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/numeric-separators-style.md
|
|
4167
4165
|
*/
|
|
4168
4166
|
"unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
4169
4167
|
/**
|
|
4170
4168
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-add-event-listener.md
|
|
4172
4170
|
*/
|
|
4173
4171
|
"unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
4174
4172
|
/**
|
|
4175
4173
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-find.md
|
|
4177
4175
|
*/
|
|
4178
4176
|
"unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
4179
4177
|
/**
|
|
4180
4178
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat.md
|
|
4182
4180
|
*/
|
|
4183
4181
|
"unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
4184
4182
|
/**
|
|
4185
4183
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat-map.md
|
|
4187
4185
|
*/
|
|
4188
4186
|
"unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
|
|
4189
4187
|
/**
|
|
4190
4188
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-index-of.md
|
|
4192
4190
|
*/
|
|
4193
4191
|
"unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
|
|
4194
4192
|
/**
|
|
4195
4193
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-some.md
|
|
4197
4195
|
*/
|
|
4198
4196
|
"unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
|
|
4199
4197
|
/**
|
|
4200
4198
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-at.md
|
|
4202
4200
|
*/
|
|
4203
4201
|
"unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
|
|
4204
4202
|
/**
|
|
4205
4203
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4207
4205
|
*/
|
|
4208
4206
|
"unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
|
|
4209
4207
|
/**
|
|
4210
4208
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-code-point.md
|
|
4212
4210
|
*/
|
|
4213
4211
|
"unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
|
|
4214
4212
|
/**
|
|
4215
4213
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-date-now.md
|
|
4217
4215
|
*/
|
|
4218
4216
|
"unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
|
|
4219
4217
|
/**
|
|
4220
4218
|
* Prefer default parameters over reassignment.
|
|
4221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-default-parameters.md
|
|
4222
4220
|
*/
|
|
4223
4221
|
"unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
|
|
4224
4222
|
/**
|
|
4225
4223
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-append.md
|
|
4227
4225
|
*/
|
|
4228
4226
|
"unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
|
|
4229
4227
|
/**
|
|
4230
4228
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4231
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4232
4230
|
*/
|
|
4233
4231
|
"unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
|
|
4234
4232
|
/**
|
|
4235
4233
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4236
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4237
4235
|
*/
|
|
4238
4236
|
"unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
|
|
4239
4237
|
/**
|
|
4240
4238
|
* Prefer `.textContent` over `.innerText`.
|
|
4241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4242
4240
|
*/
|
|
4243
4241
|
"unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
|
|
4244
4242
|
/**
|
|
4245
4243
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4246
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-event-target.md
|
|
4247
4245
|
*/
|
|
4248
4246
|
"unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
|
|
4249
4247
|
/**
|
|
4250
4248
|
* Prefer `export…from` when re-exporting.
|
|
4251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-export-from.md
|
|
4252
4250
|
*/
|
|
4253
4251
|
"unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
4254
4252
|
/**
|
|
4255
4253
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4256
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-global-this.md
|
|
4257
4255
|
*/
|
|
4258
4256
|
"unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
|
|
4259
4257
|
/**
|
|
4260
4258
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4261
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-includes.md
|
|
4262
4260
|
*/
|
|
4263
4261
|
"unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
|
|
4264
4262
|
/**
|
|
4265
4263
|
* Prefer reading a JSON file as a buffer.
|
|
4266
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4267
4265
|
*/
|
|
4268
4266
|
"unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
|
|
4269
4267
|
/**
|
|
4270
4268
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4272
4270
|
*/
|
|
4273
4271
|
"unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
|
|
4274
4272
|
/**
|
|
4275
4273
|
* Prefer using a logical operator over a ternary.
|
|
4276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4277
4275
|
*/
|
|
4278
4276
|
"unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
|
|
4279
4277
|
/**
|
|
4280
4278
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4281
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-min-max.md
|
|
4282
4280
|
*/
|
|
4283
4281
|
"unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
|
|
4284
4282
|
/**
|
|
4285
4283
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-trunc.md
|
|
4287
4285
|
*/
|
|
4288
4286
|
"unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
|
|
4289
4287
|
/**
|
|
4290
4288
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4291
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4292
4290
|
*/
|
|
4293
4291
|
"unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
|
|
4294
4292
|
/**
|
|
4295
4293
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4297
4295
|
*/
|
|
4298
4296
|
"unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
|
|
4299
4297
|
/**
|
|
4300
4298
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-module.md
|
|
4302
4300
|
*/
|
|
4303
4301
|
"unicorn/prefer-module"?: Linter.RuleEntry<[]>;
|
|
4304
4302
|
/**
|
|
4305
4303
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4307
4305
|
*/
|
|
4308
4306
|
"unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
|
|
4309
4307
|
/**
|
|
4310
4308
|
* Prefer negative index over `.length - index` when possible.
|
|
4311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-negative-index.md
|
|
4312
4310
|
*/
|
|
4313
4311
|
"unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
|
|
4314
4312
|
/**
|
|
4315
4313
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-node-protocol.md
|
|
4317
4315
|
*/
|
|
4318
4316
|
"unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
|
|
4319
4317
|
/**
|
|
4320
4318
|
* Prefer `Number` static properties over global ones.
|
|
4321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-number-properties.md
|
|
4322
4320
|
*/
|
|
4323
4321
|
"unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
4324
4322
|
/**
|
|
4325
4323
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-object-from-entries.md
|
|
4327
4325
|
*/
|
|
4328
4326
|
"unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
4329
4327
|
/**
|
|
4330
4328
|
* Prefer omitting the `catch` binding parameter.
|
|
4331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
4332
4330
|
*/
|
|
4333
4331
|
"unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
|
|
4334
4332
|
/**
|
|
4335
4333
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-prototype-methods.md
|
|
4337
4335
|
*/
|
|
4338
4336
|
"unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
|
|
4339
4337
|
/**
|
|
4340
4338
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-query-selector.md
|
|
4342
4340
|
*/
|
|
4343
4341
|
"unicorn/prefer-query-selector"?: Linter.RuleEntry<[]>;
|
|
4344
4342
|
/**
|
|
4345
4343
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-reflect-apply.md
|
|
4347
4345
|
*/
|
|
4348
4346
|
"unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
|
|
4349
4347
|
/**
|
|
4350
4348
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-regexp-test.md
|
|
4352
4350
|
*/
|
|
4353
4351
|
"unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
|
|
4354
4352
|
/**
|
|
4355
4353
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-has.md
|
|
4357
4355
|
*/
|
|
4358
4356
|
"unicorn/prefer-set-has"?: Linter.RuleEntry<[]>;
|
|
4359
4357
|
/**
|
|
4360
4358
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-size.md
|
|
4362
4360
|
*/
|
|
4363
4361
|
"unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
|
|
4364
4362
|
/**
|
|
4365
4363
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4366
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-spread.md
|
|
4367
4365
|
*/
|
|
4368
4366
|
"unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
|
|
4369
4367
|
/**
|
|
4370
4368
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-raw.md
|
|
4372
4370
|
*/
|
|
4373
4371
|
"unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
|
|
4374
4372
|
/**
|
|
4375
4373
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-replace-all.md
|
|
4377
4375
|
*/
|
|
4378
4376
|
"unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
|
|
4379
4377
|
/**
|
|
4380
4378
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-slice.md
|
|
4382
4380
|
*/
|
|
4383
4381
|
"unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
|
|
4384
4382
|
/**
|
|
4385
4383
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
4387
4385
|
*/
|
|
4388
4386
|
"unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
|
|
4389
4387
|
/**
|
|
4390
4388
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
4392
4390
|
*/
|
|
4393
4391
|
"unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
|
|
4394
4392
|
/**
|
|
4395
4393
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-structured-clone.md
|
|
4397
4395
|
*/
|
|
4398
4396
|
"unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
4399
4397
|
/**
|
|
4400
4398
|
* Prefer `switch` over multiple `else-if`.
|
|
4401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-switch.md
|
|
4402
4400
|
*/
|
|
4403
4401
|
"unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
4404
4402
|
/**
|
|
4405
4403
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-ternary.md
|
|
4407
4405
|
*/
|
|
4408
4406
|
"unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
4409
4407
|
/**
|
|
4410
4408
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4409
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-top-level-await.md
|
|
4412
4410
|
*/
|
|
4413
4411
|
"unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
|
|
4414
4412
|
/**
|
|
4415
4413
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4414
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-type-error.md
|
|
4417
4415
|
*/
|
|
4418
4416
|
"unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
|
|
4419
4417
|
/**
|
|
4420
4418
|
* Prevent abbreviations.
|
|
4421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4419
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prevent-abbreviations.md
|
|
4422
4420
|
*/
|
|
4423
4421
|
"unicorn/prevent-abbreviations"?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
4424
4422
|
/**
|
|
4425
4423
|
* Enforce consistent relative URL style.
|
|
4426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/relative-url-style.md
|
|
4427
4425
|
*/
|
|
4428
4426
|
"unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
4429
4427
|
/**
|
|
4430
4428
|
* Enforce using the separator argument with `Array#join()`.
|
|
4431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4429
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-array-join-separator.md
|
|
4432
4430
|
*/
|
|
4433
4431
|
"unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
|
|
4434
4432
|
/**
|
|
4435
4433
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4437
4435
|
*/
|
|
4438
4436
|
"unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
|
|
4439
4437
|
/**
|
|
4440
4438
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4439
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-post-message-target-origin.md
|
|
4442
4440
|
*/
|
|
4443
4441
|
"unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
|
|
4444
4442
|
/**
|
|
4445
4443
|
* Enforce better string content.
|
|
4446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/string-content.md
|
|
4447
4445
|
*/
|
|
4448
4446
|
"unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
|
|
4449
4447
|
/**
|
|
4450
4448
|
* Enforce consistent brace style for `case` clauses.
|
|
4451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/switch-case-braces.md
|
|
4452
4450
|
*/
|
|
4453
4451
|
"unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
4454
4452
|
/**
|
|
4455
4453
|
* Fix whitespace-insensitive template indentation.
|
|
4456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4454
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/template-indent.md
|
|
4457
4455
|
*/
|
|
4458
4456
|
"unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
4459
4457
|
/**
|
|
4460
4458
|
* Enforce consistent case for text encoding identifiers.
|
|
4461
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/text-encoding-identifier-case.md
|
|
4462
4460
|
*/
|
|
4463
4461
|
"unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<[]>;
|
|
4464
4462
|
/**
|
|
4465
4463
|
* Require `new` when creating an error.
|
|
4466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/throw-new-error.md
|
|
4467
4465
|
*/
|
|
4468
4466
|
"unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
|
|
4469
4467
|
/**
|
|
@@ -8873,7 +8871,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
8873
8871
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
8874
8872
|
version?: string
|
|
8875
8873
|
allowExperimental?: boolean
|
|
8876
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
8874
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
|
|
8877
8875
|
}];
|
|
8878
8876
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
8879
8877
|
type NodePreferGlobalConsole = [] | [("always" | "never")];
|
|
@@ -10624,6 +10622,7 @@ type UnicornCatchErrorName = [] | [{
|
|
|
10624
10622
|
type UnicornConsistentFunctionScoping = [] | [{
|
|
10625
10623
|
checkArrowFunctions?: boolean
|
|
10626
10624
|
}];
|
|
10625
|
+
type UnicornEscapeCase = [] | [("uppercase" | "lowercase")];
|
|
10627
10626
|
type UnicornExpiringTodoComments = [] | [{
|
|
10628
10627
|
terms?: string[]
|
|
10629
10628
|
ignore?: unknown[]
|
|
@@ -10695,6 +10694,9 @@ type UnicornNoUselessUndefined = [] | [{
|
|
|
10695
10694
|
checkArguments?: boolean
|
|
10696
10695
|
checkArrowFunctionBody?: boolean
|
|
10697
10696
|
}];
|
|
10697
|
+
type UnicornNumberLiteralCase = [] | [{
|
|
10698
|
+
hexadecimalValue?: ("uppercase" | "lowercase")
|
|
10699
|
+
}];
|
|
10698
10700
|
type UnicornNumericSeparatorsStyle = [] | [{
|
|
10699
10701
|
binary?: {
|
|
10700
10702
|
onlyIfContainsSeparator?: boolean
|
|
@@ -12050,10 +12052,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
12050
12052
|
exceptRange?: boolean
|
|
12051
12053
|
onlyEquality?: boolean
|
|
12052
12054
|
}];
|
|
12053
|
-
type ConfigNames = "sxzz/global-ignores" | "sxzz/gitignore" | "sxzz/js/recommended" | "sxzz/js" | "sxzz/comments/recommended" | "sxzz/comments" | "sxzz/imports" | "sxzz/unicorn" | "sxzz/node" | "sxzz/jsdoc" | "sxzz/regexp" | "sxzz/de-morgan" | "sxzz/typescript__typescript-eslint/base" | "sxzz/typescript__typescript-eslint/eslint-recommended" | "sxzz/typescript__typescript-eslint/recommended" | "sxzz/typescript" | "sxzz/typescript/dts-rules" | "sxzz/typescript/cjs-rules" | "sxzz/sort/imports" | "sxzz/markdown/recommended/plugin" | "sxzz/markdown/recommended/processor" | "sxzz/markdown/recommended/code-blocks" | "sxzz/markdown-rules" | "sxzz/yaml/setup" | "sxzz/yaml/rules" | "sxzz/json" | "sxzz/sort/package.json" | "sxzz/sort/tsconfig" | "sxzz/sort/pnpm-workspace" | "sxzz/vue/typescript__typescript-eslint/base" | "sxzz/vue/typescript__typescript-eslint/eslint-recommended" | "sxzz/vue/typescript__typescript-eslint/recommended" | "sxzz/vue/typescript" | "sxzz/vue" | "sxzz/vue/reactivity-transform" | "sxzz/unocss" | "sxzz/prettier" | "sxzz/command" | "sxzz/pnpm/
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12055
|
+
type ConfigNames = "sxzz/global-ignores" | "sxzz/gitignore" | "sxzz/js/recommended" | "sxzz/js" | "sxzz/comments/recommended" | "sxzz/comments" | "sxzz/imports" | "sxzz/unicorn" | "sxzz/node" | "sxzz/jsdoc" | "sxzz/regexp" | "sxzz/de-morgan" | "sxzz/typescript__typescript-eslint/base" | "sxzz/typescript__typescript-eslint/eslint-recommended" | "sxzz/typescript__typescript-eslint/recommended" | "sxzz/typescript" | "sxzz/typescript/dts-rules" | "sxzz/typescript/cjs-rules" | "sxzz/sort/imports" | "sxzz/markdown/recommended/plugin" | "sxzz/markdown/recommended/processor" | "sxzz/markdown/recommended/code-blocks" | "sxzz/markdown-rules" | "sxzz/yaml/setup" | "sxzz/yaml/rules" | "sxzz/json" | "sxzz/sort/package.json" | "sxzz/sort/tsconfig" | "sxzz/sort/pnpm-workspace" | "sxzz/vue/typescript__typescript-eslint/base" | "sxzz/vue/typescript__typescript-eslint/eslint-recommended" | "sxzz/vue/typescript__typescript-eslint/recommended" | "sxzz/vue/typescript" | "sxzz/vue" | "sxzz/vue/reactivity-transform" | "sxzz/unocss" | "sxzz/prettier" | "sxzz/command" | "sxzz/pnpm/package-json" | "sxzz/pnpm/pnpm-workspace-yaml" | "sxzz/special/cli" | "sxzz/special/tests" | "sxzz/special/allow-default-export";
|
|
12057
12056
|
|
|
12058
12057
|
type Config = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
|
|
12059
12058
|
/**
|
|
@@ -12064,90 +12063,50 @@ type Config = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
|
|
|
12064
12063
|
plugins?: Record<string, any>
|
|
12065
12064
|
};
|
|
12066
12065
|
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
12066
|
declare const command: () => Config[];
|
|
12070
12067
|
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
12068
|
declare const comments: () => Config[];
|
|
12074
12069
|
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
12070
|
declare const deMorgan: () => Config[];
|
|
12078
12071
|
|
|
12079
|
-
|
|
12080
|
-
|
|
12081
12072
|
declare const ignores: () => Config[];
|
|
12082
12073
|
|
|
12083
|
-
|
|
12084
|
-
|
|
12085
12074
|
declare const imports: () => Config[];
|
|
12086
12075
|
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
12076
|
declare const restrictedSyntaxJs: string[];
|
|
12090
12077
|
declare const javascript: () => Config[];
|
|
12091
12078
|
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
12079
|
declare const jsdoc: () => Config[];
|
|
12095
12080
|
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
12081
|
declare const jsonc: () => Config[];
|
|
12099
12082
|
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
12083
|
declare const markdown: () => Config[];
|
|
12103
12084
|
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
12085
|
declare const node: () => Config[];
|
|
12107
12086
|
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
12087
|
declare function pnpm(): Promise<Config[]>;
|
|
12111
12088
|
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
12089
|
declare const prettier: () => Config[];
|
|
12115
12090
|
|
|
12116
|
-
|
|
12117
|
-
|
|
12118
12091
|
declare const regexp: () => Config[];
|
|
12119
12092
|
|
|
12120
|
-
|
|
12121
|
-
|
|
12122
12093
|
declare const sortPackageJson: () => Config[];
|
|
12123
12094
|
declare const sortTsconfig: () => Config[];
|
|
12124
12095
|
declare const sortPnpmWorkspace: () => Config[];
|
|
12125
12096
|
declare const sortImports: () => Config[];
|
|
12126
12097
|
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
12098
|
declare const specialCases: () => Config[];
|
|
12130
12099
|
|
|
12131
|
-
|
|
12132
|
-
|
|
12133
12100
|
declare const typescriptCore: Config[];
|
|
12134
12101
|
declare const typescript: () => Config[];
|
|
12135
12102
|
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
12103
|
declare const unicorn: () => Config[];
|
|
12139
12104
|
|
|
12140
|
-
|
|
12141
|
-
|
|
12142
12105
|
declare const unocss: () => Promise<Config[]>;
|
|
12143
12106
|
|
|
12144
|
-
|
|
12145
|
-
|
|
12146
12107
|
declare const reactivityTransform: () => Config[];
|
|
12147
12108
|
declare const vue: () => Config[];
|
|
12148
12109
|
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
12110
|
declare const yml: () => Config[];
|
|
12152
12111
|
|
|
12153
12112
|
declare const hasTypeScript: () => boolean;
|
|
@@ -12179,13 +12138,6 @@ declare const GLOB_DIST: "**/dist";
|
|
|
12179
12138
|
declare const GLOB_LOCKFILE: string[];
|
|
12180
12139
|
declare const GLOB_EXCLUDE: string[];
|
|
12181
12140
|
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
12141
|
/** Ignore common files and include javascript support */
|
|
12190
12142
|
declare const presetJavaScript: () => Config[];
|
|
12191
12143
|
/** Includes basic json(c) file support and sorting json keys */
|