@cany748/eslint-config 3.0.5 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +246 -238
- package/dist/index.js +6 -4
- package/package.json +24 -24
package/dist/index.d.ts
CHANGED
|
@@ -978,233 +978,233 @@ interface RuleOptions {
|
|
|
978
978
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
979
979
|
/**
|
|
980
980
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
981
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
981
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/consistent-type-specifier-style.md
|
|
982
982
|
*/
|
|
983
983
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
984
984
|
/**
|
|
985
985
|
* Ensure a default export is present, given a default import.
|
|
986
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
986
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/default.md
|
|
987
987
|
*/
|
|
988
988
|
'import/default'?: Linter.RuleEntry<[]>
|
|
989
989
|
/**
|
|
990
990
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
991
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
991
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/dynamic-import-chunkname.md
|
|
992
992
|
*/
|
|
993
993
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
994
994
|
/**
|
|
995
995
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
996
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
996
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/export.md
|
|
997
997
|
*/
|
|
998
998
|
'import/export'?: Linter.RuleEntry<[]>
|
|
999
999
|
/**
|
|
1000
1000
|
* Ensure all exports appear after other statements.
|
|
1001
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1001
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/exports-last.md
|
|
1002
1002
|
*/
|
|
1003
1003
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1004
1004
|
/**
|
|
1005
1005
|
* Ensure consistent use of file extension within the import path.
|
|
1006
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1006
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/extensions.md
|
|
1007
1007
|
*/
|
|
1008
1008
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1009
1009
|
/**
|
|
1010
1010
|
* Ensure all imports appear before other statements.
|
|
1011
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1011
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/first.md
|
|
1012
1012
|
*/
|
|
1013
1013
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1016
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1016
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/group-exports.md
|
|
1017
1017
|
*/
|
|
1018
1018
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1019
1019
|
/**
|
|
1020
1020
|
* Replaced by `import-x/first`.
|
|
1021
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1021
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/imports-first.md
|
|
1022
1022
|
* @deprecated
|
|
1023
1023
|
*/
|
|
1024
1024
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1025
1025
|
/**
|
|
1026
1026
|
* Enforce the maximum number of dependencies a module can have.
|
|
1027
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1027
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/max-dependencies.md
|
|
1028
1028
|
*/
|
|
1029
1029
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1032
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1032
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/named.md
|
|
1033
1033
|
*/
|
|
1034
1034
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1037
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1037
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/namespace.md
|
|
1038
1038
|
*/
|
|
1039
1039
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Enforce a newline after import statements.
|
|
1042
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1042
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/newline-after-import.md
|
|
1043
1043
|
*/
|
|
1044
1044
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1045
1045
|
/**
|
|
1046
1046
|
* Forbid import of modules using absolute paths.
|
|
1047
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1047
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-absolute-path.md
|
|
1048
1048
|
*/
|
|
1049
1049
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Forbid AMD `require` and `define` calls.
|
|
1052
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1052
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-amd.md
|
|
1053
1053
|
*/
|
|
1054
1054
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Forbid anonymous values as default exports.
|
|
1057
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1057
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-anonymous-default-export.md
|
|
1058
1058
|
*/
|
|
1059
1059
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1060
1060
|
/**
|
|
1061
1061
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1062
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1062
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-commonjs.md
|
|
1063
1063
|
*/
|
|
1064
1064
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1065
1065
|
/**
|
|
1066
1066
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1067
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1067
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-cycle.md
|
|
1068
1068
|
*/
|
|
1069
1069
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1070
1070
|
/**
|
|
1071
1071
|
* Forbid default exports.
|
|
1072
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1072
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-default-export.md
|
|
1073
1073
|
*/
|
|
1074
1074
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1077
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1077
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-deprecated.md
|
|
1078
1078
|
*/
|
|
1079
1079
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1080
1080
|
/**
|
|
1081
1081
|
* Forbid repeated import of the same module in multiple places.
|
|
1082
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1082
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-duplicates.md
|
|
1083
1083
|
*/
|
|
1084
1084
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1085
1085
|
/**
|
|
1086
1086
|
* Forbid `require()` calls with expressions.
|
|
1087
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1087
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-dynamic-require.md
|
|
1088
1088
|
*/
|
|
1089
1089
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1090
1090
|
/**
|
|
1091
1091
|
* Forbid empty named import blocks.
|
|
1092
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1092
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-empty-named-blocks.md
|
|
1093
1093
|
*/
|
|
1094
1094
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1095
1095
|
/**
|
|
1096
1096
|
* Forbid the use of extraneous packages.
|
|
1097
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1097
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-extraneous-dependencies.md
|
|
1098
1098
|
*/
|
|
1099
1099
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1100
1100
|
/**
|
|
1101
1101
|
* Forbid import statements with CommonJS module.exports.
|
|
1102
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1102
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-import-module-exports.md
|
|
1103
1103
|
*/
|
|
1104
1104
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Forbid importing the submodules of other modules.
|
|
1107
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1107
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-internal-modules.md
|
|
1108
1108
|
*/
|
|
1109
1109
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1110
1110
|
/**
|
|
1111
1111
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1112
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1112
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-mutable-exports.md
|
|
1113
1113
|
*/
|
|
1114
1114
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Forbid use of exported name as identifier of default export.
|
|
1117
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1117
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default.md
|
|
1118
1118
|
*/
|
|
1119
1119
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1120
1120
|
/**
|
|
1121
1121
|
* Forbid use of exported name as property of default export.
|
|
1122
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1122
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default-member.md
|
|
1123
1123
|
*/
|
|
1124
1124
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Forbid named default exports.
|
|
1127
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1127
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-default.md
|
|
1128
1128
|
*/
|
|
1129
1129
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1130
1130
|
/**
|
|
1131
1131
|
* Forbid named exports.
|
|
1132
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1132
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-export.md
|
|
1133
1133
|
*/
|
|
1134
1134
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1137
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1137
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-namespace.md
|
|
1138
1138
|
*/
|
|
1139
1139
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1140
1140
|
/**
|
|
1141
1141
|
* Forbid Node.js builtin modules.
|
|
1142
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1142
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-nodejs-modules.md
|
|
1143
1143
|
*/
|
|
1144
1144
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1145
1145
|
/**
|
|
1146
1146
|
* Forbid importing packages through relative paths.
|
|
1147
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1147
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-packages.md
|
|
1148
1148
|
*/
|
|
1149
1149
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Forbid importing modules from parent directories.
|
|
1152
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1152
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-parent-imports.md
|
|
1153
1153
|
*/
|
|
1154
1154
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1155
1155
|
/**
|
|
1156
1156
|
* Forbid importing a default export by a different name.
|
|
1157
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1157
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-rename-default.md
|
|
1158
1158
|
*/
|
|
1159
1159
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1160
1160
|
/**
|
|
1161
1161
|
* Enforce which files can be imported in a given folder.
|
|
1162
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1162
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-restricted-paths.md
|
|
1163
1163
|
*/
|
|
1164
1164
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1165
1165
|
/**
|
|
1166
1166
|
* Forbid a module from importing itself.
|
|
1167
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1167
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-self-import.md
|
|
1168
1168
|
*/
|
|
1169
1169
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1170
1170
|
/**
|
|
1171
1171
|
* Forbid unassigned imports.
|
|
1172
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1172
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unassigned-import.md
|
|
1173
1173
|
*/
|
|
1174
1174
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1175
1175
|
/**
|
|
1176
1176
|
* Ensure imports point to a file/module that can be resolved.
|
|
1177
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1177
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unresolved.md
|
|
1178
1178
|
*/
|
|
1179
1179
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1182
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1182
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unused-modules.md
|
|
1183
1183
|
*/
|
|
1184
1184
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Forbid unnecessary path segments in import and require statements.
|
|
1187
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1187
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-useless-path-segments.md
|
|
1188
1188
|
*/
|
|
1189
1189
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1190
1190
|
/**
|
|
1191
1191
|
* Forbid webpack loader syntax in imports.
|
|
1192
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1192
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-webpack-loader-syntax.md
|
|
1193
1193
|
*/
|
|
1194
1194
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Enforce a convention in module import order.
|
|
1197
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1197
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/order.md
|
|
1198
1198
|
*/
|
|
1199
1199
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1202
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1202
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/prefer-default-export.md
|
|
1203
1203
|
*/
|
|
1204
1204
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1205
1205
|
/**
|
|
1206
1206
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1207
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6
|
|
1207
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/unambiguous.md
|
|
1208
1208
|
*/
|
|
1209
1209
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1210
1210
|
/**
|
|
@@ -3457,6 +3457,11 @@ interface RuleOptions {
|
|
|
3457
3457
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
|
|
3458
3458
|
*/
|
|
3459
3459
|
'test/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
|
|
3460
|
+
/**
|
|
3461
|
+
* enforce using a function as a describe title over an equivalent string
|
|
3462
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-describe-function-title.md
|
|
3463
|
+
*/
|
|
3464
|
+
'test/prefer-describe-function-title'?: Linter.RuleEntry<[]>
|
|
3460
3465
|
/**
|
|
3461
3466
|
* enforce using `each` rather than manual loops
|
|
3462
3467
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
|
|
@@ -3609,642 +3614,643 @@ interface RuleOptions {
|
|
|
3609
3614
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
3610
3615
|
/**
|
|
3611
3616
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
3612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/better-regex.md
|
|
3613
3618
|
*/
|
|
3614
3619
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
3615
3620
|
/**
|
|
3616
3621
|
* Enforce a specific parameter name in catch clauses.
|
|
3617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/catch-error-name.md
|
|
3618
3623
|
*/
|
|
3619
3624
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
3620
3625
|
/**
|
|
3621
3626
|
* Enforce consistent assertion style with `node:assert`.
|
|
3622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-assert.md
|
|
3623
3628
|
*/
|
|
3624
3629
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
3625
3630
|
/**
|
|
3626
3631
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
3627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-date-clone.md
|
|
3628
3633
|
*/
|
|
3629
3634
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
3630
3635
|
/**
|
|
3631
3636
|
* Use destructured variables over properties.
|
|
3632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-destructuring.md
|
|
3633
3638
|
*/
|
|
3634
3639
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
3635
3640
|
/**
|
|
3636
3641
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-empty-array-spread.md
|
|
3638
3643
|
*/
|
|
3639
3644
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
3640
3645
|
/**
|
|
3641
3646
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-existence-index-check.md
|
|
3643
3648
|
*/
|
|
3644
3649
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
3645
3650
|
/**
|
|
3646
3651
|
* Move function definitions to the highest possible scope.
|
|
3647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-function-scoping.md
|
|
3648
3653
|
*/
|
|
3649
3654
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
3650
3655
|
/**
|
|
3651
3656
|
* Enforce correct `Error` subclassing.
|
|
3652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/custom-error-definition.md
|
|
3653
3658
|
*/
|
|
3654
3659
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
3655
3660
|
/**
|
|
3656
3661
|
* Enforce no spaces between braces.
|
|
3657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/empty-brace-spaces.md
|
|
3658
3663
|
*/
|
|
3659
3664
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
3660
3665
|
/**
|
|
3661
3666
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/error-message.md
|
|
3663
3668
|
*/
|
|
3664
3669
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
3665
3670
|
/**
|
|
3666
|
-
* Require escape sequences to use uppercase values.
|
|
3667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3671
|
+
* Require escape sequences to use uppercase or lowercase values.
|
|
3672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/escape-case.md
|
|
3668
3673
|
*/
|
|
3669
|
-
'unicorn/escape-case'?: Linter.RuleEntry<
|
|
3674
|
+
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
3670
3675
|
/**
|
|
3671
3676
|
* Add expiration conditions to TODO comments.
|
|
3672
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/expiring-todo-comments.md
|
|
3673
3678
|
*/
|
|
3674
3679
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
3675
3680
|
/**
|
|
3676
3681
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/explicit-length-check.md
|
|
3678
3683
|
*/
|
|
3679
3684
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
3680
3685
|
/**
|
|
3681
3686
|
* Enforce a case style for filenames.
|
|
3682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/filename-case.md
|
|
3683
3688
|
*/
|
|
3684
3689
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
3685
3690
|
/**
|
|
3686
3691
|
* Enforce specific import styles per module.
|
|
3687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/import-style.md
|
|
3688
3693
|
*/
|
|
3689
3694
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
3690
3695
|
/**
|
|
3691
3696
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
3692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/new-for-builtins.md
|
|
3693
3698
|
*/
|
|
3694
3699
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
3695
3700
|
/**
|
|
3696
3701
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
3698
3703
|
*/
|
|
3699
3704
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
3700
3705
|
/**
|
|
3701
3706
|
* Disallow recursive access to `this` within getters and setters.
|
|
3702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-accessor-recursion.md
|
|
3703
3708
|
*/
|
|
3704
3709
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
3705
3710
|
/**
|
|
3706
3711
|
* Disallow anonymous functions and classes as the default export.
|
|
3707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-anonymous-default-export.md
|
|
3708
3713
|
*/
|
|
3709
3714
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
3710
3715
|
/**
|
|
3711
3716
|
* Prevent passing a function reference directly to iterator methods.
|
|
3712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-callback-reference.md
|
|
3713
3718
|
*/
|
|
3714
3719
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
3715
3720
|
/**
|
|
3716
3721
|
* Prefer `for…of` over the `forEach` method.
|
|
3717
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-for-each.md
|
|
3718
3723
|
*/
|
|
3719
3724
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
3720
3725
|
/**
|
|
3721
3726
|
* Disallow using the `this` argument in array methods.
|
|
3722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-method-this-argument.md
|
|
3723
3728
|
*/
|
|
3724
3729
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
3725
3730
|
/**
|
|
3726
3731
|
* Enforce combining multiple `Array#push()` into one call.
|
|
3727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-push-push.md
|
|
3728
3733
|
*/
|
|
3729
3734
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
3730
3735
|
/**
|
|
3731
3736
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
3732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-reduce.md
|
|
3733
3738
|
*/
|
|
3734
3739
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
3735
3740
|
/**
|
|
3736
3741
|
* Disallow member access from await expression.
|
|
3737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-expression-member.md
|
|
3738
3743
|
*/
|
|
3739
3744
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
3740
3745
|
/**
|
|
3741
3746
|
* Disallow using `await` in `Promise` method parameters.
|
|
3742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-in-promise-methods.md
|
|
3743
3748
|
*/
|
|
3744
3749
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
3745
3750
|
/**
|
|
3746
3751
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
3747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-console-spaces.md
|
|
3748
3753
|
*/
|
|
3749
3754
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
3750
3755
|
/**
|
|
3751
3756
|
* Do not use `document.cookie` directly.
|
|
3752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-document-cookie.md
|
|
3753
3758
|
*/
|
|
3754
3759
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
3755
3760
|
/**
|
|
3756
3761
|
* Disallow empty files.
|
|
3757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-empty-file.md
|
|
3758
3763
|
*/
|
|
3759
3764
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
3760
3765
|
/**
|
|
3761
3766
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
3762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-for-loop.md
|
|
3763
3768
|
*/
|
|
3764
3769
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
3765
3770
|
/**
|
|
3766
3771
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
3767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-hex-escape.md
|
|
3768
3773
|
*/
|
|
3769
3774
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
3770
3775
|
/**
|
|
3771
|
-
*
|
|
3776
|
+
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
3777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/deprecated-rules.md#no-instanceof-array
|
|
3772
3778
|
* @deprecated
|
|
3773
3779
|
*/
|
|
3774
3780
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
3775
3781
|
/**
|
|
3776
3782
|
* Disallow `instanceof` with built-in objects
|
|
3777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3783
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-instanceof-builtins.md
|
|
3778
3784
|
*/
|
|
3779
3785
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
3780
3786
|
/**
|
|
3781
3787
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
3782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3788
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-fetch-options.md
|
|
3783
3789
|
*/
|
|
3784
3790
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
3785
3791
|
/**
|
|
3786
3792
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
3787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3793
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
3788
3794
|
*/
|
|
3789
3795
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
3790
3796
|
/**
|
|
3791
3797
|
* Disallow identifiers starting with `new` or `class`.
|
|
3792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3798
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-keyword-prefix.md
|
|
3793
3799
|
*/
|
|
3794
3800
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
3795
3801
|
/**
|
|
3796
3802
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
3797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3803
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-length-as-slice-end.md
|
|
3798
3804
|
*/
|
|
3799
3805
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
3800
3806
|
/**
|
|
3801
3807
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
3802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3808
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-lonely-if.md
|
|
3803
3809
|
*/
|
|
3804
3810
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
3805
3811
|
/**
|
|
3806
3812
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
3807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3813
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
3808
3814
|
*/
|
|
3809
3815
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
3810
3816
|
/**
|
|
3811
3817
|
* Disallow named usage of default import and export.
|
|
3812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3818
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-named-default.md
|
|
3813
3819
|
*/
|
|
3814
3820
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
3815
3821
|
/**
|
|
3816
3822
|
* Disallow negated conditions.
|
|
3817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3823
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negated-condition.md
|
|
3818
3824
|
*/
|
|
3819
3825
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
3820
3826
|
/**
|
|
3821
3827
|
* Disallow negated expression in equality check.
|
|
3822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3828
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negation-in-equality-check.md
|
|
3823
3829
|
*/
|
|
3824
3830
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
3825
3831
|
/**
|
|
3826
3832
|
* Disallow nested ternary expressions.
|
|
3827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3833
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-nested-ternary.md
|
|
3828
3834
|
*/
|
|
3829
3835
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
3830
3836
|
/**
|
|
3831
3837
|
* Disallow `new Array()`.
|
|
3832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3838
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-array.md
|
|
3833
3839
|
*/
|
|
3834
3840
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
3835
3841
|
/**
|
|
3836
3842
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
3837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-buffer.md
|
|
3838
3844
|
*/
|
|
3839
3845
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
3840
3846
|
/**
|
|
3841
3847
|
* Disallow the use of the `null` literal.
|
|
3842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3848
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-null.md
|
|
3843
3849
|
*/
|
|
3844
3850
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
3845
3851
|
/**
|
|
3846
3852
|
* Disallow the use of objects as default parameters.
|
|
3847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3853
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-object-as-default-parameter.md
|
|
3848
3854
|
*/
|
|
3849
3855
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
3850
3856
|
/**
|
|
3851
3857
|
* Disallow `process.exit()`.
|
|
3852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3858
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-process-exit.md
|
|
3853
3859
|
*/
|
|
3854
3860
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
3855
3861
|
/**
|
|
3856
3862
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
3857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3863
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
3858
3864
|
*/
|
|
3859
3865
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
3860
3866
|
/**
|
|
3861
3867
|
* Disallow classes that only have static members.
|
|
3862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3868
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-static-only-class.md
|
|
3863
3869
|
*/
|
|
3864
3870
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
3865
3871
|
/**
|
|
3866
3872
|
* Disallow `then` property.
|
|
3867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3873
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-thenable.md
|
|
3868
3874
|
*/
|
|
3869
3875
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
3870
3876
|
/**
|
|
3871
3877
|
* Disallow assigning `this` to a variable.
|
|
3872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-this-assignment.md
|
|
3873
3879
|
*/
|
|
3874
3880
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
3875
3881
|
/**
|
|
3876
3882
|
* Disallow comparing `undefined` using `typeof`.
|
|
3877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3883
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-typeof-undefined.md
|
|
3878
3884
|
*/
|
|
3879
3885
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
3880
3886
|
/**
|
|
3881
3887
|
* Disallow awaiting non-promise values.
|
|
3882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3888
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-await.md
|
|
3883
3889
|
*/
|
|
3884
3890
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
3885
3891
|
/**
|
|
3886
3892
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
3887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3893
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
3888
3894
|
*/
|
|
3889
3895
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
3890
3896
|
/**
|
|
3891
3897
|
* Disallow unreadable array destructuring.
|
|
3892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
3893
3899
|
*/
|
|
3894
3900
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
3895
3901
|
/**
|
|
3896
3902
|
* Disallow unreadable IIFEs.
|
|
3897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3903
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-iife.md
|
|
3898
3904
|
*/
|
|
3899
3905
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
3900
3906
|
/**
|
|
3901
3907
|
* Disallow unused object properties.
|
|
3902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3908
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unused-properties.md
|
|
3903
3909
|
*/
|
|
3904
3910
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
3905
3911
|
/**
|
|
3906
3912
|
* Disallow useless fallback when spreading in object literals.
|
|
3907
|
-
* @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-useless-fallback-in-spread.md
|
|
3908
3914
|
*/
|
|
3909
3915
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
3910
3916
|
/**
|
|
3911
3917
|
* Disallow useless array length check.
|
|
3912
|
-
* @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-useless-length-check.md
|
|
3913
3919
|
*/
|
|
3914
3920
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
3915
3921
|
/**
|
|
3916
3922
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
3917
|
-
* @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-useless-promise-resolve-reject.md
|
|
3918
3924
|
*/
|
|
3919
3925
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
3920
3926
|
/**
|
|
3921
3927
|
* Disallow unnecessary spread.
|
|
3922
|
-
* @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-useless-spread.md
|
|
3923
3929
|
*/
|
|
3924
3930
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
3925
3931
|
/**
|
|
3926
3932
|
* Disallow useless case in switch statements.
|
|
3927
|
-
* @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-useless-switch-case.md
|
|
3928
3934
|
*/
|
|
3929
3935
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
3930
3936
|
/**
|
|
3931
3937
|
* Disallow useless `undefined`.
|
|
3932
|
-
* @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-useless-undefined.md
|
|
3933
3939
|
*/
|
|
3934
3940
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
3935
3941
|
/**
|
|
3936
3942
|
* Disallow number literals with zero fractions or dangling dots.
|
|
3937
|
-
* @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-zero-fractions.md
|
|
3938
3944
|
*/
|
|
3939
3945
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
3940
3946
|
/**
|
|
3941
3947
|
* Enforce proper case for numeric literals.
|
|
3942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/number-literal-case.md
|
|
3943
3949
|
*/
|
|
3944
|
-
'unicorn/number-literal-case'?: Linter.RuleEntry<
|
|
3950
|
+
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
3945
3951
|
/**
|
|
3946
3952
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
3947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/numeric-separators-style.md
|
|
3948
3954
|
*/
|
|
3949
3955
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
3950
3956
|
/**
|
|
3951
3957
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
3952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-add-event-listener.md
|
|
3953
3959
|
*/
|
|
3954
3960
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
3955
3961
|
/**
|
|
3956
3962
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
3957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-find.md
|
|
3958
3964
|
*/
|
|
3959
3965
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
3960
3966
|
/**
|
|
3961
3967
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
3962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3968
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat.md
|
|
3963
3969
|
*/
|
|
3964
3970
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
3965
3971
|
/**
|
|
3966
3972
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
3967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3973
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat-map.md
|
|
3968
3974
|
*/
|
|
3969
3975
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
3970
3976
|
/**
|
|
3971
3977
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
3972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-index-of.md
|
|
3973
3979
|
*/
|
|
3974
3980
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
3975
3981
|
/**
|
|
3976
3982
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
3977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3983
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-some.md
|
|
3978
3984
|
*/
|
|
3979
3985
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
3980
3986
|
/**
|
|
3981
3987
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
3982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3988
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-at.md
|
|
3983
3989
|
*/
|
|
3984
3990
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
3985
3991
|
/**
|
|
3986
3992
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
3987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3993
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
3988
3994
|
*/
|
|
3989
3995
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
3990
3996
|
/**
|
|
3991
3997
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
3992
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3998
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-code-point.md
|
|
3993
3999
|
*/
|
|
3994
4000
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
3995
4001
|
/**
|
|
3996
4002
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
3997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4003
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-date-now.md
|
|
3998
4004
|
*/
|
|
3999
4005
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4000
4006
|
/**
|
|
4001
4007
|
* Prefer default parameters over reassignment.
|
|
4002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4008
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-default-parameters.md
|
|
4003
4009
|
*/
|
|
4004
4010
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4005
4011
|
/**
|
|
4006
4012
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4013
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-append.md
|
|
4008
4014
|
*/
|
|
4009
4015
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4010
4016
|
/**
|
|
4011
4017
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4018
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4013
4019
|
*/
|
|
4014
4020
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4015
4021
|
/**
|
|
4016
4022
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4023
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4018
4024
|
*/
|
|
4019
4025
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4020
4026
|
/**
|
|
4021
4027
|
* Prefer `.textContent` over `.innerText`.
|
|
4022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4028
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4023
4029
|
*/
|
|
4024
4030
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4025
4031
|
/**
|
|
4026
4032
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4033
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-event-target.md
|
|
4028
4034
|
*/
|
|
4029
4035
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4030
4036
|
/**
|
|
4031
4037
|
* Prefer `export…from` when re-exporting.
|
|
4032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4038
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-export-from.md
|
|
4033
4039
|
*/
|
|
4034
4040
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4035
4041
|
/**
|
|
4036
4042
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4043
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-global-this.md
|
|
4038
4044
|
*/
|
|
4039
4045
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4040
4046
|
/**
|
|
4041
4047
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4048
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-includes.md
|
|
4043
4049
|
*/
|
|
4044
4050
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4045
4051
|
/**
|
|
4046
4052
|
* Prefer reading a JSON file as a buffer.
|
|
4047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4053
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4048
4054
|
*/
|
|
4049
4055
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4050
4056
|
/**
|
|
4051
4057
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4058
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4053
4059
|
*/
|
|
4054
4060
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4055
4061
|
/**
|
|
4056
4062
|
* Prefer using a logical operator over a ternary.
|
|
4057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4063
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4058
4064
|
*/
|
|
4059
4065
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4060
4066
|
/**
|
|
4061
4067
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4068
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-min-max.md
|
|
4063
4069
|
*/
|
|
4064
4070
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4065
4071
|
/**
|
|
4066
4072
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4073
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-trunc.md
|
|
4068
4074
|
*/
|
|
4069
4075
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4070
4076
|
/**
|
|
4071
4077
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4078
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4073
4079
|
*/
|
|
4074
4080
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4075
4081
|
/**
|
|
4076
4082
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4083
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4078
4084
|
*/
|
|
4079
4085
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4080
4086
|
/**
|
|
4081
4087
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4088
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-module.md
|
|
4083
4089
|
*/
|
|
4084
4090
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4085
4091
|
/**
|
|
4086
4092
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4093
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4088
4094
|
*/
|
|
4089
4095
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4090
4096
|
/**
|
|
4091
4097
|
* Prefer negative index over `.length - index` when possible.
|
|
4092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4098
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-negative-index.md
|
|
4093
4099
|
*/
|
|
4094
4100
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4095
4101
|
/**
|
|
4096
4102
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4103
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-node-protocol.md
|
|
4098
4104
|
*/
|
|
4099
4105
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4100
4106
|
/**
|
|
4101
4107
|
* Prefer `Number` static properties over global ones.
|
|
4102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4108
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-number-properties.md
|
|
4103
4109
|
*/
|
|
4104
4110
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4105
4111
|
/**
|
|
4106
4112
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4113
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-object-from-entries.md
|
|
4108
4114
|
*/
|
|
4109
4115
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4110
4116
|
/**
|
|
4111
4117
|
* Prefer omitting the `catch` binding parameter.
|
|
4112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4118
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
4113
4119
|
*/
|
|
4114
4120
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4115
4121
|
/**
|
|
4116
4122
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4123
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-prototype-methods.md
|
|
4118
4124
|
*/
|
|
4119
4125
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4120
4126
|
/**
|
|
4121
4127
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4128
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-query-selector.md
|
|
4123
4129
|
*/
|
|
4124
4130
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4125
4131
|
/**
|
|
4126
4132
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4133
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-reflect-apply.md
|
|
4128
4134
|
*/
|
|
4129
4135
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4130
4136
|
/**
|
|
4131
4137
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4138
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-regexp-test.md
|
|
4133
4139
|
*/
|
|
4134
4140
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4135
4141
|
/**
|
|
4136
4142
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4143
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-has.md
|
|
4138
4144
|
*/
|
|
4139
4145
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4140
4146
|
/**
|
|
4141
4147
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4148
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-size.md
|
|
4143
4149
|
*/
|
|
4144
4150
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4145
4151
|
/**
|
|
4146
4152
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4153
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-spread.md
|
|
4148
4154
|
*/
|
|
4149
4155
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4150
4156
|
/**
|
|
4151
4157
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4158
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-raw.md
|
|
4153
4159
|
*/
|
|
4154
4160
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4155
4161
|
/**
|
|
4156
4162
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-replace-all.md
|
|
4158
4164
|
*/
|
|
4159
4165
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4160
4166
|
/**
|
|
4161
4167
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4168
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-slice.md
|
|
4163
4169
|
*/
|
|
4164
4170
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4165
4171
|
/**
|
|
4166
4172
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4173
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
4168
4174
|
*/
|
|
4169
4175
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4170
4176
|
/**
|
|
4171
4177
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4178
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
4173
4179
|
*/
|
|
4174
4180
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4175
4181
|
/**
|
|
4176
4182
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4183
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-structured-clone.md
|
|
4178
4184
|
*/
|
|
4179
4185
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4180
4186
|
/**
|
|
4181
4187
|
* Prefer `switch` over multiple `else-if`.
|
|
4182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4188
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-switch.md
|
|
4183
4189
|
*/
|
|
4184
4190
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4185
4191
|
/**
|
|
4186
4192
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4193
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-ternary.md
|
|
4188
4194
|
*/
|
|
4189
4195
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4190
4196
|
/**
|
|
4191
4197
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4198
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-top-level-await.md
|
|
4193
4199
|
*/
|
|
4194
4200
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4195
4201
|
/**
|
|
4196
4202
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4203
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-type-error.md
|
|
4198
4204
|
*/
|
|
4199
4205
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4200
4206
|
/**
|
|
4201
4207
|
* Prevent abbreviations.
|
|
4202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4208
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prevent-abbreviations.md
|
|
4203
4209
|
*/
|
|
4204
4210
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4205
4211
|
/**
|
|
4206
4212
|
* Enforce consistent relative URL style.
|
|
4207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4213
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/relative-url-style.md
|
|
4208
4214
|
*/
|
|
4209
4215
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4210
4216
|
/**
|
|
4211
4217
|
* Enforce using the separator argument with `Array#join()`.
|
|
4212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4218
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-array-join-separator.md
|
|
4213
4219
|
*/
|
|
4214
4220
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4215
4221
|
/**
|
|
4216
4222
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4223
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4218
4224
|
*/
|
|
4219
4225
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4220
4226
|
/**
|
|
4221
4227
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4228
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-post-message-target-origin.md
|
|
4223
4229
|
*/
|
|
4224
4230
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4225
4231
|
/**
|
|
4226
4232
|
* Enforce better string content.
|
|
4227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4233
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/string-content.md
|
|
4228
4234
|
*/
|
|
4229
4235
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4230
4236
|
/**
|
|
4231
4237
|
* Enforce consistent brace style for `case` clauses.
|
|
4232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4238
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/switch-case-braces.md
|
|
4233
4239
|
*/
|
|
4234
4240
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4235
4241
|
/**
|
|
4236
4242
|
* Fix whitespace-insensitive template indentation.
|
|
4237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4243
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/template-indent.md
|
|
4238
4244
|
*/
|
|
4239
4245
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4240
4246
|
/**
|
|
4241
4247
|
* Enforce consistent case for text encoding identifiers.
|
|
4242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4248
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/text-encoding-identifier-case.md
|
|
4243
4249
|
*/
|
|
4244
4250
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4245
4251
|
/**
|
|
4246
4252
|
* Require `new` when creating an error.
|
|
4247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4253
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/throw-new-error.md
|
|
4248
4254
|
*/
|
|
4249
4255
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4250
4256
|
/**
|
|
@@ -4392,12 +4398,6 @@ interface RuleOptions {
|
|
|
4392
4398
|
* @see https://eslint.vuejs.org/rules/component-options-name-casing.html
|
|
4393
4399
|
*/
|
|
4394
4400
|
'vue/component-options-name-casing'?: Linter.RuleEntry<VueComponentOptionsNameCasing>
|
|
4395
|
-
/**
|
|
4396
|
-
* enforce order of component top-level elements
|
|
4397
|
-
* @see https://eslint.vuejs.org/rules/component-tags-order.html
|
|
4398
|
-
* @deprecated
|
|
4399
|
-
*/
|
|
4400
|
-
'vue/component-tags-order'?: Linter.RuleEntry<VueComponentTagsOrder>
|
|
4401
4401
|
/**
|
|
4402
4402
|
* enforce specific casing for custom event name
|
|
4403
4403
|
* @see https://eslint.vuejs.org/rules/custom-event-name-casing.html
|
|
@@ -4464,7 +4464,7 @@ interface RuleOptions {
|
|
|
4464
4464
|
*/
|
|
4465
4465
|
'vue/html-closing-bracket-spacing'?: Linter.RuleEntry<VueHtmlClosingBracketSpacing>
|
|
4466
4466
|
/**
|
|
4467
|
-
* enforce unified line
|
|
4467
|
+
* enforce unified line break in HTML comments
|
|
4468
4468
|
* @see https://eslint.vuejs.org/rules/html-comment-content-newline.html
|
|
4469
4469
|
*/
|
|
4470
4470
|
'vue/html-comment-content-newline'?: Linter.RuleEntry<VueHtmlCommentContentNewline>
|
|
@@ -4774,11 +4774,15 @@ interface RuleOptions {
|
|
|
4774
4774
|
*/
|
|
4775
4775
|
'vue/no-extra-parens'?: Linter.RuleEntry<VueNoExtraParens>
|
|
4776
4776
|
/**
|
|
4777
|
-
*
|
|
4778
|
-
* @see https://eslint.vuejs.org/rules/no-
|
|
4779
|
-
|
|
4777
|
+
* Disallow shorthand type conversions in `<template>`
|
|
4778
|
+
* @see https://eslint.vuejs.org/rules/no-implicit-coercion.html
|
|
4779
|
+
*/
|
|
4780
|
+
'vue/no-implicit-coercion'?: Linter.RuleEntry<VueNoImplicitCoercion>
|
|
4781
|
+
/**
|
|
4782
|
+
* disallow importing Vue compiler macros
|
|
4783
|
+
* @see https://eslint.vuejs.org/rules/no-import-compiler-macros.html
|
|
4780
4784
|
*/
|
|
4781
|
-
'vue/no-
|
|
4785
|
+
'vue/no-import-compiler-macros'?: Linter.RuleEntry<[]>
|
|
4782
4786
|
/**
|
|
4783
4787
|
* disallow irregular whitespace in `.vue` files
|
|
4784
4788
|
* @see https://eslint.vuejs.org/rules/no-irregular-whitespace.html
|
|
@@ -4805,12 +4809,12 @@ interface RuleOptions {
|
|
|
4805
4809
|
*/
|
|
4806
4810
|
'vue/no-multi-spaces'?: Linter.RuleEntry<VueNoMultiSpaces>
|
|
4807
4811
|
/**
|
|
4808
|
-
* disallow
|
|
4812
|
+
* disallow passing multiple objects in an array to class
|
|
4809
4813
|
* @see https://eslint.vuejs.org/rules/no-multiple-objects-in-class.html
|
|
4810
4814
|
*/
|
|
4811
4815
|
'vue/no-multiple-objects-in-class'?: Linter.RuleEntry<[]>
|
|
4812
4816
|
/**
|
|
4813
|
-
* disallow
|
|
4817
|
+
* disallow passing multiple arguments to scoped slots
|
|
4814
4818
|
* @see https://eslint.vuejs.org/rules/no-multiple-slot-args.html
|
|
4815
4819
|
*/
|
|
4816
4820
|
'vue/no-multiple-slot-args'?: Linter.RuleEntry<[]>
|
|
@@ -4839,12 +4843,6 @@ interface RuleOptions {
|
|
|
4839
4843
|
* @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
|
|
4840
4844
|
*/
|
|
4841
4845
|
'vue/no-ref-as-operand'?: Linter.RuleEntry<[]>
|
|
4842
|
-
/**
|
|
4843
|
-
* disallow usages of ref objects that can lead to loss of reactivity
|
|
4844
|
-
* @see https://eslint.vuejs.org/rules/no-ref-object-destructure.html
|
|
4845
|
-
* @deprecated
|
|
4846
|
-
*/
|
|
4847
|
-
'vue/no-ref-object-destructure'?: Linter.RuleEntry<[]>
|
|
4848
4846
|
/**
|
|
4849
4847
|
* disallow usages of ref objects that can lead to loss of reactivity
|
|
4850
4848
|
* @see https://eslint.vuejs.org/rules/no-ref-object-reactivity-loss.html
|
|
@@ -4935,12 +4933,6 @@ interface RuleOptions {
|
|
|
4935
4933
|
* @see https://eslint.vuejs.org/rules/no-root-v-if.html
|
|
4936
4934
|
*/
|
|
4937
4935
|
'vue/no-root-v-if'?: Linter.RuleEntry<[]>
|
|
4938
|
-
/**
|
|
4939
|
-
* disallow usages that lose the reactivity of `props` passed to `setup`
|
|
4940
|
-
* @see https://eslint.vuejs.org/rules/no-setup-props-destructure.html
|
|
4941
|
-
* @deprecated
|
|
4942
|
-
*/
|
|
4943
|
-
'vue/no-setup-props-destructure'?: Linter.RuleEntry<[]>
|
|
4944
4936
|
/**
|
|
4945
4937
|
* disallow usages that lose the reactivity of `props` passed to `setup`
|
|
4946
4938
|
* @see https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html
|
|
@@ -5074,6 +5066,7 @@ interface RuleOptions {
|
|
|
5074
5066
|
/**
|
|
5075
5067
|
* disallow `key` attribute on `<template v-for>`
|
|
5076
5068
|
* @see https://eslint.vuejs.org/rules/no-v-for-template-key.html
|
|
5069
|
+
* @deprecated
|
|
5077
5070
|
*/
|
|
5078
5071
|
'vue/no-v-for-template-key'?: Linter.RuleEntry<[]>
|
|
5079
5072
|
/**
|
|
@@ -5089,6 +5082,7 @@ interface RuleOptions {
|
|
|
5089
5082
|
/**
|
|
5090
5083
|
* disallow adding an argument to `v-model` used in custom component
|
|
5091
5084
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
5085
|
+
* @deprecated
|
|
5092
5086
|
*/
|
|
5093
5087
|
'vue/no-v-model-argument'?: Linter.RuleEntry<[]>
|
|
5094
5088
|
/**
|
|
@@ -5321,12 +5315,6 @@ interface RuleOptions {
|
|
|
5321
5315
|
* @see https://eslint.vuejs.org/rules/script-indent.html
|
|
5322
5316
|
*/
|
|
5323
5317
|
'vue/script-indent'?: Linter.RuleEntry<VueScriptIndent>
|
|
5324
|
-
/**
|
|
5325
|
-
* prevent `<script setup>` variables used in `<template>` to be marked as unused
|
|
5326
|
-
* @see https://eslint.vuejs.org/rules/script-setup-uses-vars.html
|
|
5327
|
-
* @deprecated
|
|
5328
|
-
*/
|
|
5329
|
-
'vue/script-setup-uses-vars'?: Linter.RuleEntry<[]>
|
|
5330
5318
|
/**
|
|
5331
5319
|
* require a line break before and after the contents of a singleline element
|
|
5332
5320
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
@@ -5397,12 +5385,6 @@ interface RuleOptions {
|
|
|
5397
5385
|
* @see https://eslint.vuejs.org/rules/v-on-event-hyphenation.html
|
|
5398
5386
|
*/
|
|
5399
5387
|
'vue/v-on-event-hyphenation'?: Linter.RuleEntry<VueVOnEventHyphenation>
|
|
5400
|
-
/**
|
|
5401
|
-
* enforce or forbid parentheses after method calls without arguments in `v-on` directives
|
|
5402
|
-
* @see https://eslint.vuejs.org/rules/v-on-function-call.html
|
|
5403
|
-
* @deprecated
|
|
5404
|
-
*/
|
|
5405
|
-
'vue/v-on-function-call'?: Linter.RuleEntry<VueVOnFunctionCall>
|
|
5406
5388
|
/**
|
|
5407
5389
|
* enforce writing style for handlers in `v-on` directives
|
|
5408
5390
|
* @see https://eslint.vuejs.org/rules/v-on-handler-style.html
|
|
@@ -5441,6 +5423,7 @@ interface RuleOptions {
|
|
|
5441
5423
|
/**
|
|
5442
5424
|
* require valid keys in model option
|
|
5443
5425
|
* @see https://eslint.vuejs.org/rules/valid-model-definition.html
|
|
5426
|
+
* @deprecated
|
|
5444
5427
|
*/
|
|
5445
5428
|
'vue/valid-model-definition'?: Linter.RuleEntry<[]>
|
|
5446
5429
|
/**
|
|
@@ -5461,6 +5444,7 @@ interface RuleOptions {
|
|
|
5461
5444
|
/**
|
|
5462
5445
|
* enforce valid `.sync` modifier on `v-bind` directives
|
|
5463
5446
|
* @see https://eslint.vuejs.org/rules/valid-v-bind-sync.html
|
|
5447
|
+
* @deprecated
|
|
5464
5448
|
*/
|
|
5465
5449
|
'vue/valid-v-bind-sync'?: Linter.RuleEntry<[]>
|
|
5466
5450
|
/**
|
|
@@ -5709,6 +5693,8 @@ type TypescriptEslintExplicitModuleBoundaryTypes = []|[{
|
|
|
5709
5693
|
|
|
5710
5694
|
allowHigherOrderFunctions?: boolean
|
|
5711
5695
|
|
|
5696
|
+
allowOverloadFunctions?: boolean
|
|
5697
|
+
|
|
5712
5698
|
allowTypedFunctionExpressions?: boolean
|
|
5713
5699
|
}]
|
|
5714
5700
|
// ----- @typescript-eslint/init-declarations -----
|
|
@@ -6390,6 +6376,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
|
|
|
6390
6376
|
// ----- @typescript-eslint/no-unnecessary-type-assertion -----
|
|
6391
6377
|
type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
|
|
6392
6378
|
|
|
6379
|
+
checkLiteralConstAssertions?: boolean
|
|
6380
|
+
|
|
6393
6381
|
typesToIgnore?: string[]
|
|
6394
6382
|
}]
|
|
6395
6383
|
// ----- @typescript-eslint/no-unused-expressions -----
|
|
@@ -6517,6 +6505,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
6517
6505
|
|
|
6518
6506
|
ignoreConditionalTests?: boolean
|
|
6519
6507
|
|
|
6508
|
+
ignoreIfStatements?: boolean
|
|
6509
|
+
|
|
6520
6510
|
ignoreMixedLogicalExpressions?: boolean
|
|
6521
6511
|
|
|
6522
6512
|
ignorePrimitives?: ({
|
|
@@ -6740,6 +6730,8 @@ type TypescriptEslintUnboundMethod = []|[{
|
|
|
6740
6730
|
type TypescriptEslintUnifiedSignatures = []|[{
|
|
6741
6731
|
|
|
6742
6732
|
ignoreDifferentlyNamedParameters?: boolean
|
|
6733
|
+
|
|
6734
|
+
ignoreOverloadsWithDifferentJSDoc?: boolean
|
|
6743
6735
|
}]
|
|
6744
6736
|
// ----- accessor-pairs -----
|
|
6745
6737
|
type AccessorPairs = []|[{
|
|
@@ -6824,6 +6816,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
6824
6816
|
type ClassMethodsUseThis = []|[{
|
|
6825
6817
|
exceptMethods?: string[]
|
|
6826
6818
|
enforceForClassFields?: boolean
|
|
6819
|
+
ignoreOverrideMethods?: boolean
|
|
6820
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
6827
6821
|
}]
|
|
6828
6822
|
// ----- comma-dangle -----
|
|
6829
6823
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -6958,7 +6952,7 @@ type IdMatch = []|[string]|[string, {
|
|
|
6958
6952
|
// ----- implicit-arrow-linebreak -----
|
|
6959
6953
|
type ImplicitArrowLinebreak = []|[("beside" | "below")]
|
|
6960
6954
|
// ----- import/consistent-type-specifier-style -----
|
|
6961
|
-
type ImportConsistentTypeSpecifierStyle = []|[("prefer-
|
|
6955
|
+
type ImportConsistentTypeSpecifierStyle = []|[("prefer-top-level" | "prefer-inline")]
|
|
6962
6956
|
// ----- import/dynamic-import-chunkname -----
|
|
6963
6957
|
type ImportDynamicImportChunkname = []|[{
|
|
6964
6958
|
importFunctions?: string[]
|
|
@@ -7178,6 +7172,17 @@ type ImportOrder = []|[{
|
|
|
7178
7172
|
position?: ("after" | "before")
|
|
7179
7173
|
}[]
|
|
7180
7174
|
"newlines-between"?: ("ignore" | "always" | "always-and-inside-groups" | "never")
|
|
7175
|
+
"newlines-between-types"?: ("ignore" | "always" | "always-and-inside-groups" | "never")
|
|
7176
|
+
consolidateIslands?: ("inside-groups" | "never")
|
|
7177
|
+
sortTypesGroup?: boolean
|
|
7178
|
+
named?: (boolean | {
|
|
7179
|
+
enabled?: boolean
|
|
7180
|
+
import?: boolean
|
|
7181
|
+
export?: boolean
|
|
7182
|
+
require?: boolean
|
|
7183
|
+
cjsExports?: boolean
|
|
7184
|
+
types?: ("mixed" | "types-first" | "types-last")
|
|
7185
|
+
})
|
|
7181
7186
|
alphabetize?: {
|
|
7182
7187
|
caseInsensitive?: boolean
|
|
7183
7188
|
order?: ("ignore" | "asc" | "desc")
|
|
@@ -8255,7 +8260,7 @@ type NNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
8255
8260
|
type NNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
8256
8261
|
version?: string
|
|
8257
8262
|
allowExperimental?: boolean
|
|
8258
|
-
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")[]
|
|
8263
|
+
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")[]
|
|
8259
8264
|
}]
|
|
8260
8265
|
// ----- n/prefer-global/buffer -----
|
|
8261
8266
|
type NPreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -8352,7 +8357,7 @@ type NoEmpty = []|[{
|
|
|
8352
8357
|
}]
|
|
8353
8358
|
// ----- no-empty-function -----
|
|
8354
8359
|
type NoEmptyFunction = []|[{
|
|
8355
|
-
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
|
|
8360
|
+
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
|
|
8356
8361
|
}]
|
|
8357
8362
|
// ----- no-empty-pattern -----
|
|
8358
8363
|
type NoEmptyPattern = []|[{
|
|
@@ -8554,13 +8559,9 @@ type NoRestrictedModules = ((string | {
|
|
|
8554
8559
|
}[])
|
|
8555
8560
|
// ----- no-restricted-properties -----
|
|
8556
8561
|
type NoRestrictedProperties = ({
|
|
8557
|
-
|
|
8558
|
-
property?: string
|
|
8559
|
-
message?: string
|
|
8562
|
+
[k: string]: unknown | undefined
|
|
8560
8563
|
} | {
|
|
8561
|
-
|
|
8562
|
-
property: string
|
|
8563
|
-
message?: string
|
|
8564
|
+
[k: string]: unknown | undefined
|
|
8564
8565
|
})[]
|
|
8565
8566
|
// ----- no-restricted-syntax -----
|
|
8566
8567
|
type NoRestrictedSyntax = (string | {
|
|
@@ -9180,6 +9181,8 @@ type UnicornCatchErrorName = []|[{
|
|
|
9180
9181
|
type UnicornConsistentFunctionScoping = []|[{
|
|
9181
9182
|
checkArrowFunctions?: boolean
|
|
9182
9183
|
}]
|
|
9184
|
+
// ----- unicorn/escape-case -----
|
|
9185
|
+
type UnicornEscapeCase = []|[("uppercase" | "lowercase")]
|
|
9183
9186
|
// ----- unicorn/expiring-todo-comments -----
|
|
9184
9187
|
type UnicornExpiringTodoComments = []|[{
|
|
9185
9188
|
terms?: string[]
|
|
@@ -9264,6 +9267,10 @@ type UnicornNoUselessUndefined = []|[{
|
|
|
9264
9267
|
checkArguments?: boolean
|
|
9265
9268
|
checkArrowFunctionBody?: boolean
|
|
9266
9269
|
}]
|
|
9270
|
+
// ----- unicorn/number-literal-case -----
|
|
9271
|
+
type UnicornNumberLiteralCase = []|[{
|
|
9272
|
+
hexadecimalValue?: ("uppercase" | "lowercase")
|
|
9273
|
+
}]
|
|
9267
9274
|
// ----- unicorn/numeric-separators-style -----
|
|
9268
9275
|
type UnicornNumericSeparatorsStyle = []|[{
|
|
9269
9276
|
binary?: {
|
|
@@ -9547,16 +9554,10 @@ type VueComponentNameInTemplateCasing = []|[("PascalCase" | "kebab-case")]|[("Pa
|
|
|
9547
9554
|
}]
|
|
9548
9555
|
// ----- vue/component-options-name-casing -----
|
|
9549
9556
|
type VueComponentOptionsNameCasing = []|[("camelCase" | "kebab-case" | "PascalCase")]
|
|
9550
|
-
// ----- vue/component-tags-order -----
|
|
9551
|
-
type VueComponentTagsOrder = []|[{
|
|
9552
|
-
order?: (string | string[])[]
|
|
9553
|
-
}]
|
|
9554
9557
|
// ----- vue/custom-event-name-casing -----
|
|
9555
|
-
type VueCustomEventNameCasing =
|
|
9558
|
+
type VueCustomEventNameCasing = []|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
|
|
9556
9559
|
ignores?: string[]
|
|
9557
|
-
}]
|
|
9558
|
-
ignores?: string[]
|
|
9559
|
-
}])
|
|
9560
|
+
}]
|
|
9560
9561
|
// ----- vue/define-emits-declaration -----
|
|
9561
9562
|
type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
|
|
9562
9563
|
// ----- vue/define-macros-order -----
|
|
@@ -10187,6 +10188,14 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
10187
10188
|
enforceForFunctionPrototypeMethods?: boolean
|
|
10188
10189
|
allowParensAfterCommentPattern?: string
|
|
10189
10190
|
}])
|
|
10191
|
+
// ----- vue/no-implicit-coercion -----
|
|
10192
|
+
type VueNoImplicitCoercion = []|[{
|
|
10193
|
+
boolean?: boolean
|
|
10194
|
+
number?: boolean
|
|
10195
|
+
string?: boolean
|
|
10196
|
+
disallowTemplateShorthand?: boolean
|
|
10197
|
+
allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[]
|
|
10198
|
+
}]
|
|
10190
10199
|
// ----- vue/no-irregular-whitespace -----
|
|
10191
10200
|
type VueNoIrregularWhitespace = []|[{
|
|
10192
10201
|
skipComments?: boolean
|
|
@@ -10478,9 +10487,13 @@ type VuePaddingLinesInComponentDefinition = []|[(("always" | "never") | {
|
|
|
10478
10487
|
groupSingleLineProperties?: boolean
|
|
10479
10488
|
})]
|
|
10480
10489
|
// ----- vue/prefer-true-attribute-shorthand -----
|
|
10481
|
-
type VuePreferTrueAttributeShorthand = []|[("always" | "never")]
|
|
10490
|
+
type VuePreferTrueAttributeShorthand = []|[("always" | "never")]|[("always" | "never"), {
|
|
10491
|
+
except?: string[]
|
|
10492
|
+
}]
|
|
10482
10493
|
// ----- vue/prop-name-casing -----
|
|
10483
|
-
type VuePropNameCasing = []|[("camelCase" | "snake_case")]
|
|
10494
|
+
type VuePropNameCasing = []|[("camelCase" | "snake_case")]|[("camelCase" | "snake_case"), {
|
|
10495
|
+
ignoreProps?: string[]
|
|
10496
|
+
}]
|
|
10484
10497
|
// ----- vue/quote-props -----
|
|
10485
10498
|
type VueQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
10486
10499
|
keywords?: boolean
|
|
@@ -10545,7 +10558,6 @@ type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
10545
10558
|
ignoreGrandchildrenOf?: unknown[]
|
|
10546
10559
|
minKeys?: number
|
|
10547
10560
|
natural?: boolean
|
|
10548
|
-
runOutsideVue?: boolean
|
|
10549
10561
|
}]
|
|
10550
10562
|
// ----- vue/space-in-parens -----
|
|
10551
10563
|
type VueSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -10583,10 +10595,6 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
10583
10595
|
})[]
|
|
10584
10596
|
ignoreTags?: string[]
|
|
10585
10597
|
}]
|
|
10586
|
-
// ----- vue/v-on-function-call -----
|
|
10587
|
-
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
10588
|
-
ignoreIncludesComment?: boolean
|
|
10589
|
-
}]
|
|
10590
10598
|
// ----- vue/v-on-handler-style -----
|
|
10591
10599
|
type VueVOnHandlerStyle = []|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")])]|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")]), {
|
|
10592
10600
|
ignoreIncludesComment?: boolean
|