@ntnyq/eslint-config 3.2.1 → 3.3.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.cts CHANGED
@@ -1,16 +1,12 @@
1
1
  import { FlatConfigComposer } from 'eslint-flat-config-utils';
2
2
  import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
3
3
  import { ESLintPluginCommandOptions } from 'eslint-plugin-command/types';
4
+ import { Options } from 'eslint-processor-vue-blocks';
5
+ export { default as processorVueBlocks } from 'eslint-processor-vue-blocks';
4
6
  import { Linter } from 'eslint';
5
- export { default as tseslint } from 'typescript-eslint';
6
- import * as vueEslintParser from 'vue-eslint-parser';
7
- export { vueEslintParser as parserVue };
8
- import * as tomlEslintParser from 'toml-eslint-parser';
9
- export { tomlEslintParser as parserToml };
10
- import * as yamlEslintParser from 'yaml-eslint-parser';
11
- export { yamlEslintParser as parserYaml };
12
- import * as jsoncEslintParser from 'jsonc-eslint-parser';
13
- export { jsoncEslintParser as parserJsonc };
7
+ import { RequiredOptions, BuiltInParserName } from 'prettier';
8
+ export { config as createTypeScriptConfig, plugin as pluginTypeScript, configs as typescriptConfigs } from 'typescript-eslint';
9
+ import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
14
10
  import * as eslintPluginRegexp from 'eslint-plugin-regexp';
15
11
  export { eslintPluginRegexp as pluginRegexp };
16
12
  export { default as pluginNode } from 'eslint-plugin-n';
@@ -22,14 +18,25 @@ export { default as pluginMarkdown } from '@eslint/markdown';
22
18
  export { default as pluginAntfu } from 'eslint-plugin-antfu';
23
19
  export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
24
20
  export { default as pluginJsonc } from 'eslint-plugin-jsonc';
21
+ export { default as pluginFormat } from 'eslint-plugin-format';
25
22
  export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
26
23
  export { default as pluginVitest } from '@vitest/eslint-plugin';
27
24
  export { default as pluginImport } from 'eslint-plugin-import-x';
28
25
  export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
29
26
  export { default as pluginPrettier } from 'eslint-plugin-prettier';
27
+ export { default as pluginGitHubAction } from 'eslint-plugin-github-action';
30
28
  export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
31
29
  export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
32
30
  export { default as pluginComments } from '@eslint-community/eslint-plugin-eslint-comments';
31
+ export { mergeProcessors, processorPassThrough } from 'eslint-merge-processors';
32
+ import * as vueEslintParser from 'vue-eslint-parser';
33
+ export { vueEslintParser as parserVue };
34
+ import * as tomlEslintParser from 'toml-eslint-parser';
35
+ export { tomlEslintParser as parserToml };
36
+ import * as yamlEslintParser from 'yaml-eslint-parser';
37
+ export { yamlEslintParser as parserYaml };
38
+ import * as jsoncEslintParser from 'jsonc-eslint-parser';
39
+ export { jsoncEslintParser as parserJsonc };
33
40
 
34
41
  /**
35
42
  * @file Type Utils
@@ -513,6 +520,11 @@ interface RuleOptions {
513
520
  * @see https://typescript-eslint.io/rules/no-unsafe-return
514
521
  */
515
522
  '@typescript-eslint/no-unsafe-return'?: Linter.RuleEntry<[]>;
523
+ /**
524
+ * Disallow type assertions that narrow a type
525
+ * @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
526
+ */
527
+ '@typescript-eslint/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>;
516
528
  /**
517
529
  * Require unary negation to take a number
518
530
  * @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
@@ -670,6 +682,11 @@ interface RuleOptions {
670
682
  * @see https://typescript-eslint.io/rules/promise-function-async
671
683
  */
672
684
  '@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>;
685
+ /**
686
+ * Enforce that `get()` types should be assignable to their equivalent `set()` type
687
+ * @see https://typescript-eslint.io/rules/related-getter-setter-pairs
688
+ */
689
+ '@typescript-eslint/related-getter-setter-pairs'?: Linter.RuleEntry<[]>;
673
690
  /**
674
691
  * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
675
692
  * @see https://typescript-eslint.io/rules/require-array-sort-compare
@@ -970,6 +987,14 @@ interface RuleOptions {
970
987
  * @see https://eslint.org/docs/latest/rules/for-direction
971
988
  */
972
989
  'for-direction'?: Linter.RuleEntry<[]>;
990
+ /**
991
+ * Use dprint to format code
992
+ */
993
+ 'format/dprint'?: Linter.RuleEntry<FormatDprint>;
994
+ /**
995
+ * Use Prettier to format code
996
+ */
997
+ 'format/prettier'?: Linter.RuleEntry<FormatPrettier>;
973
998
  /**
974
999
  * Require or disallow spacing between function identifiers and their invocations
975
1000
  * @see https://eslint.org/docs/latest/rules/func-call-spacing
@@ -1014,6 +1039,11 @@ interface RuleOptions {
1014
1039
  * @see https://eslint.org/docs/latest/rules/getter-return
1015
1040
  */
1016
1041
  'getter-return'?: Linter.RuleEntry<GetterReturn>;
1042
+ /**
1043
+ * require action name to be set.
1044
+ * @see https://eslint-plugin-github-action.ntnyq.com/rules/require-action-name.html
1045
+ */
1046
+ 'github-action/require-action-name'?: Linter.RuleEntry<[]>;
1017
1047
  /**
1018
1048
  * Require `require()` calls to be placed at top-level module scope
1019
1049
  * @see https://eslint.org/docs/latest/rules/global-require
@@ -1065,233 +1095,233 @@ interface RuleOptions {
1065
1095
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
1066
1096
  /**
1067
1097
  * Enforce or ban the use of inline type-only markers for named imports.
1068
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/consistent-type-specifier-style.md
1098
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/consistent-type-specifier-style.md
1069
1099
  */
1070
1100
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
1071
1101
  /**
1072
1102
  * Ensure a default export is present, given a default import.
1073
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/default.md
1103
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/default.md
1074
1104
  */
1075
1105
  'import/default'?: Linter.RuleEntry<[]>;
1076
1106
  /**
1077
1107
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1078
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/dynamic-import-chunkname.md
1108
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/dynamic-import-chunkname.md
1079
1109
  */
1080
1110
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
1081
1111
  /**
1082
1112
  * Forbid any invalid exports, i.e. re-export of the same name.
1083
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/export.md
1113
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/export.md
1084
1114
  */
1085
1115
  'import/export'?: Linter.RuleEntry<[]>;
1086
1116
  /**
1087
1117
  * Ensure all exports appear after other statements.
1088
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/exports-last.md
1118
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/exports-last.md
1089
1119
  */
1090
1120
  'import/exports-last'?: Linter.RuleEntry<[]>;
1091
1121
  /**
1092
1122
  * Ensure consistent use of file extension within the import path.
1093
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/extensions.md
1123
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/extensions.md
1094
1124
  */
1095
1125
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
1096
1126
  /**
1097
1127
  * Ensure all imports appear before other statements.
1098
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/first.md
1128
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/first.md
1099
1129
  */
1100
1130
  'import/first'?: Linter.RuleEntry<ImportFirst>;
1101
1131
  /**
1102
1132
  * Prefer named exports to be grouped together in a single export declaration.
1103
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/group-exports.md
1133
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/group-exports.md
1104
1134
  */
1105
1135
  'import/group-exports'?: Linter.RuleEntry<[]>;
1106
1136
  /**
1107
1137
  * Replaced by `import-x/first`.
1108
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/imports-first.md
1138
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/imports-first.md
1109
1139
  * @deprecated
1110
1140
  */
1111
1141
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
1112
1142
  /**
1113
1143
  * Enforce the maximum number of dependencies a module can have.
1114
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/max-dependencies.md
1144
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/max-dependencies.md
1115
1145
  */
1116
1146
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
1117
1147
  /**
1118
1148
  * Ensure named imports correspond to a named export in the remote file.
1119
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/named.md
1149
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/named.md
1120
1150
  */
1121
1151
  'import/named'?: Linter.RuleEntry<ImportNamed>;
1122
1152
  /**
1123
1153
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1124
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/namespace.md
1154
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/namespace.md
1125
1155
  */
1126
1156
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
1127
1157
  /**
1128
1158
  * Enforce a newline after import statements.
1129
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/newline-after-import.md
1159
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/newline-after-import.md
1130
1160
  */
1131
1161
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
1132
1162
  /**
1133
1163
  * Forbid import of modules using absolute paths.
1134
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-absolute-path.md
1164
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-absolute-path.md
1135
1165
  */
1136
1166
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
1137
1167
  /**
1138
1168
  * Forbid AMD `require` and `define` calls.
1139
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-amd.md
1169
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-amd.md
1140
1170
  */
1141
1171
  'import/no-amd'?: Linter.RuleEntry<[]>;
1142
1172
  /**
1143
1173
  * Forbid anonymous values as default exports.
1144
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-anonymous-default-export.md
1174
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-anonymous-default-export.md
1145
1175
  */
1146
1176
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
1147
1177
  /**
1148
1178
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1149
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-commonjs.md
1179
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-commonjs.md
1150
1180
  */
1151
1181
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
1152
1182
  /**
1153
1183
  * Forbid a module from importing a module with a dependency path back to itself.
1154
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-cycle.md
1184
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-cycle.md
1155
1185
  */
1156
1186
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
1157
1187
  /**
1158
1188
  * Forbid default exports.
1159
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-default-export.md
1189
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-default-export.md
1160
1190
  */
1161
1191
  'import/no-default-export'?: Linter.RuleEntry<[]>;
1162
1192
  /**
1163
1193
  * Forbid imported names marked with `@deprecated` documentation tag.
1164
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-deprecated.md
1194
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-deprecated.md
1165
1195
  */
1166
1196
  'import/no-deprecated'?: Linter.RuleEntry<[]>;
1167
1197
  /**
1168
1198
  * Forbid repeated import of the same module in multiple places.
1169
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-duplicates.md
1199
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-duplicates.md
1170
1200
  */
1171
1201
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
1172
1202
  /**
1173
1203
  * Forbid `require()` calls with expressions.
1174
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-dynamic-require.md
1204
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-dynamic-require.md
1175
1205
  */
1176
1206
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
1177
1207
  /**
1178
1208
  * Forbid empty named import blocks.
1179
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-empty-named-blocks.md
1209
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-empty-named-blocks.md
1180
1210
  */
1181
1211
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
1182
1212
  /**
1183
1213
  * Forbid the use of extraneous packages.
1184
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-extraneous-dependencies.md
1214
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-extraneous-dependencies.md
1185
1215
  */
1186
1216
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
1187
1217
  /**
1188
1218
  * Forbid import statements with CommonJS module.exports.
1189
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-import-module-exports.md
1219
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-import-module-exports.md
1190
1220
  */
1191
1221
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
1192
1222
  /**
1193
1223
  * Forbid importing the submodules of other modules.
1194
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-internal-modules.md
1224
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-internal-modules.md
1195
1225
  */
1196
1226
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
1197
1227
  /**
1198
1228
  * Forbid the use of mutable exports with `var` or `let`.
1199
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-mutable-exports.md
1229
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-mutable-exports.md
1200
1230
  */
1201
1231
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
1202
1232
  /**
1203
1233
  * Forbid use of exported name as identifier of default export.
1204
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default.md
1234
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default.md
1205
1235
  */
1206
1236
  'import/no-named-as-default'?: Linter.RuleEntry<[]>;
1207
1237
  /**
1208
1238
  * Forbid use of exported name as property of default export.
1209
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default-member.md
1239
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default-member.md
1210
1240
  */
1211
1241
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
1212
1242
  /**
1213
1243
  * Forbid named default exports.
1214
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-default.md
1244
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-default.md
1215
1245
  */
1216
1246
  'import/no-named-default'?: Linter.RuleEntry<[]>;
1217
1247
  /**
1218
1248
  * Forbid named exports.
1219
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-export.md
1249
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-export.md
1220
1250
  */
1221
1251
  'import/no-named-export'?: Linter.RuleEntry<[]>;
1222
1252
  /**
1223
1253
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
1224
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-namespace.md
1254
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-namespace.md
1225
1255
  */
1226
1256
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
1227
1257
  /**
1228
1258
  * Forbid Node.js builtin modules.
1229
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-nodejs-modules.md
1259
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-nodejs-modules.md
1230
1260
  */
1231
1261
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
1232
1262
  /**
1233
1263
  * Forbid importing packages through relative paths.
1234
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-packages.md
1264
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-packages.md
1235
1265
  */
1236
1266
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
1237
1267
  /**
1238
1268
  * Forbid importing modules from parent directories.
1239
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-parent-imports.md
1269
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-parent-imports.md
1240
1270
  */
1241
1271
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
1242
1272
  /**
1243
1273
  * Forbid importing a default export by a different name.
1244
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-rename-default.md
1274
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-rename-default.md
1245
1275
  */
1246
1276
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
1247
1277
  /**
1248
1278
  * Enforce which files can be imported in a given folder.
1249
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-restricted-paths.md
1279
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-restricted-paths.md
1250
1280
  */
1251
1281
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
1252
1282
  /**
1253
1283
  * Forbid a module from importing itself.
1254
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-self-import.md
1284
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-self-import.md
1255
1285
  */
1256
1286
  'import/no-self-import'?: Linter.RuleEntry<[]>;
1257
1287
  /**
1258
1288
  * Forbid unassigned imports.
1259
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unassigned-import.md
1289
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unassigned-import.md
1260
1290
  */
1261
1291
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
1262
1292
  /**
1263
1293
  * Ensure imports point to a file/module that can be resolved.
1264
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unresolved.md
1294
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unresolved.md
1265
1295
  */
1266
1296
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
1267
1297
  /**
1268
1298
  * Forbid modules without exports, or exports without matching import in another module.
1269
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unused-modules.md
1299
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unused-modules.md
1270
1300
  */
1271
1301
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
1272
1302
  /**
1273
1303
  * Forbid unnecessary path segments in import and require statements.
1274
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-useless-path-segments.md
1304
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-useless-path-segments.md
1275
1305
  */
1276
1306
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
1277
1307
  /**
1278
1308
  * Forbid webpack loader syntax in imports.
1279
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-webpack-loader-syntax.md
1309
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-webpack-loader-syntax.md
1280
1310
  */
1281
1311
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
1282
1312
  /**
1283
1313
  * Enforce a convention in module import order.
1284
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/order.md
1314
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/order.md
1285
1315
  */
1286
1316
  'import/order'?: Linter.RuleEntry<ImportOrder>;
1287
1317
  /**
1288
1318
  * Prefer a default export if module exports a single name or multiple names.
1289
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/prefer-default-export.md
1319
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/prefer-default-export.md
1290
1320
  */
1291
1321
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
1292
1322
  /**
1293
1323
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1294
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/unambiguous.md
1324
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/unambiguous.md
1295
1325
  */
1296
1326
  'import/unambiguous'?: Linter.RuleEntry<[]>;
1297
1327
  /**
@@ -2995,7 +3025,7 @@ interface RuleOptions {
2995
3025
  */
2996
3026
  'nonblock-statement-body-position'?: Linter.RuleEntry<NonblockStatementBodyPosition>;
2997
3027
  /**
2998
- * Disallow usage of typescript member accessibility
3028
+ * disallow usage of typescript member accessibility
2999
3029
  * @see https://eslint-plugin.ntnyq.com/rules/no-member-accessibility.html
3000
3030
  */
3001
3031
  'ntnyq/no-member-accessibility'?: Linter.RuleEntry<[]>;
@@ -3061,17 +3091,16 @@ interface RuleOptions {
3061
3091
  * @see https://perfectionist.dev/rules/sort-array-includes
3062
3092
  */
3063
3093
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>;
3064
- /**
3065
- * Enforce sorted Astro attributes.
3066
- * @see https://perfectionist.dev/rules/sort-astro-attributes
3067
- * @deprecated
3068
- */
3069
- 'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>;
3070
3094
  /**
3071
3095
  * Enforce sorted classes.
3072
3096
  * @see https://perfectionist.dev/rules/sort-classes
3073
3097
  */
3074
3098
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>;
3099
+ /**
3100
+ * Enforce sorted decorators.
3101
+ * @see https://perfectionist.dev/rules/sort-decorators
3102
+ */
3103
+ 'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>;
3075
3104
  /**
3076
3105
  * Enforce sorted TypeScript enums.
3077
3106
  * @see https://perfectionist.dev/rules/sort-enums
@@ -3082,6 +3111,11 @@ interface RuleOptions {
3082
3111
  * @see https://perfectionist.dev/rules/sort-exports
3083
3112
  */
3084
3113
  'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>;
3114
+ /**
3115
+ * Enforce sorted heritage clauses.
3116
+ * @see https://perfectionist.dev/rules/sort-heritage-clauses
3117
+ */
3118
+ 'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
3085
3119
  /**
3086
3120
  * Enforce sorted imports.
3087
3121
  * @see https://perfectionist.dev/rules/sort-imports
@@ -3107,6 +3141,11 @@ interface RuleOptions {
3107
3141
  * @see https://perfectionist.dev/rules/sort-maps
3108
3142
  */
3109
3143
  'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>;
3144
+ /**
3145
+ * Enforce sorted modules.
3146
+ * @see https://perfectionist.dev/rules/sort-modules
3147
+ */
3148
+ 'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>;
3110
3149
  /**
3111
3150
  * Enforce sorted named exports.
3112
3151
  * @see https://perfectionist.dev/rules/sort-named-exports
@@ -3132,12 +3171,6 @@ interface RuleOptions {
3132
3171
  * @see https://perfectionist.dev/rules/sort-sets
3133
3172
  */
3134
3173
  'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>;
3135
- /**
3136
- * Enforce sorted Svelte attributes.
3137
- * @see https://perfectionist.dev/rules/sort-svelte-attributes
3138
- * @deprecated
3139
- */
3140
- 'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>;
3141
3174
  /**
3142
3175
  * Enforce sorted switch cases.
3143
3176
  * @see https://perfectionist.dev/rules/sort-switch-case
@@ -3153,12 +3186,6 @@ interface RuleOptions {
3153
3186
  * @see https://perfectionist.dev/rules/sort-variable-declarations
3154
3187
  */
3155
3188
  'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>;
3156
- /**
3157
- * Enforce sorted Vue attributes.
3158
- * @see https://perfectionist.dev/rules/sort-vue-attributes
3159
- * @deprecated
3160
- */
3161
- 'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>;
3162
3189
  /**
3163
3190
  * Require using arrow functions for callbacks
3164
3191
  * @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
@@ -3902,702 +3929,702 @@ interface RuleOptions {
3902
3929
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
3903
3930
  /**
3904
3931
  * Improve regexes by making them shorter, consistent, and safer.
3905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/better-regex.md
3932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
3906
3933
  */
3907
3934
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
3908
3935
  /**
3909
3936
  * Enforce a specific parameter name in catch clauses.
3910
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/catch-error-name.md
3937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
3911
3938
  */
3912
3939
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
3913
3940
  /**
3914
3941
  * Use destructured variables over properties.
3915
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-destructuring.md
3942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
3916
3943
  */
3917
3944
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
3918
3945
  /**
3919
3946
  * Prefer consistent types when spreading a ternary in an array literal.
3920
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-empty-array-spread.md
3947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
3921
3948
  */
3922
3949
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
3923
3950
  /**
3924
3951
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
3925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-existence-index-check.md
3952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
3926
3953
  */
3927
3954
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
3928
3955
  /**
3929
3956
  * Move function definitions to the highest possible scope.
3930
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-function-scoping.md
3957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
3931
3958
  */
3932
3959
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
3933
3960
  /**
3934
3961
  * Enforce correct `Error` subclassing.
3935
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/custom-error-definition.md
3962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
3936
3963
  */
3937
3964
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
3938
3965
  /**
3939
3966
  * Enforce no spaces between braces.
3940
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/empty-brace-spaces.md
3967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
3941
3968
  */
3942
3969
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
3943
3970
  /**
3944
3971
  * Enforce passing a `message` value when creating a built-in error.
3945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/error-message.md
3972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
3946
3973
  */
3947
3974
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
3948
3975
  /**
3949
3976
  * Require escape sequences to use uppercase values.
3950
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/escape-case.md
3977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
3951
3978
  */
3952
3979
  'unicorn/escape-case'?: Linter.RuleEntry<[]>;
3953
3980
  /**
3954
3981
  * Add expiration conditions to TODO comments.
3955
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/expiring-todo-comments.md
3982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
3956
3983
  */
3957
3984
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
3958
3985
  /**
3959
3986
  * Enforce explicitly comparing the `length` or `size` property of a value.
3960
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/explicit-length-check.md
3987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
3961
3988
  */
3962
3989
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
3963
3990
  /**
3964
3991
  * Enforce a case style for filenames.
3965
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/filename-case.md
3992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
3966
3993
  */
3967
3994
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
3968
3995
  /**
3969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#import-index
3996
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
3970
3997
  * @deprecated
3971
3998
  */
3972
3999
  'unicorn/import-index'?: Linter.RuleEntry<[]>;
3973
4000
  /**
3974
4001
  * Enforce specific import styles per module.
3975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/import-style.md
4002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
3976
4003
  */
3977
4004
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
3978
4005
  /**
3979
4006
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
3980
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/new-for-builtins.md
4007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
3981
4008
  */
3982
4009
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
3983
4010
  /**
3984
4011
  * Enforce specifying rules to disable in `eslint-disable` comments.
3985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-abusive-eslint-disable.md
4012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
3986
4013
  */
3987
4014
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
3988
4015
  /**
3989
4016
  * Disallow anonymous functions and classes as the default export.
3990
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-anonymous-default-export.md
4017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
3991
4018
  */
3992
4019
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
3993
4020
  /**
3994
4021
  * Prevent passing a function reference directly to iterator methods.
3995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-callback-reference.md
4022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
3996
4023
  */
3997
4024
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
3998
4025
  /**
3999
4026
  * Prefer `for…of` over the `forEach` method.
4000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-for-each.md
4027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
4001
4028
  */
4002
4029
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
4003
4030
  /**
4004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-array-instanceof
4031
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
4005
4032
  * @deprecated
4006
4033
  */
4007
4034
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>;
4008
4035
  /**
4009
4036
  * Disallow using the `this` argument in array methods.
4010
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-method-this-argument.md
4037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
4011
4038
  */
4012
4039
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
4013
4040
  /**
4014
4041
  * Enforce combining multiple `Array#push()` into one call.
4015
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-push-push.md
4042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
4016
4043
  */
4017
4044
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>;
4018
4045
  /**
4019
4046
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
4020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-reduce.md
4047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
4021
4048
  */
4022
4049
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
4023
4050
  /**
4024
4051
  * Disallow member access from await expression.
4025
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-expression-member.md
4052
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
4026
4053
  */
4027
4054
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
4028
4055
  /**
4029
4056
  * Disallow using `await` in `Promise` method parameters.
4030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-in-promise-methods.md
4057
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
4031
4058
  */
4032
4059
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
4033
4060
  /**
4034
4061
  * Do not use leading/trailing space between `console.log` parameters.
4035
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-console-spaces.md
4062
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
4036
4063
  */
4037
4064
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
4038
4065
  /**
4039
4066
  * Do not use `document.cookie` directly.
4040
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-document-cookie.md
4067
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
4041
4068
  */
4042
4069
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
4043
4070
  /**
4044
4071
  * Disallow empty files.
4045
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-empty-file.md
4072
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
4046
4073
  */
4047
4074
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
4048
4075
  /**
4049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
4076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
4050
4077
  * @deprecated
4051
4078
  */
4052
4079
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>;
4053
4080
  /**
4054
4081
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
4055
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-for-loop.md
4082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
4056
4083
  */
4057
4084
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
4058
4085
  /**
4059
4086
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
4060
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-hex-escape.md
4087
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
4061
4088
  */
4062
4089
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
4063
4090
  /**
4064
4091
  * Require `Array.isArray()` instead of `instanceof Array`.
4065
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-instanceof-array.md
4092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
4066
4093
  */
4067
4094
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
4068
4095
  /**
4069
4096
  * Disallow invalid options in `fetch()` and `new Request()`.
4070
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-fetch-options.md
4097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
4071
4098
  */
4072
4099
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
4073
4100
  /**
4074
4101
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
4075
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-remove-event-listener.md
4102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
4076
4103
  */
4077
4104
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
4078
4105
  /**
4079
4106
  * Disallow identifiers starting with `new` or `class`.
4080
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-keyword-prefix.md
4107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
4081
4108
  */
4082
4109
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
4083
4110
  /**
4084
4111
  * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
4085
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-length-as-slice-end.md
4112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
4086
4113
  */
4087
4114
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
4088
4115
  /**
4089
4116
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
4090
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-lonely-if.md
4117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
4091
4118
  */
4092
4119
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
4093
4120
  /**
4094
4121
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
4095
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-magic-array-flat-depth.md
4122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
4096
4123
  */
4097
4124
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
4098
4125
  /**
4099
4126
  * Disallow negated conditions.
4100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negated-condition.md
4127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
4101
4128
  */
4102
4129
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
4103
4130
  /**
4104
4131
  * Disallow negated expression in equality check.
4105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negation-in-equality-check.md
4132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
4106
4133
  */
4107
4134
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
4108
4135
  /**
4109
4136
  * Disallow nested ternary expressions.
4110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-nested-ternary.md
4137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
4111
4138
  */
4112
4139
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
4113
4140
  /**
4114
4141
  * Disallow `new Array()`.
4115
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-array.md
4142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
4116
4143
  */
4117
4144
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
4118
4145
  /**
4119
4146
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
4120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-buffer.md
4147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
4121
4148
  */
4122
4149
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
4123
4150
  /**
4124
4151
  * Disallow the use of the `null` literal.
4125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-null.md
4152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
4126
4153
  */
4127
4154
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
4128
4155
  /**
4129
4156
  * Disallow the use of objects as default parameters.
4130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-object-as-default-parameter.md
4157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
4131
4158
  */
4132
4159
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
4133
4160
  /**
4134
4161
  * Disallow `process.exit()`.
4135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-process-exit.md
4162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
4136
4163
  */
4137
4164
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
4138
4165
  /**
4139
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-reduce
4166
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
4140
4167
  * @deprecated
4141
4168
  */
4142
4169
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>;
4143
4170
  /**
4144
4171
  * Disallow passing single-element arrays to `Promise` methods.
4145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-single-promise-in-promise-methods.md
4172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
4146
4173
  */
4147
4174
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
4148
4175
  /**
4149
4176
  * Disallow classes that only have static members.
4150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-static-only-class.md
4177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
4151
4178
  */
4152
4179
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
4153
4180
  /**
4154
4181
  * Disallow `then` property.
4155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-thenable.md
4182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
4156
4183
  */
4157
4184
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
4158
4185
  /**
4159
4186
  * Disallow assigning `this` to a variable.
4160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-this-assignment.md
4187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
4161
4188
  */
4162
4189
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
4163
4190
  /**
4164
4191
  * Disallow comparing `undefined` using `typeof`.
4165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-typeof-undefined.md
4192
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
4166
4193
  */
4167
4194
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
4168
4195
  /**
4169
4196
  * Disallow awaiting non-promise values.
4170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-await.md
4197
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
4171
4198
  */
4172
4199
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
4173
4200
  /**
4174
4201
  * Enforce the use of built-in methods instead of unnecessary polyfills.
4175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-polyfills.md
4202
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
4176
4203
  */
4177
4204
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
4178
4205
  /**
4179
4206
  * Disallow unreadable array destructuring.
4180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-array-destructuring.md
4207
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
4181
4208
  */
4182
4209
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
4183
4210
  /**
4184
4211
  * Disallow unreadable IIFEs.
4185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-iife.md
4212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
4186
4213
  */
4187
4214
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
4188
4215
  /**
4189
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-unsafe-regex
4216
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
4190
4217
  * @deprecated
4191
4218
  */
4192
4219
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>;
4193
4220
  /**
4194
4221
  * Disallow unused object properties.
4195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unused-properties.md
4222
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
4196
4223
  */
4197
4224
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
4198
4225
  /**
4199
4226
  * Disallow useless fallback when spreading in object literals.
4200
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-fallback-in-spread.md
4227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
4201
4228
  */
4202
4229
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
4203
4230
  /**
4204
4231
  * Disallow useless array length check.
4205
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-length-check.md
4232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
4206
4233
  */
4207
4234
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
4208
4235
  /**
4209
4236
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
4210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-promise-resolve-reject.md
4237
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
4211
4238
  */
4212
4239
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
4213
4240
  /**
4214
4241
  * Disallow unnecessary spread.
4215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-spread.md
4242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
4216
4243
  */
4217
4244
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
4218
4245
  /**
4219
4246
  * Disallow useless case in switch statements.
4220
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-switch-case.md
4247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
4221
4248
  */
4222
4249
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
4223
4250
  /**
4224
4251
  * Disallow useless `undefined`.
4225
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-undefined.md
4252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
4226
4253
  */
4227
4254
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
4228
4255
  /**
4229
4256
  * Disallow number literals with zero fractions or dangling dots.
4230
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-zero-fractions.md
4257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
4231
4258
  */
4232
4259
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
4233
4260
  /**
4234
4261
  * Enforce proper case for numeric literals.
4235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/number-literal-case.md
4262
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
4236
4263
  */
4237
4264
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>;
4238
4265
  /**
4239
4266
  * Enforce the style of numeric separators by correctly grouping digits.
4240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/numeric-separators-style.md
4267
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
4241
4268
  */
4242
4269
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
4243
4270
  /**
4244
4271
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
4245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-add-event-listener.md
4272
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
4246
4273
  */
4247
4274
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
4248
4275
  /**
4249
4276
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
4250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-find.md
4277
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
4251
4278
  */
4252
4279
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
4253
4280
  /**
4254
4281
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
4255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat.md
4282
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
4256
4283
  */
4257
4284
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
4258
4285
  /**
4259
4286
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
4260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat-map.md
4287
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
4261
4288
  */
4262
4289
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
4263
4290
  /**
4264
4291
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
4265
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-index-of.md
4292
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
4266
4293
  */
4267
4294
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
4268
4295
  /**
4269
4296
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
4270
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-some.md
4297
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
4271
4298
  */
4272
4299
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
4273
4300
  /**
4274
4301
  * Prefer `.at()` method for index access and `String#charAt()`.
4275
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-at.md
4302
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
4276
4303
  */
4277
4304
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
4278
4305
  /**
4279
4306
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
4280
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-blob-reading-methods.md
4307
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
4281
4308
  */
4282
4309
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
4283
4310
  /**
4284
4311
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
4285
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-code-point.md
4312
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
4286
4313
  */
4287
4314
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
4288
4315
  /**
4289
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-dataset
4316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
4290
4317
  * @deprecated
4291
4318
  */
4292
4319
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>;
4293
4320
  /**
4294
4321
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
4295
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-date-now.md
4322
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
4296
4323
  */
4297
4324
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
4298
4325
  /**
4299
4326
  * Prefer default parameters over reassignment.
4300
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-default-parameters.md
4327
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
4301
4328
  */
4302
4329
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
4303
4330
  /**
4304
4331
  * Prefer `Node#append()` over `Node#appendChild()`.
4305
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-append.md
4332
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
4306
4333
  */
4307
4334
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
4308
4335
  /**
4309
4336
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
4310
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-dataset.md
4337
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
4311
4338
  */
4312
4339
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
4313
4340
  /**
4314
4341
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
4315
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-remove.md
4342
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
4316
4343
  */
4317
4344
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
4318
4345
  /**
4319
4346
  * Prefer `.textContent` over `.innerText`.
4320
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-text-content.md
4347
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
4321
4348
  */
4322
4349
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
4323
4350
  /**
4324
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-event-key
4351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
4325
4352
  * @deprecated
4326
4353
  */
4327
4354
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>;
4328
4355
  /**
4329
4356
  * Prefer `EventTarget` over `EventEmitter`.
4330
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-event-target.md
4357
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
4331
4358
  */
4332
4359
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
4333
4360
  /**
4334
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
4361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
4335
4362
  * @deprecated
4336
4363
  */
4337
4364
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>;
4338
4365
  /**
4339
4366
  * Prefer `export…from` when re-exporting.
4340
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-export-from.md
4367
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
4341
4368
  */
4342
4369
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
4343
4370
  /**
4344
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-flat-map
4371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
4345
4372
  * @deprecated
4346
4373
  */
4347
4374
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>;
4348
4375
  /**
4349
4376
  * Prefer `globalThis` over `window`, `self`, and `global`.
4350
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-global-this.md
4377
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
4351
4378
  */
4352
4379
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
4353
4380
  /**
4354
4381
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
4355
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-includes.md
4382
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
4356
4383
  */
4357
4384
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
4358
4385
  /**
4359
4386
  * Prefer reading a JSON file as a buffer.
4360
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-json-parse-buffer.md
4387
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
4361
4388
  */
4362
4389
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
4363
4390
  /**
4364
4391
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
4365
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-keyboard-event-key.md
4392
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
4366
4393
  */
4367
4394
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
4368
4395
  /**
4369
4396
  * Prefer using a logical operator over a ternary.
4370
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-logical-operator-over-ternary.md
4397
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
4371
4398
  */
4372
4399
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
4373
4400
  /**
4374
4401
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
4375
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-min-max.md
4402
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
4376
4403
  */
4377
4404
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
4378
4405
  /**
4379
4406
  * Enforce the use of `Math.trunc` instead of bitwise operators.
4380
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-trunc.md
4407
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
4381
4408
  */
4382
4409
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
4383
4410
  /**
4384
4411
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
4385
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-dom-apis.md
4412
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
4386
4413
  */
4387
4414
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
4388
4415
  /**
4389
4416
  * Prefer modern `Math` APIs over legacy patterns.
4390
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-math-apis.md
4417
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
4391
4418
  */
4392
4419
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
4393
4420
  /**
4394
4421
  * Prefer JavaScript modules (ESM) over CommonJS.
4395
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-module.md
4422
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
4396
4423
  */
4397
4424
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
4398
4425
  /**
4399
4426
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
4400
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-native-coercion-functions.md
4427
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
4401
4428
  */
4402
4429
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
4403
4430
  /**
4404
4431
  * Prefer negative index over `.length - index` when possible.
4405
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-negative-index.md
4432
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
4406
4433
  */
4407
4434
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
4408
4435
  /**
4409
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-append
4436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
4410
4437
  * @deprecated
4411
4438
  */
4412
4439
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>;
4413
4440
  /**
4414
4441
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
4415
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-node-protocol.md
4442
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
4416
4443
  */
4417
4444
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
4418
4445
  /**
4419
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-remove
4446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
4420
4447
  * @deprecated
4421
4448
  */
4422
4449
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>;
4423
4450
  /**
4424
4451
  * Prefer `Number` static properties over global ones.
4425
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-number-properties.md
4452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
4426
4453
  */
4427
4454
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
4428
4455
  /**
4429
4456
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
4430
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-object-from-entries.md
4457
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
4431
4458
  */
4432
4459
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
4433
4460
  /**
4434
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-object-has-own
4461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
4435
4462
  * @deprecated
4436
4463
  */
4437
4464
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>;
4438
4465
  /**
4439
4466
  * Prefer omitting the `catch` binding parameter.
4440
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-optional-catch-binding.md
4467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
4441
4468
  */
4442
4469
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
4443
4470
  /**
4444
4471
  * Prefer borrowing methods from the prototype instead of the instance.
4445
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-prototype-methods.md
4472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
4446
4473
  */
4447
4474
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
4448
4475
  /**
4449
4476
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
4450
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-query-selector.md
4477
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
4451
4478
  */
4452
4479
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
4453
4480
  /**
4454
4481
  * Prefer `Reflect.apply()` over `Function#apply()`.
4455
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-reflect-apply.md
4482
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
4456
4483
  */
4457
4484
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
4458
4485
  /**
4459
4486
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
4460
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-regexp-test.md
4487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
4461
4488
  */
4462
4489
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
4463
4490
  /**
4464
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-replace-all
4491
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
4465
4492
  * @deprecated
4466
4493
  */
4467
4494
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>;
4468
4495
  /**
4469
4496
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
4470
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-has.md
4497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
4471
4498
  */
4472
4499
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
4473
4500
  /**
4474
4501
  * Prefer using `Set#size` instead of `Array#length`.
4475
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-size.md
4502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
4476
4503
  */
4477
4504
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
4478
4505
  /**
4479
4506
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
4480
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-spread.md
4507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
4481
4508
  */
4482
4509
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
4483
4510
  /**
4484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
4511
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
4485
4512
  * @deprecated
4486
4513
  */
4487
4514
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>;
4488
4515
  /**
4489
4516
  * Prefer using the `String.raw` tag to avoid escaping `\`.
4490
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-raw.md
4517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
4491
4518
  */
4492
4519
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
4493
4520
  /**
4494
4521
  * Prefer `String#replaceAll()` over regex searches with the global flag.
4495
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-replace-all.md
4522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
4496
4523
  */
4497
4524
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
4498
4525
  /**
4499
4526
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
4500
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-slice.md
4527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
4501
4528
  */
4502
4529
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
4503
4530
  /**
4504
4531
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
4505
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-starts-ends-with.md
4532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
4506
4533
  */
4507
4534
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
4508
4535
  /**
4509
4536
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
4510
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-trim-start-end.md
4537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
4511
4538
  */
4512
4539
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
4513
4540
  /**
4514
4541
  * Prefer using `structuredClone` to create a deep clone.
4515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-structured-clone.md
4542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
4516
4543
  */
4517
4544
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
4518
4545
  /**
4519
4546
  * Prefer `switch` over multiple `else-if`.
4520
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-switch.md
4547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
4521
4548
  */
4522
4549
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
4523
4550
  /**
4524
4551
  * Prefer ternary expressions over simple `if-else` statements.
4525
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-ternary.md
4552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
4526
4553
  */
4527
4554
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
4528
4555
  /**
4529
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-text-content
4556
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
4530
4557
  * @deprecated
4531
4558
  */
4532
4559
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>;
4533
4560
  /**
4534
4561
  * Prefer top-level await over top-level promises and async function calls.
4535
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-top-level-await.md
4562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
4536
4563
  */
4537
4564
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
4538
4565
  /**
4539
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-trim-start-end
4566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
4540
4567
  * @deprecated
4541
4568
  */
4542
4569
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>;
4543
4570
  /**
4544
4571
  * Enforce throwing `TypeError` in type checking conditions.
4545
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-type-error.md
4572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
4546
4573
  */
4547
4574
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
4548
4575
  /**
4549
4576
  * Prevent abbreviations.
4550
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prevent-abbreviations.md
4577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
4551
4578
  */
4552
4579
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
4553
4580
  /**
4554
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#regex-shorthand
4581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
4555
4582
  * @deprecated
4556
4583
  */
4557
4584
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>;
4558
4585
  /**
4559
4586
  * Enforce consistent relative URL style.
4560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/relative-url-style.md
4587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
4561
4588
  */
4562
4589
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
4563
4590
  /**
4564
4591
  * Enforce using the separator argument with `Array#join()`.
4565
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-array-join-separator.md
4592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
4566
4593
  */
4567
4594
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
4568
4595
  /**
4569
4596
  * Enforce using the digits argument with `Number#toFixed()`.
4570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-number-to-fixed-digits-argument.md
4597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
4571
4598
  */
4572
4599
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
4573
4600
  /**
4574
4601
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
4575
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-post-message-target-origin.md
4602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
4576
4603
  */
4577
4604
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
4578
4605
  /**
4579
4606
  * Enforce better string content.
4580
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/string-content.md
4607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
4581
4608
  */
4582
4609
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
4583
4610
  /**
4584
4611
  * Enforce consistent brace style for `case` clauses.
4585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/switch-case-braces.md
4612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
4586
4613
  */
4587
4614
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
4588
4615
  /**
4589
4616
  * Fix whitespace-insensitive template indentation.
4590
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/template-indent.md
4617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
4591
4618
  */
4592
4619
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
4593
4620
  /**
4594
4621
  * Enforce consistent case for text encoding identifiers.
4595
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/text-encoding-identifier-case.md
4622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
4596
4623
  */
4597
4624
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
4598
4625
  /**
4599
4626
  * Require `new` when creating an error.
4600
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/throw-new-error.md
4627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
4601
4628
  */
4602
4629
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
4603
4630
  /**
@@ -4645,6 +4672,317 @@ interface RuleOptions {
4645
4672
  * @see https://eslint.org/docs/latest/rules/vars-on-top
4646
4673
  */
4647
4674
  'vars-on-top'?: Linter.RuleEntry<[]>;
4675
+ /**
4676
+ * require .spec test file pattern
4677
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
4678
+ */
4679
+ 'vitest/consistent-test-filename'?: Linter.RuleEntry<VitestConsistentTestFilename>;
4680
+ /**
4681
+ * enforce using test or it but not both
4682
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
4683
+ */
4684
+ 'vitest/consistent-test-it'?: Linter.RuleEntry<VitestConsistentTestIt>;
4685
+ /**
4686
+ * enforce having expectation in test body
4687
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4688
+ */
4689
+ 'vitest/expect-expect'?: Linter.RuleEntry<VitestExpectExpect>;
4690
+ /**
4691
+ * enforce a maximum number of expect per test
4692
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
4693
+ */
4694
+ 'vitest/max-expects'?: Linter.RuleEntry<VitestMaxExpects>;
4695
+ /**
4696
+ * require describe block to be less than set max value or default value
4697
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
4698
+ */
4699
+ 'vitest/max-nested-describe'?: Linter.RuleEntry<VitestMaxNestedDescribe>;
4700
+ /**
4701
+ * disallow alias methods
4702
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-alias-methods.md
4703
+ */
4704
+ 'vitest/no-alias-methods'?: Linter.RuleEntry<[]>;
4705
+ /**
4706
+ * disallow commented out tests
4707
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-commented-out-tests.md
4708
+ */
4709
+ 'vitest/no-commented-out-tests'?: Linter.RuleEntry<[]>;
4710
+ /**
4711
+ * disallow conditional expects
4712
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
4713
+ */
4714
+ 'vitest/no-conditional-expect'?: Linter.RuleEntry<[]>;
4715
+ /**
4716
+ * disallow conditional tests
4717
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
4718
+ */
4719
+ 'vitest/no-conditional-in-test'?: Linter.RuleEntry<[]>;
4720
+ /**
4721
+ * disallow conditional tests
4722
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-tests.md
4723
+ */
4724
+ 'vitest/no-conditional-tests'?: Linter.RuleEntry<[]>;
4725
+ /**
4726
+ * disallow disabled tests
4727
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-disabled-tests.md
4728
+ */
4729
+ 'vitest/no-disabled-tests'?: Linter.RuleEntry<[]>;
4730
+ /**
4731
+ * disallow using a callback in asynchronous tests and hooks
4732
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-done-callback.md
4733
+ * @deprecated
4734
+ */
4735
+ 'vitest/no-done-callback'?: Linter.RuleEntry<[]>;
4736
+ /**
4737
+ * disallow duplicate hooks and teardown hooks
4738
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-duplicate-hooks.md
4739
+ */
4740
+ 'vitest/no-duplicate-hooks'?: Linter.RuleEntry<[]>;
4741
+ /**
4742
+ * disallow focused tests
4743
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
4744
+ */
4745
+ 'vitest/no-focused-tests'?: Linter.RuleEntry<VitestNoFocusedTests>;
4746
+ /**
4747
+ * disallow setup and teardown hooks
4748
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
4749
+ */
4750
+ 'vitest/no-hooks'?: Linter.RuleEntry<VitestNoHooks>;
4751
+ /**
4752
+ * disallow identical titles
4753
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
4754
+ */
4755
+ 'vitest/no-identical-title'?: Linter.RuleEntry<[]>;
4756
+ /**
4757
+ * disallow importing `node:test`
4758
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
4759
+ */
4760
+ 'vitest/no-import-node-test'?: Linter.RuleEntry<[]>;
4761
+ /**
4762
+ * disallow string interpolation in snapshots
4763
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
4764
+ */
4765
+ 'vitest/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>;
4766
+ /**
4767
+ * disallow large snapshots
4768
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
4769
+ */
4770
+ 'vitest/no-large-snapshots'?: Linter.RuleEntry<VitestNoLargeSnapshots>;
4771
+ /**
4772
+ * disallow importing from __mocks__ directory
4773
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
4774
+ */
4775
+ 'vitest/no-mocks-import'?: Linter.RuleEntry<[]>;
4776
+ /**
4777
+ * disallow the use of certain matchers
4778
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
4779
+ */
4780
+ 'vitest/no-restricted-matchers'?: Linter.RuleEntry<VitestNoRestrictedMatchers>;
4781
+ /**
4782
+ * disallow specific `vi.` methods
4783
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
4784
+ */
4785
+ 'vitest/no-restricted-vi-methods'?: Linter.RuleEntry<VitestNoRestrictedViMethods>;
4786
+ /**
4787
+ * disallow using `expect` outside of `it` or `test` blocks
4788
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
4789
+ */
4790
+ 'vitest/no-standalone-expect'?: Linter.RuleEntry<VitestNoStandaloneExpect>;
4791
+ /**
4792
+ * disallow using `test` as a prefix
4793
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
4794
+ */
4795
+ 'vitest/no-test-prefixes'?: Linter.RuleEntry<[]>;
4796
+ /**
4797
+ * disallow return statements in tests
4798
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
4799
+ */
4800
+ 'vitest/no-test-return-statement'?: Linter.RuleEntry<[]>;
4801
+ /**
4802
+ * Enforce padding around `afterAll` blocks
4803
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
4804
+ */
4805
+ 'vitest/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>;
4806
+ /**
4807
+ * Enforce padding around `afterEach` blocks
4808
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md
4809
+ */
4810
+ 'vitest/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>;
4811
+ /**
4812
+ * Enforce padding around vitest functions
4813
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-all.md
4814
+ */
4815
+ 'vitest/padding-around-all'?: Linter.RuleEntry<[]>;
4816
+ /**
4817
+ * Enforce padding around `beforeAll` blocks
4818
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-all-blocks.md
4819
+ */
4820
+ 'vitest/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>;
4821
+ /**
4822
+ * Enforce padding around `beforeEach` blocks
4823
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-each-blocks.md
4824
+ */
4825
+ 'vitest/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>;
4826
+ /**
4827
+ * Enforce padding around `describe` blocks
4828
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-describe-blocks.md
4829
+ */
4830
+ 'vitest/padding-around-describe-blocks'?: Linter.RuleEntry<[]>;
4831
+ /**
4832
+ * Enforce padding around `expect` groups
4833
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-expect-groups.md
4834
+ */
4835
+ 'vitest/padding-around-expect-groups'?: Linter.RuleEntry<[]>;
4836
+ /**
4837
+ * Enforce padding around afterAll blocks
4838
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
4839
+ */
4840
+ 'vitest/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
4841
+ /**
4842
+ * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
4843
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
4844
+ */
4845
+ 'vitest/prefer-called-with'?: Linter.RuleEntry<[]>;
4846
+ /**
4847
+ * enforce using the built-in comparison matchers
4848
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
4849
+ */
4850
+ 'vitest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>;
4851
+ /**
4852
+ * enforce using `each` rather than manual loops
4853
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
4854
+ */
4855
+ 'vitest/prefer-each'?: Linter.RuleEntry<[]>;
4856
+ /**
4857
+ * enforce using the built-in quality matchers
4858
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
4859
+ */
4860
+ 'vitest/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
4861
+ /**
4862
+ * enforce using expect assertions instead of callbacks
4863
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
4864
+ */
4865
+ 'vitest/prefer-expect-assertions'?: Linter.RuleEntry<VitestPreferExpectAssertions>;
4866
+ /**
4867
+ * enforce using `expect().resolves` over `expect(await ...)` syntax
4868
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
4869
+ */
4870
+ 'vitest/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
4871
+ /**
4872
+ * enforce having hooks in consistent order
4873
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
4874
+ */
4875
+ 'vitest/prefer-hooks-in-order'?: Linter.RuleEntry<[]>;
4876
+ /**
4877
+ * enforce having hooks before any test cases
4878
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
4879
+ */
4880
+ 'vitest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
4881
+ /**
4882
+ * enforce lowercase titles
4883
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
4884
+ */
4885
+ 'vitest/prefer-lowercase-title'?: Linter.RuleEntry<VitestPreferLowercaseTitle>;
4886
+ /**
4887
+ * enforce mock resolved/rejected shorthands for promises
4888
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
4889
+ */
4890
+ 'vitest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
4891
+ /**
4892
+ * enforce including a hint with external snapshots
4893
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
4894
+ */
4895
+ 'vitest/prefer-snapshot-hint'?: Linter.RuleEntry<VitestPreferSnapshotHint>;
4896
+ /**
4897
+ * enforce using `vi.spyOn`
4898
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
4899
+ */
4900
+ 'vitest/prefer-spy-on'?: Linter.RuleEntry<[]>;
4901
+ /**
4902
+ * enforce strict equal over equal
4903
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
4904
+ */
4905
+ 'vitest/prefer-strict-equal'?: Linter.RuleEntry<[]>;
4906
+ /**
4907
+ * enforce using toBe()
4908
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
4909
+ */
4910
+ 'vitest/prefer-to-be'?: Linter.RuleEntry<[]>;
4911
+ /**
4912
+ * enforce using toBeFalsy()
4913
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
4914
+ */
4915
+ 'vitest/prefer-to-be-falsy'?: Linter.RuleEntry<[]>;
4916
+ /**
4917
+ * enforce using toBeObject()
4918
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
4919
+ */
4920
+ 'vitest/prefer-to-be-object'?: Linter.RuleEntry<[]>;
4921
+ /**
4922
+ * enforce using `toBeTruthy`
4923
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
4924
+ */
4925
+ 'vitest/prefer-to-be-truthy'?: Linter.RuleEntry<[]>;
4926
+ /**
4927
+ * enforce using toContain()
4928
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
4929
+ */
4930
+ 'vitest/prefer-to-contain'?: Linter.RuleEntry<[]>;
4931
+ /**
4932
+ * enforce using toHaveLength()
4933
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
4934
+ */
4935
+ 'vitest/prefer-to-have-length'?: Linter.RuleEntry<[]>;
4936
+ /**
4937
+ * enforce using `test.todo`
4938
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
4939
+ */
4940
+ 'vitest/prefer-todo'?: Linter.RuleEntry<[]>;
4941
+ /**
4942
+ * Prefer `vi.mocked()` over `fn as Mock`
4943
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
4944
+ */
4945
+ 'vitest/prefer-vi-mocked'?: Linter.RuleEntry<[]>;
4946
+ /**
4947
+ * require setup and teardown to be within a hook
4948
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
4949
+ */
4950
+ 'vitest/require-hook'?: Linter.RuleEntry<VitestRequireHook>;
4951
+ /**
4952
+ * require local Test Context for concurrent snapshot tests
4953
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
4954
+ */
4955
+ 'vitest/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>;
4956
+ /**
4957
+ * require toThrow() to be called with an error message
4958
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
4959
+ */
4960
+ 'vitest/require-to-throw-message'?: Linter.RuleEntry<[]>;
4961
+ /**
4962
+ * enforce that all tests are in a top-level describe
4963
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
4964
+ */
4965
+ 'vitest/require-top-level-describe'?: Linter.RuleEntry<VitestRequireTopLevelDescribe>;
4966
+ /**
4967
+ * enforce valid describe callback
4968
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
4969
+ */
4970
+ 'vitest/valid-describe-callback'?: Linter.RuleEntry<[]>;
4971
+ /**
4972
+ * enforce valid `expect()` usage
4973
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
4974
+ */
4975
+ 'vitest/valid-expect'?: Linter.RuleEntry<VitestValidExpect>;
4976
+ /**
4977
+ * Require promises that have expectations in their chain to be valid
4978
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
4979
+ */
4980
+ 'vitest/valid-expect-in-promise'?: Linter.RuleEntry<[]>;
4981
+ /**
4982
+ * enforce valid titles
4983
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
4984
+ */
4985
+ 'vitest/valid-title'?: Linter.RuleEntry<VitestValidTitle>;
4648
4986
  /**
4649
4987
  * Enforce linebreaks after opening and before closing array brackets in `<template>`
4650
4988
  * @see https://eslint.vuejs.org/rules/array-bracket-newline.html
@@ -7224,6 +7562,21 @@ type Eqeqeq = ([] | ["always"] | [
7224
7562
  null?: ("always" | "never" | "ignore");
7225
7563
  }
7226
7564
  ] | [] | [("smart" | "allow-null")]);
7565
+ type FormatDprint = [] | [
7566
+ {
7567
+ language?: string;
7568
+ languageOptions?: {
7569
+ [k: string]: unknown | undefined;
7570
+ };
7571
+ [k: string]: unknown | undefined;
7572
+ }
7573
+ ];
7574
+ type FormatPrettier = [] | [
7575
+ {
7576
+ parser?: string;
7577
+ [k: string]: unknown | undefined;
7578
+ }
7579
+ ];
7227
7580
  type FuncCallSpacing = ([] | ["never"] | [] | ["always"] | [
7228
7581
  "always",
7229
7582
  {
@@ -9778,109 +10131,132 @@ type PaddingLineBetweenStatements = {
9778
10131
  }[];
9779
10132
  type PerfectionistSortArrayIncludes = [] | [
9780
10133
  {
9781
- type?: ("alphabetical" | "natural" | "line-length");
9782
- order?: ("asc" | "desc");
9783
- matcher?: ("minimatch" | "regex");
9784
- ignoreCase?: boolean;
9785
- specialCharacters?: ("remove" | "trim" | "keep");
9786
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
9787
10134
  partitionByComment?: (string[] | boolean | string);
10135
+ groupKind?: ("mixed" | "literals-first" | "spreads-first");
9788
10136
  partitionByNewLine?: boolean;
9789
- }
9790
- ];
9791
- type PerfectionistSortAstroAttributes = [] | [
9792
- {
9793
- type?: ("alphabetical" | "natural" | "line-length");
9794
- order?: ("asc" | "desc");
9795
- matcher?: ("minimatch" | "regex");
9796
- ignoreCase?: boolean;
9797
10137
  specialCharacters?: ("remove" | "trim" | "keep");
9798
- groups?: (string | string[])[];
9799
- customGroups?: {
9800
- [k: string]: (string | string[]) | undefined;
9801
- };
10138
+ ignoreCase?: boolean;
10139
+ locales?: (string | string[]);
10140
+ order?: ("asc" | "desc");
10141
+ type?: ("alphabetical" | "natural" | "line-length");
9802
10142
  }
9803
10143
  ];
9804
10144
  type PerfectionistSortClasses = [] | [
9805
10145
  {
9806
- type?: ("alphabetical" | "natural" | "line-length");
9807
- order?: ("asc" | "desc");
9808
- matcher?: ("minimatch" | "regex");
9809
- ignoreCase?: boolean;
9810
- specialCharacters?: ("remove" | "trim" | "keep");
9811
- partitionByComment?: (string[] | boolean | string);
9812
- groups?: (string | string[])[];
9813
10146
  customGroups?: ({
9814
- [k: string]: (string | string[]) | undefined;
9815
- } | ({
9816
10147
  groupName?: string;
9817
10148
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
9818
10149
  order?: ("desc" | "asc");
9819
10150
  anyOf?: {
9820
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9821
- modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9822
- elementNamePattern?: string;
10151
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9823
10152
  elementValuePattern?: string;
9824
10153
  decoratorNamePattern?: string;
10154
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10155
+ elementNamePattern?: string;
9825
10156
  }[];
9826
10157
  } | {
9827
10158
  groupName?: string;
9828
10159
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
9829
10160
  order?: ("desc" | "asc");
9830
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9831
- modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9832
- elementNamePattern?: string;
10161
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9833
10162
  elementValuePattern?: string;
9834
10163
  decoratorNamePattern?: string;
9835
- })[]);
10164
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10165
+ elementNamePattern?: string;
10166
+ })[];
10167
+ ignoreCallbackDependenciesPatterns?: string[];
10168
+ partitionByComment?: (string[] | boolean | string);
10169
+ partitionByNewLine?: boolean;
10170
+ specialCharacters?: ("remove" | "trim" | "keep");
10171
+ newlinesBetween?: ("ignore" | "always" | "never");
10172
+ ignoreCase?: boolean;
10173
+ locales?: (string | string[]);
10174
+ groups?: (string | string[])[];
10175
+ order?: ("asc" | "desc");
10176
+ type?: ("alphabetical" | "natural" | "line-length");
9836
10177
  }
9837
10178
  ];
9838
- type PerfectionistSortEnums = [] | [
10179
+ type PerfectionistSortDecorators = [] | [
9839
10180
  {
9840
- type?: ("alphabetical" | "natural" | "line-length");
9841
- order?: ("asc" | "desc");
9842
- matcher?: ("minimatch" | "regex");
9843
- ignoreCase?: boolean;
10181
+ partitionByComment?: (string[] | boolean | string);
10182
+ sortOnParameters?: boolean;
10183
+ sortOnProperties?: boolean;
10184
+ sortOnAccessors?: boolean;
10185
+ sortOnMethods?: boolean;
10186
+ sortOnClasses?: boolean;
9844
10187
  specialCharacters?: ("remove" | "trim" | "keep");
9845
- sortByValue?: boolean;
9846
- forceNumericSort?: boolean;
10188
+ customGroups?: {
10189
+ [k: string]: (string | string[]) | undefined;
10190
+ };
10191
+ ignoreCase?: boolean;
10192
+ locales?: (string | string[]);
10193
+ groups?: (string | string[])[];
10194
+ order?: ("asc" | "desc");
10195
+ type?: ("alphabetical" | "natural" | "line-length");
10196
+ }
10197
+ ];
10198
+ type PerfectionistSortEnums = [] | [
10199
+ {
9847
10200
  partitionByComment?: (string[] | boolean | string);
10201
+ forceNumericSort?: boolean;
10202
+ sortByValue?: boolean;
9848
10203
  partitionByNewLine?: boolean;
10204
+ specialCharacters?: ("remove" | "trim" | "keep");
10205
+ ignoreCase?: boolean;
10206
+ locales?: (string | string[]);
10207
+ order?: ("asc" | "desc");
10208
+ type?: ("alphabetical" | "natural" | "line-length");
9849
10209
  }
9850
10210
  ];
9851
10211
  type PerfectionistSortExports = [] | [
9852
10212
  {
9853
- type?: ("alphabetical" | "natural" | "line-length");
9854
- order?: ("asc" | "desc");
9855
- matcher?: ("minimatch" | "regex");
9856
- ignoreCase?: boolean;
9857
- specialCharacters?: ("remove" | "trim" | "keep");
9858
10213
  partitionByComment?: (string[] | boolean | string);
9859
- partitionByNewLine?: boolean;
9860
10214
  groupKind?: ("mixed" | "values-first" | "types-first");
10215
+ partitionByNewLine?: boolean;
10216
+ specialCharacters?: ("remove" | "trim" | "keep");
10217
+ ignoreCase?: boolean;
10218
+ locales?: (string | string[]);
10219
+ order?: ("asc" | "desc");
10220
+ type?: ("alphabetical" | "natural" | "line-length");
9861
10221
  }
9862
10222
  ];
9863
- type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
9864
- type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9865
- type?: ("alphabetical" | "natural" | "line-length");
9866
- order?: ("asc" | "desc");
9867
- matcher?: ("minimatch" | "regex");
9868
- ignoreCase?: boolean;
9869
- specialCharacters?: ("remove" | "trim" | "keep");
9870
- internalPattern?: string[];
9871
- sortSideEffects?: boolean;
9872
- newlinesBetween?: ("ignore" | "always" | "never");
9873
- maxLineLength?: number;
9874
- groups?: (string | string[])[];
10223
+ type PerfectionistSortHeritageClauses = [] | [
10224
+ {
10225
+ specialCharacters?: ("remove" | "trim" | "keep");
10226
+ customGroups?: {
10227
+ [k: string]: (string | string[]) | undefined;
10228
+ };
10229
+ ignoreCase?: boolean;
10230
+ locales?: (string | string[]);
10231
+ groups?: (string | string[])[];
10232
+ order?: ("asc" | "desc");
10233
+ type?: ("alphabetical" | "natural" | "line-length");
10234
+ }
10235
+ ];
10236
+ type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
10237
+ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9875
10238
  customGroups?: {
9876
- type?: {
10239
+ value?: {
9877
10240
  [k: string]: unknown | undefined;
9878
10241
  };
9879
- value?: {
10242
+ type?: {
9880
10243
  [k: string]: unknown | undefined;
9881
10244
  };
9882
10245
  };
10246
+ partitionByComment?: (string[] | boolean | string);
10247
+ internalPattern?: string[];
10248
+ maxLineLength?: number;
10249
+ sortSideEffects?: boolean;
9883
10250
  environment?: ("node" | "bun");
10251
+ tsconfigRootDir?: string;
10252
+ partitionByNewLine?: boolean;
10253
+ specialCharacters?: ("remove" | "trim" | "keep");
10254
+ newlinesBetween?: ("ignore" | "always" | "never");
10255
+ ignoreCase?: boolean;
10256
+ locales?: (string | string[]);
10257
+ groups?: (string | string[])[];
10258
+ order?: ("asc" | "desc");
10259
+ type?: ("alphabetical" | "natural" | "line-length");
9884
10260
  });
9885
10261
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
9886
10262
  [k: string]: unknown | undefined;
@@ -9891,184 +10267,198 @@ interface _PerfectionistSortImports_IsLineLength {
9891
10267
  }
9892
10268
  type PerfectionistSortInterfaces = [] | [
9893
10269
  {
9894
- type?: ("alphabetical" | "natural" | "line-length");
9895
- order?: ("asc" | "desc");
9896
- matcher?: ("minimatch" | "regex");
9897
- ignoreCase?: boolean;
9898
- specialCharacters?: ("remove" | "trim" | "keep");
9899
10270
  ignorePattern?: string[];
9900
- partitionByComment?: (boolean | string | string[]);
9901
- partitionByNewLine?: boolean;
10271
+ partitionByComment?: (string[] | boolean | string);
9902
10272
  groupKind?: ("mixed" | "optional-first" | "required-first");
9903
- groups?: (string | string[])[];
10273
+ partitionByNewLine?: boolean;
10274
+ specialCharacters?: ("remove" | "trim" | "keep");
10275
+ newlinesBetween?: ("ignore" | "always" | "never");
9904
10276
  customGroups?: {
9905
10277
  [k: string]: (string | string[]) | undefined;
9906
10278
  };
10279
+ ignoreCase?: boolean;
10280
+ locales?: (string | string[]);
10281
+ groups?: (string | string[])[];
10282
+ order?: ("asc" | "desc");
10283
+ type?: ("alphabetical" | "natural" | "line-length");
9907
10284
  }
9908
10285
  ];
9909
10286
  type PerfectionistSortIntersectionTypes = [] | [
9910
10287
  {
9911
- type?: ("alphabetical" | "natural" | "line-length");
9912
- order?: ("asc" | "desc");
9913
- matcher?: ("minimatch" | "regex");
9914
- ignoreCase?: boolean;
9915
- specialCharacters?: ("remove" | "trim" | "keep");
9916
- groups?: (string | string[])[];
9917
10288
  partitionByComment?: (string[] | boolean | string);
9918
10289
  partitionByNewLine?: boolean;
10290
+ specialCharacters?: ("remove" | "trim" | "keep");
10291
+ newlinesBetween?: ("ignore" | "always" | "never");
10292
+ ignoreCase?: boolean;
10293
+ locales?: (string | string[]);
10294
+ groups?: (string | string[])[];
10295
+ order?: ("asc" | "desc");
10296
+ type?: ("alphabetical" | "natural" | "line-length");
9919
10297
  }
9920
10298
  ];
9921
10299
  type PerfectionistSortJsxProps = [] | [
9922
10300
  {
9923
- type?: ("alphabetical" | "natural" | "line-length");
9924
- order?: ("asc" | "desc");
9925
- matcher?: ("minimatch" | "regex");
9926
- ignoreCase?: boolean;
9927
- specialCharacters?: ("remove" | "trim" | "keep");
9928
10301
  ignorePattern?: string[];
9929
- groups?: (string | string[])[];
10302
+ specialCharacters?: ("remove" | "trim" | "keep");
9930
10303
  customGroups?: {
9931
10304
  [k: string]: (string | string[]) | undefined;
9932
10305
  };
10306
+ ignoreCase?: boolean;
10307
+ locales?: (string | string[]);
10308
+ groups?: (string | string[])[];
10309
+ order?: ("asc" | "desc");
10310
+ type?: ("alphabetical" | "natural" | "line-length");
9933
10311
  }
9934
10312
  ];
9935
10313
  type PerfectionistSortMaps = [] | [
9936
10314
  {
9937
- type?: ("alphabetical" | "natural" | "line-length");
9938
- order?: ("asc" | "desc");
9939
- matcher?: ("minimatch" | "regex");
9940
- ignoreCase?: boolean;
10315
+ partitionByComment?: (string[] | boolean | string);
10316
+ partitionByNewLine?: boolean;
9941
10317
  specialCharacters?: ("remove" | "trim" | "keep");
10318
+ ignoreCase?: boolean;
10319
+ locales?: (string | string[]);
10320
+ order?: ("asc" | "desc");
10321
+ type?: ("alphabetical" | "natural" | "line-length");
10322
+ }
10323
+ ];
10324
+ type PerfectionistSortModules = [] | [
10325
+ {
10326
+ customGroups?: ({
10327
+ groupName?: string;
10328
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
10329
+ order?: ("desc" | "asc");
10330
+ anyOf?: {
10331
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10332
+ elementValuePattern?: string;
10333
+ decoratorNamePattern?: string;
10334
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
10335
+ elementNamePattern?: string;
10336
+ }[];
10337
+ } | {
10338
+ groupName?: string;
10339
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
10340
+ order?: ("desc" | "asc");
10341
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10342
+ elementValuePattern?: string;
10343
+ decoratorNamePattern?: string;
10344
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
10345
+ elementNamePattern?: string;
10346
+ })[];
9942
10347
  partitionByComment?: (string[] | boolean | string);
9943
10348
  partitionByNewLine?: boolean;
10349
+ specialCharacters?: ("remove" | "trim" | "keep");
10350
+ newlinesBetween?: ("ignore" | "always" | "never");
10351
+ ignoreCase?: boolean;
10352
+ locales?: (string | string[]);
10353
+ groups?: (string | string[])[];
10354
+ order?: ("asc" | "desc");
10355
+ type?: ("alphabetical" | "natural" | "line-length");
9944
10356
  }
9945
10357
  ];
9946
10358
  type PerfectionistSortNamedExports = [] | [
9947
10359
  {
9948
- type?: ("alphabetical" | "natural" | "line-length");
9949
- order?: ("asc" | "desc");
9950
- matcher?: ("minimatch" | "regex");
9951
- ignoreCase?: boolean;
9952
- specialCharacters?: ("remove" | "trim" | "keep");
9953
- groupKind?: ("mixed" | "values-first" | "types-first");
9954
10360
  partitionByComment?: (string[] | boolean | string);
10361
+ groupKind?: ("mixed" | "values-first" | "types-first");
9955
10362
  partitionByNewLine?: boolean;
10363
+ specialCharacters?: ("remove" | "trim" | "keep");
10364
+ ignoreCase?: boolean;
10365
+ locales?: (string | string[]);
10366
+ order?: ("asc" | "desc");
10367
+ type?: ("alphabetical" | "natural" | "line-length");
9956
10368
  }
9957
10369
  ];
9958
10370
  type PerfectionistSortNamedImports = [] | [
9959
10371
  {
9960
- type?: ("alphabetical" | "natural" | "line-length");
9961
- order?: ("asc" | "desc");
9962
- matcher?: ("minimatch" | "regex");
9963
- ignoreCase?: boolean;
9964
- specialCharacters?: ("remove" | "trim" | "keep");
9965
- ignoreAlias?: boolean;
9966
- groupKind?: ("mixed" | "values-first" | "types-first");
9967
10372
  partitionByComment?: (string[] | boolean | string);
10373
+ groupKind?: ("mixed" | "values-first" | "types-first");
10374
+ ignoreAlias?: boolean;
9968
10375
  partitionByNewLine?: boolean;
10376
+ specialCharacters?: ("remove" | "trim" | "keep");
10377
+ ignoreCase?: boolean;
10378
+ locales?: (string | string[]);
10379
+ order?: ("asc" | "desc");
10380
+ type?: ("alphabetical" | "natural" | "line-length");
9969
10381
  }
9970
10382
  ];
9971
10383
  type PerfectionistSortObjectTypes = [] | [
9972
10384
  {
9973
- type?: ("alphabetical" | "natural" | "line-length");
9974
- order?: ("asc" | "desc");
9975
- matcher?: ("minimatch" | "regex");
9976
- ignoreCase?: boolean;
9977
- specialCharacters?: ("remove" | "trim" | "keep");
9978
10385
  partitionByComment?: (string[] | boolean | string);
9979
- partitionByNewLine?: boolean;
9980
10386
  groupKind?: ("mixed" | "required-first" | "optional-first");
9981
- groups?: (string | string[])[];
10387
+ partitionByNewLine?: boolean;
10388
+ specialCharacters?: ("remove" | "trim" | "keep");
10389
+ newlinesBetween?: ("ignore" | "always" | "never");
9982
10390
  customGroups?: {
9983
10391
  [k: string]: (string | string[]) | undefined;
9984
10392
  };
10393
+ ignoreCase?: boolean;
10394
+ locales?: (string | string[]);
10395
+ groups?: (string | string[])[];
10396
+ order?: ("asc" | "desc");
10397
+ type?: ("alphabetical" | "natural" | "line-length");
9985
10398
  }
9986
10399
  ];
9987
10400
  type PerfectionistSortObjects = [] | [
9988
10401
  {
9989
- type?: ("alphabetical" | "natural" | "line-length");
9990
- order?: ("asc" | "desc");
9991
- matcher?: ("minimatch" | "regex");
9992
- ignoreCase?: boolean;
9993
- specialCharacters?: ("remove" | "trim" | "keep");
10402
+ ignorePattern?: string[];
9994
10403
  partitionByComment?: (string[] | boolean | string);
9995
- partitionByNewLine?: boolean;
9996
- styledComponents?: boolean;
9997
10404
  destructureOnly?: boolean;
9998
- ignorePattern?: string[];
9999
- groups?: (string | string[])[];
10405
+ styledComponents?: boolean;
10406
+ partitionByNewLine?: boolean;
10407
+ specialCharacters?: ("remove" | "trim" | "keep");
10408
+ newlinesBetween?: ("ignore" | "always" | "never");
10000
10409
  customGroups?: {
10001
10410
  [k: string]: (string | string[]) | undefined;
10002
10411
  };
10412
+ ignoreCase?: boolean;
10413
+ locales?: (string | string[]);
10414
+ groups?: (string | string[])[];
10415
+ order?: ("asc" | "desc");
10416
+ type?: ("alphabetical" | "natural" | "line-length");
10003
10417
  }
10004
10418
  ];
10005
10419
  type PerfectionistSortSets = [] | [
10006
10420
  {
10007
- type?: ("alphabetical" | "natural" | "line-length");
10008
- order?: ("asc" | "desc");
10009
- matcher?: ("minimatch" | "regex");
10010
- ignoreCase?: boolean;
10011
- specialCharacters?: ("remove" | "trim" | "keep");
10012
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
10013
10421
  partitionByComment?: (string[] | boolean | string);
10422
+ groupKind?: ("mixed" | "literals-first" | "spreads-first");
10014
10423
  partitionByNewLine?: boolean;
10015
- }
10016
- ];
10017
- type PerfectionistSortSvelteAttributes = [] | [
10018
- {
10019
- type?: ("alphabetical" | "natural" | "line-length");
10020
- order?: ("asc" | "desc");
10021
- matcher?: ("minimatch" | "regex");
10022
- ignoreCase?: boolean;
10023
10424
  specialCharacters?: ("remove" | "trim" | "keep");
10024
- groups?: (string | string[])[];
10025
- customGroups?: {
10026
- [k: string]: (string | string[]) | undefined;
10027
- };
10425
+ ignoreCase?: boolean;
10426
+ locales?: (string | string[]);
10427
+ order?: ("asc" | "desc");
10428
+ type?: ("alphabetical" | "natural" | "line-length");
10028
10429
  }
10029
10430
  ];
10030
10431
  type PerfectionistSortSwitchCase = [] | [
10031
10432
  {
10032
- type?: ("alphabetical" | "natural" | "line-length");
10033
- order?: ("asc" | "desc");
10034
- ignoreCase?: boolean;
10035
10433
  specialCharacters?: ("remove" | "trim" | "keep");
10434
+ ignoreCase?: boolean;
10435
+ locales?: (string | string[]);
10436
+ order?: ("asc" | "desc");
10437
+ type?: ("alphabetical" | "natural" | "line-length");
10036
10438
  }
10037
10439
  ];
10038
10440
  type PerfectionistSortUnionTypes = [] | [
10039
10441
  {
10040
- type?: ("alphabetical" | "natural" | "line-length");
10041
- order?: ("asc" | "desc");
10042
- matcher?: ("minimatch" | "regex");
10043
- ignoreCase?: boolean;
10044
- specialCharacters?: ("remove" | "trim" | "keep");
10045
- groups?: (string | string[])[];
10046
10442
  partitionByComment?: (string[] | boolean | string);
10047
10443
  partitionByNewLine?: boolean;
10444
+ specialCharacters?: ("remove" | "trim" | "keep");
10445
+ newlinesBetween?: ("ignore" | "always" | "never");
10446
+ ignoreCase?: boolean;
10447
+ locales?: (string | string[]);
10448
+ groups?: (string | string[])[];
10449
+ order?: ("asc" | "desc");
10450
+ type?: ("alphabetical" | "natural" | "line-length");
10048
10451
  }
10049
10452
  ];
10050
10453
  type PerfectionistSortVariableDeclarations = [] | [
10051
10454
  {
10052
- type?: ("alphabetical" | "natural" | "line-length");
10053
- order?: ("asc" | "desc");
10054
- matcher?: ("minimatch" | "regex");
10055
- ignoreCase?: boolean;
10056
- specialCharacters?: ("remove" | "trim" | "keep");
10057
10455
  partitionByComment?: (string[] | boolean | string);
10058
10456
  partitionByNewLine?: boolean;
10059
- }
10060
- ];
10061
- type PerfectionistSortVueAttributes = [] | [
10062
- {
10063
- type?: ("alphabetical" | "natural" | "line-length");
10064
- order?: ("asc" | "desc");
10065
- matcher?: ("minimatch" | "regex");
10066
- ignoreCase?: boolean;
10067
10457
  specialCharacters?: ("remove" | "trim" | "keep");
10068
- groups?: (string | string[])[];
10069
- customGroups?: {
10070
- [k: string]: (string | string[]) | undefined;
10071
- };
10458
+ ignoreCase?: boolean;
10459
+ locales?: (string | string[]);
10460
+ order?: ("asc" | "desc");
10461
+ type?: ("alphabetical" | "natural" | "line-length");
10072
10462
  }
10073
10463
  ];
10074
10464
  type PreferArrowCallback = [] | [
@@ -10821,6 +11211,116 @@ type ValidTypeof = [] | [
10821
11211
  requireStringLiterals?: boolean;
10822
11212
  }
10823
11213
  ];
11214
+ type VitestConsistentTestFilename = [] | [
11215
+ {
11216
+ pattern?: string;
11217
+ allTestPattern?: string;
11218
+ }
11219
+ ];
11220
+ type VitestConsistentTestIt = [] | [
11221
+ {
11222
+ fn?: ("test" | "it");
11223
+ withinDescribe?: ("test" | "it");
11224
+ }
11225
+ ];
11226
+ type VitestExpectExpect = [] | [
11227
+ {
11228
+ assertFunctionNames?: string[];
11229
+ additionalTestBlockFunctions?: string[];
11230
+ }
11231
+ ];
11232
+ type VitestMaxExpects = [] | [
11233
+ {
11234
+ max?: number;
11235
+ }
11236
+ ];
11237
+ type VitestMaxNestedDescribe = [] | [
11238
+ {
11239
+ max?: number;
11240
+ }
11241
+ ];
11242
+ type VitestNoFocusedTests = [] | [
11243
+ {
11244
+ fixable?: boolean;
11245
+ }
11246
+ ];
11247
+ type VitestNoHooks = [] | [
11248
+ {
11249
+ allow?: unknown[];
11250
+ }
11251
+ ];
11252
+ type VitestNoLargeSnapshots = [] | [
11253
+ {
11254
+ maxSize?: number;
11255
+ inlineMaxSize?: number;
11256
+ allowedSnapshots?: {
11257
+ [k: string]: unknown[] | undefined;
11258
+ };
11259
+ }
11260
+ ];
11261
+ type VitestNoRestrictedMatchers = [] | [
11262
+ {
11263
+ [k: string]: (string | null) | undefined;
11264
+ }
11265
+ ];
11266
+ type VitestNoRestrictedViMethods = [] | [
11267
+ {
11268
+ [k: string]: (string | null) | undefined;
11269
+ }
11270
+ ];
11271
+ type VitestNoStandaloneExpect = [] | [
11272
+ {
11273
+ additionaltestblockfunctions?: string[];
11274
+ [k: string]: unknown | undefined;
11275
+ }
11276
+ ];
11277
+ type VitestPreferExpectAssertions = [] | [
11278
+ {
11279
+ onlyFunctionsWithAsyncKeyword?: boolean;
11280
+ onlyFunctionsWithExpectInLoop?: boolean;
11281
+ onlyFunctionsWithExpectInCallback?: boolean;
11282
+ }
11283
+ ];
11284
+ type VitestPreferLowercaseTitle = [] | [
11285
+ {
11286
+ ignore?: ("describe" | "test" | "it")[];
11287
+ allowedPrefixes?: string[];
11288
+ ignoreTopLevelDescribe?: boolean;
11289
+ lowercaseFirstCharacterOnly?: boolean;
11290
+ }
11291
+ ];
11292
+ type VitestPreferSnapshotHint = [] | [("always" | "multi")];
11293
+ type VitestRequireHook = [] | [
11294
+ {
11295
+ allowedFunctionCalls?: string[];
11296
+ }
11297
+ ];
11298
+ type VitestRequireTopLevelDescribe = [] | [
11299
+ {
11300
+ maxNumberOfTopLevelDescribes?: number;
11301
+ }
11302
+ ];
11303
+ type VitestValidExpect = [] | [
11304
+ {
11305
+ alwaysAwait?: boolean;
11306
+ asyncMatchers?: string[];
11307
+ minArgs?: number;
11308
+ maxArgs?: number;
11309
+ }
11310
+ ];
11311
+ type VitestValidTitle = [] | [
11312
+ {
11313
+ ignoreTypeOfDescribeName?: boolean;
11314
+ allowArguments?: boolean;
11315
+ disallowedWords?: string[];
11316
+ mustMatch?: (string | [string] | [string, string] | {
11317
+ [k: string]: (string | [string] | [string, string]) | undefined;
11318
+ });
11319
+ mustNotMatch?: (string | [string] | [string, string] | {
11320
+ [k: string]: (string | [string] | [string, string]) | undefined;
11321
+ });
11322
+ }
11323
+ ];
10824
11324
  type VueArrayBracketNewline = [] | [
10825
11325
  (("always" | "never" | "consistent") | {
10826
11326
  multiline?: boolean;
@@ -12340,7 +12840,7 @@ type Yoda = [] | [("always" | "never")] | [
12340
12840
  onlyEquality?: boolean;
12341
12841
  }
12342
12842
  ];
12343
- type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/ts/core__typescript-eslint/base' | 'ntnyq/ts/core__typescript-eslint/eslint-recommended' | 'ntnyq/ts/core__typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/vue/ts__ntnyq/ts/core__typescript-eslint/base' | 'ntnyq/vue/ts__ntnyq/ts/core__typescript-eslint/eslint-recommended' | 'ntnyq/vue/ts__ntnyq/ts/core__typescript-eslint/recommended' | 'ntnyq/vue/ts__ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/userscript';
12843
+ type ConfigNames = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/format/setup' | 'ntnyq/format/css' | 'ntnyq/format/scss' | 'ntnyq/format/less' | 'ntnyq/format/html' | 'ntnyq/github-action' | 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/ntnyq' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/perfectionist' | 'ntnyq/regexp' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/userscript' | 'ntnyq/toml' | 'ntnyq/ts/core__typescript-eslint/base' | 'ntnyq/ts/core__typescript-eslint/eslint-recommended' | 'ntnyq/ts/core__typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/types' | 'ntnyq/unused-imports' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'ntnyq/vitest' | 'ntnyq/vue/ts__ntnyq/ts/core__typescript-eslint/base' | 'ntnyq/vue/ts__ntnyq/ts/core__typescript-eslint/eslint-recommended' | 'ntnyq/vue/ts__ntnyq/ts/core__typescript-eslint/recommended' | 'ntnyq/vue/ts__ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/yaml';
12344
12844
 
12345
12845
  /**
12346
12846
  * Typed flat config item
@@ -12351,6 +12851,10 @@ type TypedConfigItem = Omit<Linter.Config<Linter.RulesRecord & RuleOptions>, 'pl
12351
12851
  */
12352
12852
  plugins?: Record<string, any>;
12353
12853
  };
12854
+ /**
12855
+ * ESLint parser
12856
+ */
12857
+ type ESLintParser = Linter.Parser;
12354
12858
  /**
12355
12859
  * Parser options
12356
12860
  */
@@ -12396,6 +12900,8 @@ interface ConfigAntfuOptions extends OptionsOverrides {
12396
12900
  }
12397
12901
  interface ConfigNtnyqOptions extends OptionsOverrides {
12398
12902
  }
12903
+ interface ConfigGitHubActionOptions extends OptionsOverrides {
12904
+ }
12399
12905
  interface ConfigPrettierOptions extends OptionsOverrides {
12400
12906
  /**
12401
12907
  * Prettier level
@@ -12488,6 +12994,13 @@ interface ConfigMarkdownOptions extends OptionsOverrides {
12488
12994
  interface ConfigTomlOptions extends OptionsOverrides {
12489
12995
  }
12490
12996
  interface ConfigVueOptions extends OptionsOverrides {
12997
+ /**
12998
+ * Create virtual files for Vue SFC blocks to enable linting.
12999
+ *
13000
+ * @see https://github.com/antfu/eslint-processor-vue-blocks
13001
+ * @default true
13002
+ */
13003
+ sfcBlocks?: boolean | Options;
12491
13004
  /**
12492
13005
  * Vue version
12493
13006
  *
@@ -12501,12 +13014,54 @@ interface ConfigTestOptions extends OptionsOverrides {
12501
13014
  */
12502
13015
  overridesVitestRules?: TypedConfigItem['rules'];
12503
13016
  }
13017
+ interface ConfigFormatOptions {
13018
+ /**
13019
+ * Enable formatter support for css, less, scss, sass and etc.
13020
+ *
13021
+ * @default 'prettier'
13022
+ */
13023
+ css?: 'prettier' | boolean;
13024
+ /**
13025
+ * Enable formatter support for html
13026
+ *
13027
+ * @default 'prettier'
13028
+ */
13029
+ html?: 'prettier' | boolean;
13030
+ /**
13031
+ * Enable formatter support for markdown
13032
+ *
13033
+ * @default 'prettier'
13034
+ */
13035
+ markdown?: 'prettier' | 'dprint' | boolean;
13036
+ /**
13037
+ * Options for prettier
13038
+ */
13039
+ prettierOptions?: PrettierOptions;
13040
+ /**
13041
+ * Options for dprint
13042
+ */
13043
+ dprintOptions?: boolean;
13044
+ }
12504
13045
  interface ConfigUnusedImportsOptions extends OptionsOverrides {
12505
13046
  }
13047
+ interface ConfigOptionsInternal {
13048
+ /**
13049
+ * @internal
13050
+ */
13051
+ format?: boolean | ConfigFormatOptions;
13052
+ /**
13053
+ * @internal
13054
+ */
13055
+ ntnyq?: boolean | ConfigNtnyqOptions;
13056
+ /**
13057
+ * @internal
13058
+ */
13059
+ unusedImports?: boolean | ConfigUnusedImportsOptions;
13060
+ }
12506
13061
  /**
12507
13062
  * Config factory options
12508
13063
  */
12509
- interface ConfigOptions {
13064
+ interface ConfigOptions extends ConfigOptionsInternal {
12510
13065
  ignores?: ConfigIgnoresOptions;
12511
13066
  sort?: boolean | ConfigSortOptions;
12512
13067
  command?: boolean | ConfigCommandOptions;
@@ -12518,18 +13073,6 @@ interface ConfigOptions {
12518
13073
  unicorn?: boolean | ConfigUnicornOptions;
12519
13074
  prettier?: boolean | ConfigPrettierOptions;
12520
13075
  perfectionist?: boolean | ConfigPerfectionistOptions;
12521
- /**
12522
- * @internal
12523
- */
12524
- unusedImports?: boolean | ConfigUnusedImportsOptions;
12525
- /**
12526
- * @internal
12527
- */
12528
- antfu?: boolean | ConfigAntfuOptions;
12529
- /**
12530
- * @internal
12531
- */
12532
- ntnyq?: boolean | ConfigNtnyqOptions;
12533
13076
  comments?: boolean | ConfigCommentsOptions;
12534
13077
  jsdoc?: boolean | ConfigJsdocOptions;
12535
13078
  unocss?: boolean | ConfigUnoCSSOptions;
@@ -12540,8 +13083,17 @@ interface ConfigOptions {
12540
13083
  toml?: boolean | ConfigTomlOptions;
12541
13084
  vue?: boolean | ConfigVueOptions;
12542
13085
  test?: boolean | ConfigTestOptions;
13086
+ antfu?: boolean | ConfigAntfuOptions;
13087
+ githubAction?: boolean | ConfigGitHubActionOptions;
12543
13088
  }
12544
13089
 
13090
+ /**
13091
+ * Prettier options
13092
+ */
13093
+ type PrettierOptions = Partial<Pick<RequiredOptions, 'semi' | 'useTabs' | 'tabWidth' | 'rangeEnd' | 'proseWrap' | 'endOfLine' | 'rangeStart' | 'quoteProps' | 'printWidth' | 'arrowParens' | 'singleQuote' | 'insertPragma' | 'trailingComma' | 'requirePragma' | 'bracketSpacing' | 'jsxSingleQuote' | 'bracketSameLine' | 'singleAttributePerLine' | 'experimentalTernaries' | 'vueIndentScriptAndStyle' | 'embeddedLanguageFormatting' | 'htmlWhitespaceSensitivity' | 'plugins'>> & {
13094
+ parser?: BuiltInParserName;
13095
+ };
13096
+
12545
13097
  /**
12546
13098
  * @file factory function to create ESLint config
12547
13099
  */
@@ -12566,6 +13118,7 @@ declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
12566
13118
  declare const GLOB_CSS = "**/*.css";
12567
13119
  declare const GLOB_LESS = "**/*.less";
12568
13120
  declare const GLOB_SCSS = "**/*.scss";
13121
+ declare const GLOB_POSTCSS = "**/*.{p,post}css";
12569
13122
  declare const GLOB_JSON = "**/*.json";
12570
13123
  declare const GLOB_JSON5 = "**/*.json5";
12571
13124
  declare const GLOB_JSONC = "**/*.jsonc";
@@ -12579,6 +13132,7 @@ declare const GLOB_MARKDOWN = "**/*.md";
12579
13132
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
12580
13133
  declare const GLOB_MARKDOWN_NESTED = "**/*.md/*.md";
12581
13134
  declare const GLOB_ALL_SRC: string[];
13135
+ declare const GLOB_GITHUB_ACTION = "**/.github/workflows/*.y?(a)ml";
12582
13136
  declare const GLOB_NODE_MODULES = "**/node_modules/**";
12583
13137
  declare const GLOB_DIST = "**/dist/**";
12584
13138
  declare const GLOB_LOCKFILE: string[];
@@ -12609,6 +13163,25 @@ declare function interopDefault<T>(mod: Awaitable<T>): Promise<InteropModuleDefa
12609
13163
 
12610
13164
  declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
12611
13165
 
13166
+ /**
13167
+ * @file Merge prettier options
13168
+ */
13169
+
13170
+ declare function mergePrettierOptions(options?: PrettierOptions, overrides?: PrettierOptions): PrettierOptions;
13171
+
13172
+ /**
13173
+ * With meta
13174
+ */
13175
+ declare const parserTypeScript: {
13176
+ meta?: { [K in keyof _typescript_eslint_utils_ts_eslint.Parser.ParserMeta]?: _typescript_eslint_utils_ts_eslint.Parser.ParserMeta[K] | undefined; };
13177
+ parseForESLint(text: string, options?: unknown): { [k in keyof _typescript_eslint_utils_ts_eslint.Parser.ParseResult]: unknown; };
13178
+ };
13179
+
13180
+ /**
13181
+ * @copyright {@link https://github.com/so1ve/eslint-parser-plain}
13182
+ */
13183
+ declare const parserPlain: ESLintParser;
13184
+
12612
13185
  declare const vue: (options?: ConfigVueOptions) => TypedConfigItem[];
12613
13186
 
12614
13187
  declare const yml: (options?: ConfigYmlOptions) => TypedConfigItem[];
@@ -12639,6 +13212,8 @@ declare const regexp: (options?: ConfigRegexpOptions) => TypedConfigItem[];
12639
13212
 
12640
13213
  declare const unocss: (options?: ConfigUnoCSSOptions) => TypedConfigItem[];
12641
13214
 
13215
+ declare const format: (options?: ConfigFormatOptions) => TypedConfigItem[];
13216
+
12642
13217
  declare const command: (options?: ConfigCommandOptions) => TypedConfigItem[];
12643
13218
 
12644
13219
  /**
@@ -12666,8 +13241,15 @@ declare const jsx: () => TypedConfigItem[];
12666
13241
  declare const typescriptCore: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
12667
13242
  declare const typescript: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
12668
13243
 
13244
+ declare const githubAction: (options?: ConfigGitHubActionOptions) => TypedConfigItem[];
13245
+
12669
13246
  declare const perfectionist: (options?: ConfigPerfectionistOptions) => TypedConfigItem[];
12670
13247
 
12671
13248
  declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
12672
13249
 
12673
- export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSortOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type LiteralUnion, type OptionsFiles, type OptionsOverrides, type ParserOptions, type PerfectionistSortOrder, type PerfectionistSortType, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, defineESLintConfig, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sort, specials, test, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };
13250
+ /**
13251
+ * Options from `@ntnyq/prettier-config`
13252
+ */
13253
+ declare const DEFAULT_PRETTIER_OPTIONS: PrettierOptions;
13254
+
13255
+ export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigFormatOptions, type ConfigGitHubActionOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigNames, type ConfigNodeOptions, type ConfigNtnyqOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigSortOptions, type ConfigTestOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVueOptions, type ConfigYmlOptions, DEFAULT_PRETTIER_OPTIONS, type ESLintParser, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type LiteralUnion, type OptionsFiles, type OptionsOverrides, type ParserOptions, type PerfectionistSortOrder, type PerfectionistSortType, type PrettierOptions, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, defineESLintConfig, format, getOverrides, githubAction, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, mergePrettierOptions, node, ntnyq, parserPlain, parserTypeScript, perfectionist, prettier, regexp, resolveSubOptions, sort, specials, test, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };