@ntnyq/eslint-config 3.2.2 → 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.ts 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
  /**
@@ -7535,6 +7562,21 @@ type Eqeqeq = ([] | ["always"] | [
7535
7562
  null?: ("always" | "never" | "ignore");
7536
7563
  }
7537
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
+ ];
7538
7580
  type FuncCallSpacing = ([] | ["never"] | [] | ["always"] | [
7539
7581
  "always",
7540
7582
  {
@@ -10089,109 +10131,132 @@ type PaddingLineBetweenStatements = {
10089
10131
  }[];
10090
10132
  type PerfectionistSortArrayIncludes = [] | [
10091
10133
  {
10092
- type?: ("alphabetical" | "natural" | "line-length");
10093
- order?: ("asc" | "desc");
10094
- matcher?: ("minimatch" | "regex");
10095
- ignoreCase?: boolean;
10096
- specialCharacters?: ("remove" | "trim" | "keep");
10097
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
10098
10134
  partitionByComment?: (string[] | boolean | string);
10135
+ groupKind?: ("mixed" | "literals-first" | "spreads-first");
10099
10136
  partitionByNewLine?: boolean;
10100
- }
10101
- ];
10102
- type PerfectionistSortAstroAttributes = [] | [
10103
- {
10104
- type?: ("alphabetical" | "natural" | "line-length");
10105
- order?: ("asc" | "desc");
10106
- matcher?: ("minimatch" | "regex");
10107
- ignoreCase?: boolean;
10108
10137
  specialCharacters?: ("remove" | "trim" | "keep");
10109
- groups?: (string | string[])[];
10110
- customGroups?: {
10111
- [k: string]: (string | string[]) | undefined;
10112
- };
10138
+ ignoreCase?: boolean;
10139
+ locales?: (string | string[]);
10140
+ order?: ("asc" | "desc");
10141
+ type?: ("alphabetical" | "natural" | "line-length");
10113
10142
  }
10114
10143
  ];
10115
10144
  type PerfectionistSortClasses = [] | [
10116
10145
  {
10117
- type?: ("alphabetical" | "natural" | "line-length");
10118
- order?: ("asc" | "desc");
10119
- matcher?: ("minimatch" | "regex");
10120
- ignoreCase?: boolean;
10121
- specialCharacters?: ("remove" | "trim" | "keep");
10122
- partitionByComment?: (string[] | boolean | string);
10123
- groups?: (string | string[])[];
10124
10146
  customGroups?: ({
10125
- [k: string]: (string | string[]) | undefined;
10126
- } | ({
10127
10147
  groupName?: string;
10128
10148
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
10129
10149
  order?: ("desc" | "asc");
10130
10150
  anyOf?: {
10131
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10132
- modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10133
- elementNamePattern?: string;
10151
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10134
10152
  elementValuePattern?: string;
10135
10153
  decoratorNamePattern?: string;
10154
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10155
+ elementNamePattern?: string;
10136
10156
  }[];
10137
10157
  } | {
10138
10158
  groupName?: string;
10139
10159
  type?: ("alphabetical" | "line-length" | "natural" | "unsorted");
10140
10160
  order?: ("desc" | "asc");
10141
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10142
- modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10143
- elementNamePattern?: string;
10161
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10144
10162
  elementValuePattern?: string;
10145
10163
  decoratorNamePattern?: string;
10146
- })[]);
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");
10147
10177
  }
10148
10178
  ];
10149
- type PerfectionistSortEnums = [] | [
10179
+ type PerfectionistSortDecorators = [] | [
10150
10180
  {
10151
- type?: ("alphabetical" | "natural" | "line-length");
10152
- order?: ("asc" | "desc");
10153
- matcher?: ("minimatch" | "regex");
10154
- ignoreCase?: boolean;
10181
+ partitionByComment?: (string[] | boolean | string);
10182
+ sortOnParameters?: boolean;
10183
+ sortOnProperties?: boolean;
10184
+ sortOnAccessors?: boolean;
10185
+ sortOnMethods?: boolean;
10186
+ sortOnClasses?: boolean;
10155
10187
  specialCharacters?: ("remove" | "trim" | "keep");
10156
- sortByValue?: boolean;
10157
- 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
+ {
10158
10200
  partitionByComment?: (string[] | boolean | string);
10201
+ forceNumericSort?: boolean;
10202
+ sortByValue?: boolean;
10159
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");
10160
10209
  }
10161
10210
  ];
10162
10211
  type PerfectionistSortExports = [] | [
10163
10212
  {
10164
- type?: ("alphabetical" | "natural" | "line-length");
10165
- order?: ("asc" | "desc");
10166
- matcher?: ("minimatch" | "regex");
10167
- ignoreCase?: boolean;
10168
- specialCharacters?: ("remove" | "trim" | "keep");
10169
10213
  partitionByComment?: (string[] | boolean | string);
10170
- partitionByNewLine?: boolean;
10171
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");
10221
+ }
10222
+ ];
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");
10172
10234
  }
10173
10235
  ];
10174
10236
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
10175
10237
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10176
- type?: ("alphabetical" | "natural" | "line-length");
10177
- order?: ("asc" | "desc");
10178
- matcher?: ("minimatch" | "regex");
10179
- ignoreCase?: boolean;
10180
- specialCharacters?: ("remove" | "trim" | "keep");
10181
- internalPattern?: string[];
10182
- sortSideEffects?: boolean;
10183
- newlinesBetween?: ("ignore" | "always" | "never");
10184
- maxLineLength?: number;
10185
- groups?: (string | string[])[];
10186
10238
  customGroups?: {
10187
- type?: {
10239
+ value?: {
10188
10240
  [k: string]: unknown | undefined;
10189
10241
  };
10190
- value?: {
10242
+ type?: {
10191
10243
  [k: string]: unknown | undefined;
10192
10244
  };
10193
10245
  };
10246
+ partitionByComment?: (string[] | boolean | string);
10247
+ internalPattern?: string[];
10248
+ maxLineLength?: number;
10249
+ sortSideEffects?: boolean;
10194
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");
10195
10260
  });
10196
10261
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
10197
10262
  [k: string]: unknown | undefined;
@@ -10202,184 +10267,198 @@ interface _PerfectionistSortImports_IsLineLength {
10202
10267
  }
10203
10268
  type PerfectionistSortInterfaces = [] | [
10204
10269
  {
10205
- type?: ("alphabetical" | "natural" | "line-length");
10206
- order?: ("asc" | "desc");
10207
- matcher?: ("minimatch" | "regex");
10208
- ignoreCase?: boolean;
10209
- specialCharacters?: ("remove" | "trim" | "keep");
10210
10270
  ignorePattern?: string[];
10211
- partitionByComment?: (boolean | string | string[]);
10212
- partitionByNewLine?: boolean;
10271
+ partitionByComment?: (string[] | boolean | string);
10213
10272
  groupKind?: ("mixed" | "optional-first" | "required-first");
10214
- groups?: (string | string[])[];
10273
+ partitionByNewLine?: boolean;
10274
+ specialCharacters?: ("remove" | "trim" | "keep");
10275
+ newlinesBetween?: ("ignore" | "always" | "never");
10215
10276
  customGroups?: {
10216
10277
  [k: string]: (string | string[]) | undefined;
10217
10278
  };
10279
+ ignoreCase?: boolean;
10280
+ locales?: (string | string[]);
10281
+ groups?: (string | string[])[];
10282
+ order?: ("asc" | "desc");
10283
+ type?: ("alphabetical" | "natural" | "line-length");
10218
10284
  }
10219
10285
  ];
10220
10286
  type PerfectionistSortIntersectionTypes = [] | [
10221
10287
  {
10222
- type?: ("alphabetical" | "natural" | "line-length");
10223
- order?: ("asc" | "desc");
10224
- matcher?: ("minimatch" | "regex");
10225
- ignoreCase?: boolean;
10226
- specialCharacters?: ("remove" | "trim" | "keep");
10227
- groups?: (string | string[])[];
10228
10288
  partitionByComment?: (string[] | boolean | string);
10229
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");
10230
10297
  }
10231
10298
  ];
10232
10299
  type PerfectionistSortJsxProps = [] | [
10233
10300
  {
10234
- type?: ("alphabetical" | "natural" | "line-length");
10235
- order?: ("asc" | "desc");
10236
- matcher?: ("minimatch" | "regex");
10237
- ignoreCase?: boolean;
10238
- specialCharacters?: ("remove" | "trim" | "keep");
10239
10301
  ignorePattern?: string[];
10240
- groups?: (string | string[])[];
10302
+ specialCharacters?: ("remove" | "trim" | "keep");
10241
10303
  customGroups?: {
10242
10304
  [k: string]: (string | string[]) | undefined;
10243
10305
  };
10306
+ ignoreCase?: boolean;
10307
+ locales?: (string | string[]);
10308
+ groups?: (string | string[])[];
10309
+ order?: ("asc" | "desc");
10310
+ type?: ("alphabetical" | "natural" | "line-length");
10244
10311
  }
10245
10312
  ];
10246
10313
  type PerfectionistSortMaps = [] | [
10247
10314
  {
10248
- type?: ("alphabetical" | "natural" | "line-length");
10249
- order?: ("asc" | "desc");
10250
- matcher?: ("minimatch" | "regex");
10251
- ignoreCase?: boolean;
10315
+ partitionByComment?: (string[] | boolean | string);
10316
+ partitionByNewLine?: boolean;
10252
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
+ })[];
10253
10347
  partitionByComment?: (string[] | boolean | string);
10254
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");
10255
10356
  }
10256
10357
  ];
10257
10358
  type PerfectionistSortNamedExports = [] | [
10258
10359
  {
10259
- type?: ("alphabetical" | "natural" | "line-length");
10260
- order?: ("asc" | "desc");
10261
- matcher?: ("minimatch" | "regex");
10262
- ignoreCase?: boolean;
10263
- specialCharacters?: ("remove" | "trim" | "keep");
10264
- groupKind?: ("mixed" | "values-first" | "types-first");
10265
10360
  partitionByComment?: (string[] | boolean | string);
10361
+ groupKind?: ("mixed" | "values-first" | "types-first");
10266
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");
10267
10368
  }
10268
10369
  ];
10269
10370
  type PerfectionistSortNamedImports = [] | [
10270
10371
  {
10271
- type?: ("alphabetical" | "natural" | "line-length");
10272
- order?: ("asc" | "desc");
10273
- matcher?: ("minimatch" | "regex");
10274
- ignoreCase?: boolean;
10275
- specialCharacters?: ("remove" | "trim" | "keep");
10276
- ignoreAlias?: boolean;
10277
- groupKind?: ("mixed" | "values-first" | "types-first");
10278
10372
  partitionByComment?: (string[] | boolean | string);
10373
+ groupKind?: ("mixed" | "values-first" | "types-first");
10374
+ ignoreAlias?: boolean;
10279
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");
10280
10381
  }
10281
10382
  ];
10282
10383
  type PerfectionistSortObjectTypes = [] | [
10283
10384
  {
10284
- type?: ("alphabetical" | "natural" | "line-length");
10285
- order?: ("asc" | "desc");
10286
- matcher?: ("minimatch" | "regex");
10287
- ignoreCase?: boolean;
10288
- specialCharacters?: ("remove" | "trim" | "keep");
10289
10385
  partitionByComment?: (string[] | boolean | string);
10290
- partitionByNewLine?: boolean;
10291
10386
  groupKind?: ("mixed" | "required-first" | "optional-first");
10292
- groups?: (string | string[])[];
10387
+ partitionByNewLine?: boolean;
10388
+ specialCharacters?: ("remove" | "trim" | "keep");
10389
+ newlinesBetween?: ("ignore" | "always" | "never");
10293
10390
  customGroups?: {
10294
10391
  [k: string]: (string | string[]) | undefined;
10295
10392
  };
10393
+ ignoreCase?: boolean;
10394
+ locales?: (string | string[]);
10395
+ groups?: (string | string[])[];
10396
+ order?: ("asc" | "desc");
10397
+ type?: ("alphabetical" | "natural" | "line-length");
10296
10398
  }
10297
10399
  ];
10298
10400
  type PerfectionistSortObjects = [] | [
10299
10401
  {
10300
- type?: ("alphabetical" | "natural" | "line-length");
10301
- order?: ("asc" | "desc");
10302
- matcher?: ("minimatch" | "regex");
10303
- ignoreCase?: boolean;
10304
- specialCharacters?: ("remove" | "trim" | "keep");
10402
+ ignorePattern?: string[];
10305
10403
  partitionByComment?: (string[] | boolean | string);
10306
- partitionByNewLine?: boolean;
10307
- styledComponents?: boolean;
10308
10404
  destructureOnly?: boolean;
10309
- ignorePattern?: string[];
10310
- groups?: (string | string[])[];
10405
+ styledComponents?: boolean;
10406
+ partitionByNewLine?: boolean;
10407
+ specialCharacters?: ("remove" | "trim" | "keep");
10408
+ newlinesBetween?: ("ignore" | "always" | "never");
10311
10409
  customGroups?: {
10312
10410
  [k: string]: (string | string[]) | undefined;
10313
10411
  };
10412
+ ignoreCase?: boolean;
10413
+ locales?: (string | string[]);
10414
+ groups?: (string | string[])[];
10415
+ order?: ("asc" | "desc");
10416
+ type?: ("alphabetical" | "natural" | "line-length");
10314
10417
  }
10315
10418
  ];
10316
10419
  type PerfectionistSortSets = [] | [
10317
10420
  {
10318
- type?: ("alphabetical" | "natural" | "line-length");
10319
- order?: ("asc" | "desc");
10320
- matcher?: ("minimatch" | "regex");
10321
- ignoreCase?: boolean;
10322
- specialCharacters?: ("remove" | "trim" | "keep");
10323
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
10324
10421
  partitionByComment?: (string[] | boolean | string);
10422
+ groupKind?: ("mixed" | "literals-first" | "spreads-first");
10325
10423
  partitionByNewLine?: boolean;
10326
- }
10327
- ];
10328
- type PerfectionistSortSvelteAttributes = [] | [
10329
- {
10330
- type?: ("alphabetical" | "natural" | "line-length");
10331
- order?: ("asc" | "desc");
10332
- matcher?: ("minimatch" | "regex");
10333
- ignoreCase?: boolean;
10334
10424
  specialCharacters?: ("remove" | "trim" | "keep");
10335
- groups?: (string | string[])[];
10336
- customGroups?: {
10337
- [k: string]: (string | string[]) | undefined;
10338
- };
10425
+ ignoreCase?: boolean;
10426
+ locales?: (string | string[]);
10427
+ order?: ("asc" | "desc");
10428
+ type?: ("alphabetical" | "natural" | "line-length");
10339
10429
  }
10340
10430
  ];
10341
10431
  type PerfectionistSortSwitchCase = [] | [
10342
10432
  {
10343
- type?: ("alphabetical" | "natural" | "line-length");
10344
- order?: ("asc" | "desc");
10345
- ignoreCase?: boolean;
10346
10433
  specialCharacters?: ("remove" | "trim" | "keep");
10434
+ ignoreCase?: boolean;
10435
+ locales?: (string | string[]);
10436
+ order?: ("asc" | "desc");
10437
+ type?: ("alphabetical" | "natural" | "line-length");
10347
10438
  }
10348
10439
  ];
10349
10440
  type PerfectionistSortUnionTypes = [] | [
10350
10441
  {
10351
- type?: ("alphabetical" | "natural" | "line-length");
10352
- order?: ("asc" | "desc");
10353
- matcher?: ("minimatch" | "regex");
10354
- ignoreCase?: boolean;
10355
- specialCharacters?: ("remove" | "trim" | "keep");
10356
- groups?: (string | string[])[];
10357
10442
  partitionByComment?: (string[] | boolean | string);
10358
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");
10359
10451
  }
10360
10452
  ];
10361
10453
  type PerfectionistSortVariableDeclarations = [] | [
10362
10454
  {
10363
- type?: ("alphabetical" | "natural" | "line-length");
10364
- order?: ("asc" | "desc");
10365
- matcher?: ("minimatch" | "regex");
10366
- ignoreCase?: boolean;
10367
- specialCharacters?: ("remove" | "trim" | "keep");
10368
10455
  partitionByComment?: (string[] | boolean | string);
10369
10456
  partitionByNewLine?: boolean;
10370
- }
10371
- ];
10372
- type PerfectionistSortVueAttributes = [] | [
10373
- {
10374
- type?: ("alphabetical" | "natural" | "line-length");
10375
- order?: ("asc" | "desc");
10376
- matcher?: ("minimatch" | "regex");
10377
- ignoreCase?: boolean;
10378
10457
  specialCharacters?: ("remove" | "trim" | "keep");
10379
- groups?: (string | string[])[];
10380
- customGroups?: {
10381
- [k: string]: (string | string[]) | undefined;
10382
- };
10458
+ ignoreCase?: boolean;
10459
+ locales?: (string | string[]);
10460
+ order?: ("asc" | "desc");
10461
+ type?: ("alphabetical" | "natural" | "line-length");
10383
10462
  }
10384
10463
  ];
10385
10464
  type PreferArrowCallback = [] | [
@@ -12761,7 +12840,7 @@ type Yoda = [] | [("always" | "never")] | [
12761
12840
  onlyEquality?: boolean;
12762
12841
  }
12763
12842
  ];
12764
- 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/vitest' | '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';
12765
12844
 
12766
12845
  /**
12767
12846
  * Typed flat config item
@@ -12772,6 +12851,10 @@ type TypedConfigItem = Omit<Linter.Config<Linter.RulesRecord & RuleOptions>, 'pl
12772
12851
  */
12773
12852
  plugins?: Record<string, any>;
12774
12853
  };
12854
+ /**
12855
+ * ESLint parser
12856
+ */
12857
+ type ESLintParser = Linter.Parser;
12775
12858
  /**
12776
12859
  * Parser options
12777
12860
  */
@@ -12817,6 +12900,8 @@ interface ConfigAntfuOptions extends OptionsOverrides {
12817
12900
  }
12818
12901
  interface ConfigNtnyqOptions extends OptionsOverrides {
12819
12902
  }
12903
+ interface ConfigGitHubActionOptions extends OptionsOverrides {
12904
+ }
12820
12905
  interface ConfigPrettierOptions extends OptionsOverrides {
12821
12906
  /**
12822
12907
  * Prettier level
@@ -12909,6 +12994,13 @@ interface ConfigMarkdownOptions extends OptionsOverrides {
12909
12994
  interface ConfigTomlOptions extends OptionsOverrides {
12910
12995
  }
12911
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;
12912
13004
  /**
12913
13005
  * Vue version
12914
13006
  *
@@ -12922,12 +13014,54 @@ interface ConfigTestOptions extends OptionsOverrides {
12922
13014
  */
12923
13015
  overridesVitestRules?: TypedConfigItem['rules'];
12924
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
+ }
12925
13045
  interface ConfigUnusedImportsOptions extends OptionsOverrides {
12926
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
+ }
12927
13061
  /**
12928
13062
  * Config factory options
12929
13063
  */
12930
- interface ConfigOptions {
13064
+ interface ConfigOptions extends ConfigOptionsInternal {
12931
13065
  ignores?: ConfigIgnoresOptions;
12932
13066
  sort?: boolean | ConfigSortOptions;
12933
13067
  command?: boolean | ConfigCommandOptions;
@@ -12939,18 +13073,6 @@ interface ConfigOptions {
12939
13073
  unicorn?: boolean | ConfigUnicornOptions;
12940
13074
  prettier?: boolean | ConfigPrettierOptions;
12941
13075
  perfectionist?: boolean | ConfigPerfectionistOptions;
12942
- /**
12943
- * @internal
12944
- */
12945
- unusedImports?: boolean | ConfigUnusedImportsOptions;
12946
- /**
12947
- * @internal
12948
- */
12949
- antfu?: boolean | ConfigAntfuOptions;
12950
- /**
12951
- * @internal
12952
- */
12953
- ntnyq?: boolean | ConfigNtnyqOptions;
12954
13076
  comments?: boolean | ConfigCommentsOptions;
12955
13077
  jsdoc?: boolean | ConfigJsdocOptions;
12956
13078
  unocss?: boolean | ConfigUnoCSSOptions;
@@ -12961,8 +13083,17 @@ interface ConfigOptions {
12961
13083
  toml?: boolean | ConfigTomlOptions;
12962
13084
  vue?: boolean | ConfigVueOptions;
12963
13085
  test?: boolean | ConfigTestOptions;
13086
+ antfu?: boolean | ConfigAntfuOptions;
13087
+ githubAction?: boolean | ConfigGitHubActionOptions;
12964
13088
  }
12965
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
+
12966
13097
  /**
12967
13098
  * @file factory function to create ESLint config
12968
13099
  */
@@ -12987,6 +13118,7 @@ declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
12987
13118
  declare const GLOB_CSS = "**/*.css";
12988
13119
  declare const GLOB_LESS = "**/*.less";
12989
13120
  declare const GLOB_SCSS = "**/*.scss";
13121
+ declare const GLOB_POSTCSS = "**/*.{p,post}css";
12990
13122
  declare const GLOB_JSON = "**/*.json";
12991
13123
  declare const GLOB_JSON5 = "**/*.json5";
12992
13124
  declare const GLOB_JSONC = "**/*.jsonc";
@@ -13000,6 +13132,7 @@ declare const GLOB_MARKDOWN = "**/*.md";
13000
13132
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
13001
13133
  declare const GLOB_MARKDOWN_NESTED = "**/*.md/*.md";
13002
13134
  declare const GLOB_ALL_SRC: string[];
13135
+ declare const GLOB_GITHUB_ACTION = "**/.github/workflows/*.y?(a)ml";
13003
13136
  declare const GLOB_NODE_MODULES = "**/node_modules/**";
13004
13137
  declare const GLOB_DIST = "**/dist/**";
13005
13138
  declare const GLOB_LOCKFILE: string[];
@@ -13030,6 +13163,25 @@ declare function interopDefault<T>(mod: Awaitable<T>): Promise<InteropModuleDefa
13030
13163
 
13031
13164
  declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
13032
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
+
13033
13185
  declare const vue: (options?: ConfigVueOptions) => TypedConfigItem[];
13034
13186
 
13035
13187
  declare const yml: (options?: ConfigYmlOptions) => TypedConfigItem[];
@@ -13060,6 +13212,8 @@ declare const regexp: (options?: ConfigRegexpOptions) => TypedConfigItem[];
13060
13212
 
13061
13213
  declare const unocss: (options?: ConfigUnoCSSOptions) => TypedConfigItem[];
13062
13214
 
13215
+ declare const format: (options?: ConfigFormatOptions) => TypedConfigItem[];
13216
+
13063
13217
  declare const command: (options?: ConfigCommandOptions) => TypedConfigItem[];
13064
13218
 
13065
13219
  /**
@@ -13087,8 +13241,15 @@ declare const jsx: () => TypedConfigItem[];
13087
13241
  declare const typescriptCore: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
13088
13242
  declare const typescript: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
13089
13243
 
13244
+ declare const githubAction: (options?: ConfigGitHubActionOptions) => TypedConfigItem[];
13245
+
13090
13246
  declare const perfectionist: (options?: ConfigPerfectionistOptions) => TypedConfigItem[];
13091
13247
 
13092
13248
  declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
13093
13249
 
13094
- 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 };