@sxzz/eslint-config 6.1.1 → 6.1.2

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,36 +1,31 @@
1
- import { Linter } from 'eslint';
2
- export { default as pluginAntfu } from 'eslint-plugin-antfu';
3
- export { default as pluginSxzz } from 'eslint-plugin-sxzz';
4
- export { default as pluginMarkdown } from '@eslint/markdown';
5
- export { default as tseslint } from 'typescript-eslint';
6
- export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
7
- export { default as pluginVue } from 'eslint-plugin-vue';
8
- export { default as pluginNode } from 'eslint-plugin-n';
9
- export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
10
- export { default as pluginPrettier } from 'eslint-plugin-prettier';
11
- export { default as pluginPrettierRecommended } from 'eslint-plugin-prettier/recommended';
12
- export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
13
- export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
14
- export { default as pluginIgnore } from 'eslint-config-flat-gitignore';
15
- export { default as pluginDeMorgan } from 'eslint-plugin-de-morgan';
16
- export { default as pluginPnpm } from 'eslint-plugin-pnpm';
17
- import * as eslintPluginImportX from 'eslint-plugin-import-x';
18
- export { eslintPluginImportX as pluginImport };
19
- import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
20
- export { eslintPluginJsonc as pluginJsonc };
21
- import * as eslintPluginYml from 'eslint-plugin-yml';
22
- export { eslintPluginYml as pluginYml };
23
- export { default as configJs } from '@eslint/js';
24
- export { default as configComments } from '@eslint-community/eslint-plugin-eslint-comments/configs';
25
- export { default as configCommand } from 'eslint-plugin-command/config';
26
- import * as vueEslintParser from 'vue-eslint-parser';
27
- export { vueEslintParser as parserVue };
28
- import * as yamlEslintParser from 'yaml-eslint-parser';
29
- export { yamlEslintParser as parserYml };
30
- import * as jsoncEslintParser from 'jsonc-eslint-parser';
31
- export { jsoncEslintParser as parserJsonc };
32
- import { Awaitable, Arrayable, FlatConfigComposer } from 'eslint-flat-config-utils';
1
+ import pluginAntfu from "eslint-plugin-antfu";
2
+ import pluginSxzz from "eslint-plugin-sxzz";
3
+ import pluginMarkdown from "@eslint/markdown";
4
+ import tseslint from "typescript-eslint";
5
+ import pluginUnicorn from "eslint-plugin-unicorn";
6
+ import pluginVue from "eslint-plugin-vue";
7
+ import pluginNode from "eslint-plugin-n";
8
+ import pluginPerfectionist from "eslint-plugin-perfectionist";
9
+ import pluginPrettier from "eslint-plugin-prettier";
10
+ import pluginPrettierRecommended from "eslint-plugin-prettier/recommended";
11
+ import pluginUnusedImports from "eslint-plugin-unused-imports";
12
+ import pluginJsdoc from "eslint-plugin-jsdoc";
13
+ import pluginIgnore from "eslint-config-flat-gitignore";
14
+ import pluginDeMorgan from "eslint-plugin-de-morgan";
15
+ import pluginPnpm from "eslint-plugin-pnpm";
16
+ import * as pluginImport from "eslint-plugin-import-x";
17
+ import * as pluginJsonc from "eslint-plugin-jsonc";
18
+ import * as pluginYml from "eslint-plugin-yml";
19
+ import configJs from "@eslint/js";
20
+ import configComments from "@eslint-community/eslint-plugin-eslint-comments/configs";
21
+ import configCommand from "eslint-plugin-command/config";
22
+ import * as parserVue from "vue-eslint-parser";
23
+ import * as parserYml from "yaml-eslint-parser";
24
+ import * as parserJsonc from "jsonc-eslint-parser";
25
+ import { Arrayable, Awaitable, FlatConfigComposer } from "eslint-flat-config-utils";
26
+ import { Linter } from "eslint";
33
27
 
28
+ //#region src/typegen.d.ts
34
29
  interface Rules {
35
30
  /**
36
31
  * require a `eslint-enable` comment for every `eslint-disable` comment
@@ -1072,233 +1067,233 @@ interface Rules {
1072
1067
  "implicit-arrow-linebreak"?: Linter.RuleEntry<ImplicitArrowLinebreak>;
1073
1068
  /**
1074
1069
  * Enforce or ban the use of inline type-only markers for named imports.
1075
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/consistent-type-specifier-style.md
1070
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/consistent-type-specifier-style.md
1076
1071
  */
1077
1072
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
1078
1073
  /**
1079
1074
  * Ensure a default export is present, given a default import.
1080
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/default.md
1075
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/default.md
1081
1076
  */
1082
1077
  "import/default"?: Linter.RuleEntry<[]>;
1083
1078
  /**
1084
1079
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1085
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/dynamic-import-chunkname.md
1080
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/dynamic-import-chunkname.md
1086
1081
  */
1087
1082
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
1088
1083
  /**
1089
1084
  * Forbid any invalid exports, i.e. re-export of the same name.
1090
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/export.md
1085
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/export.md
1091
1086
  */
1092
1087
  "import/export"?: Linter.RuleEntry<[]>;
1093
1088
  /**
1094
1089
  * Ensure all exports appear after other statements.
1095
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/exports-last.md
1090
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/exports-last.md
1096
1091
  */
1097
1092
  "import/exports-last"?: Linter.RuleEntry<[]>;
1098
1093
  /**
1099
1094
  * Ensure consistent use of file extension within the import path.
1100
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/extensions.md
1095
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/extensions.md
1101
1096
  */
1102
1097
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
1103
1098
  /**
1104
1099
  * Ensure all imports appear before other statements.
1105
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/first.md
1100
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/first.md
1106
1101
  */
1107
1102
  "import/first"?: Linter.RuleEntry<ImportFirst>;
1108
1103
  /**
1109
1104
  * Prefer named exports to be grouped together in a single export declaration.
1110
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/group-exports.md
1105
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/group-exports.md
1111
1106
  */
1112
1107
  "import/group-exports"?: Linter.RuleEntry<[]>;
1113
1108
  /**
1114
1109
  * Replaced by `import-x/first`.
1115
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/imports-first.md
1110
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/imports-first.md
1116
1111
  * @deprecated
1117
1112
  */
1118
1113
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
1119
1114
  /**
1120
1115
  * Enforce the maximum number of dependencies a module can have.
1121
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/max-dependencies.md
1116
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/max-dependencies.md
1122
1117
  */
1123
1118
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
1124
1119
  /**
1125
1120
  * Ensure named imports correspond to a named export in the remote file.
1126
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/named.md
1121
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/named.md
1127
1122
  */
1128
1123
  "import/named"?: Linter.RuleEntry<ImportNamed>;
1129
1124
  /**
1130
1125
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1131
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/namespace.md
1126
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/namespace.md
1132
1127
  */
1133
1128
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
1134
1129
  /**
1135
1130
  * Enforce a newline after import statements.
1136
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/newline-after-import.md
1131
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/newline-after-import.md
1137
1132
  */
1138
1133
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
1139
1134
  /**
1140
1135
  * Forbid import of modules using absolute paths.
1141
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-absolute-path.md
1136
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-absolute-path.md
1142
1137
  */
1143
1138
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
1144
1139
  /**
1145
1140
  * Forbid AMD `require` and `define` calls.
1146
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-amd.md
1141
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-amd.md
1147
1142
  */
1148
1143
  "import/no-amd"?: Linter.RuleEntry<[]>;
1149
1144
  /**
1150
1145
  * Forbid anonymous values as default exports.
1151
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-anonymous-default-export.md
1146
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-anonymous-default-export.md
1152
1147
  */
1153
1148
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
1154
1149
  /**
1155
1150
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1156
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-commonjs.md
1151
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-commonjs.md
1157
1152
  */
1158
1153
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
1159
1154
  /**
1160
1155
  * Forbid a module from importing a module with a dependency path back to itself.
1161
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-cycle.md
1156
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-cycle.md
1162
1157
  */
1163
1158
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
1164
1159
  /**
1165
1160
  * Forbid default exports.
1166
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-default-export.md
1161
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-default-export.md
1167
1162
  */
1168
1163
  "import/no-default-export"?: Linter.RuleEntry<[]>;
1169
1164
  /**
1170
1165
  * Forbid imported names marked with `@deprecated` documentation tag.
1171
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-deprecated.md
1166
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-deprecated.md
1172
1167
  */
1173
1168
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
1174
1169
  /**
1175
1170
  * Forbid repeated import of the same module in multiple places.
1176
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-duplicates.md
1171
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-duplicates.md
1177
1172
  */
1178
1173
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
1179
1174
  /**
1180
1175
  * Forbid `require()` calls with expressions.
1181
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-dynamic-require.md
1176
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-dynamic-require.md
1182
1177
  */
1183
1178
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
1184
1179
  /**
1185
1180
  * Forbid empty named import blocks.
1186
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-empty-named-blocks.md
1181
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-empty-named-blocks.md
1187
1182
  */
1188
1183
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
1189
1184
  /**
1190
1185
  * Forbid the use of extraneous packages.
1191
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-extraneous-dependencies.md
1186
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-extraneous-dependencies.md
1192
1187
  */
1193
1188
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
1194
1189
  /**
1195
1190
  * Forbid import statements with CommonJS module.exports.
1196
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-import-module-exports.md
1191
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-import-module-exports.md
1197
1192
  */
1198
1193
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
1199
1194
  /**
1200
1195
  * Forbid importing the submodules of other modules.
1201
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-internal-modules.md
1196
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-internal-modules.md
1202
1197
  */
1203
1198
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
1204
1199
  /**
1205
1200
  * Forbid the use of mutable exports with `var` or `let`.
1206
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-mutable-exports.md
1201
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-mutable-exports.md
1207
1202
  */
1208
1203
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
1209
1204
  /**
1210
1205
  * Forbid use of exported name as identifier of default export.
1211
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-as-default.md
1206
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default.md
1212
1207
  */
1213
1208
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
1214
1209
  /**
1215
1210
  * Forbid use of exported name as property of default export.
1216
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-as-default-member.md
1211
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default-member.md
1217
1212
  */
1218
1213
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
1219
1214
  /**
1220
1215
  * Forbid named default exports.
1221
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-default.md
1216
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-default.md
1222
1217
  */
1223
1218
  "import/no-named-default"?: Linter.RuleEntry<[]>;
1224
1219
  /**
1225
1220
  * Forbid named exports.
1226
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-named-export.md
1221
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-export.md
1227
1222
  */
1228
1223
  "import/no-named-export"?: Linter.RuleEntry<[]>;
1229
1224
  /**
1230
1225
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
1231
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-namespace.md
1226
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-namespace.md
1232
1227
  */
1233
1228
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
1234
1229
  /**
1235
1230
  * Forbid Node.js builtin modules.
1236
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-nodejs-modules.md
1231
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-nodejs-modules.md
1237
1232
  */
1238
1233
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
1239
1234
  /**
1240
1235
  * Forbid importing packages through relative paths.
1241
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-relative-packages.md
1236
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-packages.md
1242
1237
  */
1243
1238
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
1244
1239
  /**
1245
1240
  * Forbid importing modules from parent directories.
1246
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-relative-parent-imports.md
1241
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-parent-imports.md
1247
1242
  */
1248
1243
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
1249
1244
  /**
1250
1245
  * Forbid importing a default export by a different name.
1251
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-rename-default.md
1246
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-rename-default.md
1252
1247
  */
1253
1248
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
1254
1249
  /**
1255
1250
  * Enforce which files can be imported in a given folder.
1256
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-restricted-paths.md
1251
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-restricted-paths.md
1257
1252
  */
1258
1253
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
1259
1254
  /**
1260
1255
  * Forbid a module from importing itself.
1261
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-self-import.md
1256
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-self-import.md
1262
1257
  */
1263
1258
  "import/no-self-import"?: Linter.RuleEntry<[]>;
1264
1259
  /**
1265
1260
  * Forbid unassigned imports.
1266
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unassigned-import.md
1261
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unassigned-import.md
1267
1262
  */
1268
1263
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
1269
1264
  /**
1270
1265
  * Ensure imports point to a file/module that can be resolved.
1271
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unresolved.md
1266
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unresolved.md
1272
1267
  */
1273
1268
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
1274
1269
  /**
1275
1270
  * Forbid modules without exports, or exports without matching import in another module.
1276
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-unused-modules.md
1271
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unused-modules.md
1277
1272
  */
1278
1273
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
1279
1274
  /**
1280
1275
  * Forbid unnecessary path segments in import and require statements.
1281
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-useless-path-segments.md
1276
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-useless-path-segments.md
1282
1277
  */
1283
1278
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
1284
1279
  /**
1285
1280
  * Forbid webpack loader syntax in imports.
1286
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/no-webpack-loader-syntax.md
1281
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-webpack-loader-syntax.md
1287
1282
  */
1288
1283
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
1289
1284
  /**
1290
1285
  * Enforce a convention in module import order.
1291
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/order.md
1286
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/order.md
1292
1287
  */
1293
1288
  "import/order"?: Linter.RuleEntry<ImportOrder>;
1294
1289
  /**
1295
1290
  * Prefer a default export if module exports a single name or multiple names.
1296
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/prefer-default-export.md
1291
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/prefer-default-export.md
1297
1292
  */
1298
1293
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
1299
1294
  /**
1300
1295
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1301
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.9.4/docs/rules/unambiguous.md
1296
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/unambiguous.md
1302
1297
  */
1303
1298
  "import/unambiguous"?: Linter.RuleEntry<[]>;
1304
1299
  /**
@@ -1878,30 +1873,37 @@ interface Rules {
1878
1873
  "logical-assignment-operators"?: Linter.RuleEntry<LogicalAssignmentOperators>;
1879
1874
  /**
1880
1875
  * Require languages for fenced code blocks
1876
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
1881
1877
  */
1882
1878
  "markdown/fenced-code-language"?: Linter.RuleEntry<MarkdownFencedCodeLanguage>;
1883
1879
  /**
1884
1880
  * Enforce heading levels increment by one
1881
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
1885
1882
  */
1886
1883
  "markdown/heading-increment"?: Linter.RuleEntry<[]>;
1887
1884
  /**
1888
1885
  * Disallow duplicate headings in the same document
1886
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
1889
1887
  */
1890
1888
  "markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
1891
1889
  /**
1892
1890
  * Disallow empty links
1891
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
1893
1892
  */
1894
1893
  "markdown/no-empty-links"?: Linter.RuleEntry<[]>;
1895
1894
  /**
1896
1895
  * Disallow HTML tags
1896
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
1897
1897
  */
1898
1898
  "markdown/no-html"?: Linter.RuleEntry<MarkdownNoHtml>;
1899
1899
  /**
1900
1900
  * Disallow invalid label references
1901
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
1901
1902
  */
1902
1903
  "markdown/no-invalid-label-refs"?: Linter.RuleEntry<[]>;
1903
1904
  /**
1904
1905
  * Disallow missing label references
1906
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
1905
1907
  */
1906
1908
  "markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
1907
1909
  /**
@@ -6640,6 +6642,7 @@ type TypescriptEslintPreferNullishCoalescing = [] | [{
6640
6642
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
6641
6643
  ignoreBooleanCoercion?: boolean
6642
6644
  ignoreConditionalTests?: boolean
6645
+ ignoreIfStatements?: boolean
6643
6646
  ignoreMixedLogicalExpressions?: boolean
6644
6647
  ignorePrimitives?: ({
6645
6648
  bigint?: boolean
@@ -6871,6 +6874,8 @@ type CapitalizedComments = [] | [("always" | "never")] | [("always" | "never"),
6871
6874
  type ClassMethodsUseThis = [] | [{
6872
6875
  exceptMethods?: string[]
6873
6876
  enforceForClassFields?: boolean
6877
+ ignoreOverrideMethods?: boolean
6878
+ ignoreClassesWithImplements?: ("all" | "public-fields")
6874
6879
  }];
6875
6880
  type CommaDangle = [] | [(_CommaDangleValue | {
6876
6881
  arrays?: _CommaDangleValueWithIgnore
@@ -8422,7 +8427,7 @@ type NoEmpty = [] | [{
8422
8427
  allowEmptyCatch?: boolean
8423
8428
  }];
8424
8429
  type NoEmptyFunction = [] | [{
8425
- allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
8430
+ allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
8426
8431
  }];
8427
8432
  type NoEmptyPattern = [] | [{
8428
8433
  allowObjectPatternsAsParameters?: boolean
@@ -8591,13 +8596,9 @@ type NoRestrictedModules = ((string | {
8591
8596
  patterns?: string[]
8592
8597
  }[]);
8593
8598
  type NoRestrictedProperties = ({
8594
- object: string
8595
- property?: string
8596
- message?: string
8599
+ [k: string]: unknown | undefined
8597
8600
  } | {
8598
- object?: string
8599
- property: string
8600
- message?: string
8601
+ [k: string]: unknown | undefined
8601
8602
  })[];
8602
8603
  type NoRestrictedSyntax = (string | {
8603
8604
  selector: string
@@ -9332,7 +9333,7 @@ type PerfectionistSortEnums = [] | [{
9332
9333
  newlinesBetween?: ("ignore" | "always" | "never")
9333
9334
  })[]
9334
9335
  }];
9335
- type PerfectionistSortExports = [] | [{
9336
+ type PerfectionistSortExports = {
9336
9337
  fallbackSort?: {
9337
9338
  order?: ("asc" | "desc")
9338
9339
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
@@ -9345,6 +9346,47 @@ type PerfectionistSortExports = [] | [{
9345
9346
  order?: ("asc" | "desc")
9346
9347
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9347
9348
  groupKind?: ("mixed" | "values-first" | "types-first")
9349
+ customGroups?: ({
9350
+ newlinesInside?: ("always" | "never")
9351
+ fallbackSort?: {
9352
+ order?: ("asc" | "desc")
9353
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9354
+ [k: string]: unknown | undefined
9355
+ }
9356
+ groupName?: string
9357
+ order?: ("asc" | "desc")
9358
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9359
+ anyOf?: {
9360
+ modifiers?: ("value" | "type")[]
9361
+ selector?: "export"
9362
+ elementNamePattern?: (({
9363
+ pattern?: string
9364
+ flags?: string
9365
+ } | string)[] | ({
9366
+ pattern?: string
9367
+ flags?: string
9368
+ } | string))
9369
+ }[]
9370
+ } | {
9371
+ newlinesInside?: ("always" | "never")
9372
+ fallbackSort?: {
9373
+ order?: ("asc" | "desc")
9374
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9375
+ [k: string]: unknown | undefined
9376
+ }
9377
+ groupName?: string
9378
+ order?: ("asc" | "desc")
9379
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9380
+ modifiers?: ("value" | "type")[]
9381
+ selector?: "export"
9382
+ elementNamePattern?: (({
9383
+ pattern?: string
9384
+ flags?: string
9385
+ } | string)[] | ({
9386
+ pattern?: string
9387
+ flags?: string
9388
+ } | string))
9389
+ })[]
9348
9390
  partitionByComment?: (boolean | (({
9349
9391
  pattern?: string
9350
9392
  flags?: string
@@ -9368,7 +9410,11 @@ type PerfectionistSortExports = [] | [{
9368
9410
  } | string)))
9369
9411
  })
9370
9412
  partitionByNewLine?: boolean
9371
- }];
9413
+ newlinesBetween?: ("ignore" | "always" | "never")
9414
+ groups?: (string | string[] | {
9415
+ newlinesBetween?: ("ignore" | "always" | "never")
9416
+ })[]
9417
+ }[];
9372
9418
  type PerfectionistSortHeritageClauses = [] | [{
9373
9419
  fallbackSort?: {
9374
9420
  order?: ("asc" | "desc")
@@ -9528,6 +9574,7 @@ type PerfectionistSortInterfaces = {
9528
9574
  } | string))
9529
9575
  sortBy?: ("name" | "value")
9530
9576
  })[])
9577
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9531
9578
  useConfigurationIf?: {
9532
9579
  allNamesMatchPattern?: (({
9533
9580
  pattern?: string
@@ -9544,7 +9591,6 @@ type PerfectionistSortInterfaces = {
9544
9591
  flags?: string
9545
9592
  } | string))
9546
9593
  }
9547
- groupKind?: ("mixed" | "required-first" | "optional-first")
9548
9594
  partitionByComment?: (boolean | (({
9549
9595
  pattern?: string
9550
9596
  flags?: string
@@ -9633,6 +9679,63 @@ type PerfectionistSortJsxProps = {
9633
9679
  locales?: (string | string[])
9634
9680
  order?: ("asc" | "desc")
9635
9681
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9682
+ customGroups?: ({
9683
+ [k: string]: (string | string[]) | undefined
9684
+ } | ({
9685
+ newlinesInside?: ("always" | "never")
9686
+ fallbackSort?: {
9687
+ order?: ("asc" | "desc")
9688
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9689
+ [k: string]: unknown | undefined
9690
+ }
9691
+ groupName?: string
9692
+ order?: ("asc" | "desc")
9693
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9694
+ anyOf?: {
9695
+ modifiers?: ("shorthand" | "multiline")[]
9696
+ selector?: ("multiline" | "prop" | "shorthand")
9697
+ elementValuePattern?: (({
9698
+ pattern?: string
9699
+ flags?: string
9700
+ } | string)[] | ({
9701
+ pattern?: string
9702
+ flags?: string
9703
+ } | string))
9704
+ elementNamePattern?: (({
9705
+ pattern?: string
9706
+ flags?: string
9707
+ } | string)[] | ({
9708
+ pattern?: string
9709
+ flags?: string
9710
+ } | string))
9711
+ }[]
9712
+ } | {
9713
+ newlinesInside?: ("always" | "never")
9714
+ fallbackSort?: {
9715
+ order?: ("asc" | "desc")
9716
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9717
+ [k: string]: unknown | undefined
9718
+ }
9719
+ groupName?: string
9720
+ order?: ("asc" | "desc")
9721
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9722
+ modifiers?: ("shorthand" | "multiline")[]
9723
+ selector?: ("multiline" | "prop" | "shorthand")
9724
+ elementValuePattern?: (({
9725
+ pattern?: string
9726
+ flags?: string
9727
+ } | string)[] | ({
9728
+ pattern?: string
9729
+ flags?: string
9730
+ } | string))
9731
+ elementNamePattern?: (({
9732
+ pattern?: string
9733
+ flags?: string
9734
+ } | string)[] | ({
9735
+ pattern?: string
9736
+ flags?: string
9737
+ } | string))
9738
+ })[])
9636
9739
  useConfigurationIf?: {
9637
9740
  allNamesMatchPattern?: (({
9638
9741
  pattern?: string
@@ -9651,9 +9754,6 @@ type PerfectionistSortJsxProps = {
9651
9754
  }
9652
9755
  partitionByNewLine?: boolean
9653
9756
  newlinesBetween?: ("ignore" | "always" | "never")
9654
- customGroups?: {
9655
- [k: string]: (string | string[]) | undefined
9656
- }
9657
9757
  ignorePattern?: (({
9658
9758
  pattern?: string
9659
9759
  flags?: string
@@ -9995,6 +10095,7 @@ type PerfectionistSortObjectTypes = {
9995
10095
  } | string))
9996
10096
  sortBy?: ("name" | "value")
9997
10097
  })[])
10098
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9998
10099
  useConfigurationIf?: {
9999
10100
  allNamesMatchPattern?: (({
10000
10101
  pattern?: string
@@ -10011,7 +10112,6 @@ type PerfectionistSortObjectTypes = {
10011
10112
  flags?: string
10012
10113
  } | string))
10013
10114
  }
10014
- groupKind?: ("mixed" | "required-first" | "optional-first")
10015
10115
  partitionByComment?: (boolean | (({
10016
10116
  pattern?: string
10017
10117
  flags?: string
@@ -12052,8 +12152,10 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
12052
12152
  exceptRange?: boolean
12053
12153
  onlyEquality?: boolean
12054
12154
  }];
12055
- type ConfigNames = "sxzz/global-ignores" | "sxzz/gitignore" | "sxzz/js/recommended" | "sxzz/js" | "sxzz/comments/recommended" | "sxzz/comments" | "sxzz/imports" | "sxzz/unicorn" | "sxzz/node" | "sxzz/jsdoc" | "sxzz/regexp" | "sxzz/de-morgan" | "sxzz/typescript__typescript-eslint/base" | "sxzz/typescript__typescript-eslint/eslint-recommended" | "sxzz/typescript__typescript-eslint/recommended" | "sxzz/typescript" | "sxzz/typescript/dts-rules" | "sxzz/typescript/cjs-rules" | "sxzz/sort/imports" | "sxzz/markdown/recommended/plugin" | "sxzz/markdown/recommended/processor" | "sxzz/markdown/recommended/code-blocks" | "sxzz/markdown-rules" | "sxzz/yaml/setup" | "sxzz/yaml/rules" | "sxzz/json" | "sxzz/sort/package.json" | "sxzz/sort/tsconfig" | "sxzz/sort/pnpm-workspace" | "sxzz/vue/typescript__typescript-eslint/base" | "sxzz/vue/typescript__typescript-eslint/eslint-recommended" | "sxzz/vue/typescript__typescript-eslint/recommended" | "sxzz/vue/typescript" | "sxzz/vue" | "sxzz/vue/reactivity-transform" | "sxzz/unocss" | "sxzz/prettier" | "sxzz/command" | "sxzz/pnpm/package-json" | "sxzz/pnpm/pnpm-workspace-yaml" | "sxzz/special/cli" | "sxzz/special/tests" | "sxzz/special/allow-default-export";
12155
+ type ConfigNames = "sxzz/global-ignores" | "sxzz/gitignore" | "sxzz/js/recommended" | "sxzz/js" | "sxzz/comments/recommended" | "sxzz/comments" | "sxzz/imports" | "sxzz/unicorn" | "sxzz/node" | "sxzz/jsdoc" | "sxzz/regexp" | "sxzz/de-morgan" | "sxzz/typescript__typescript-eslint/base" | "sxzz/typescript__typescript-eslint/eslint-recommended" | "sxzz/typescript__typescript-eslint/recommended" | "sxzz/typescript" | "sxzz/typescript/dts-rules" | "sxzz/typescript/cjs-rules" | "sxzz/sort/imports" | "sxzz/markdown/recommended/plugin" | "sxzz/markdown/recommended/processor" | "sxzz/markdown/recommended/code-blocks" | "sxzz/markdown-rules" | "sxzz/yaml/setup" | "sxzz/yaml/rules" | "sxzz/json" | "sxzz/sort/package.json" | "sxzz/sort/tsconfig" | "sxzz/sort/pnpm-workspace" | "sxzz/vue/typescript__typescript-eslint/base" | "sxzz/vue/typescript__typescript-eslint/eslint-recommended" | "sxzz/vue/typescript__typescript-eslint/recommended" | "sxzz/vue/typescript" | "sxzz/vue" | "sxzz/vue/reactivity-transform" | "sxzz/unocss" | "sxzz/prettier" | "sxzz/command" | "sxzz/pnpm/package-json" | "sxzz/pnpm/pnpm-workspace-yaml" | "sxzz/special/cli" | "sxzz/special/tests" | "sxzz/special/allow-default-export" | "sxzz/special/github";
12056
12156
 
12157
+ //#endregion
12158
+ //#region src/types.d.ts
12057
12159
  type Config = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
12058
12160
  /**
12059
12161
  * An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
@@ -12063,58 +12165,102 @@ type Config = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
12063
12165
  plugins?: Record<string, any>
12064
12166
  };
12065
12167
 
12168
+ //#endregion
12169
+ //#region src/configs/command.d.ts
12066
12170
  declare const command: () => Config[];
12067
12171
 
12172
+ //#endregion
12173
+ //#region src/configs/comments.d.ts
12068
12174
  declare const comments: () => Config[];
12069
12175
 
12176
+ //#endregion
12177
+ //#region src/configs/de-morgan.d.ts
12070
12178
  declare const deMorgan: () => Config[];
12071
12179
 
12180
+ //#endregion
12181
+ //#region src/configs/ignores.d.ts
12072
12182
  declare const ignores: () => Config[];
12073
12183
 
12184
+ //#endregion
12185
+ //#region src/configs/imports.d.ts
12074
12186
  declare const imports: () => Config[];
12075
12187
 
12188
+ //#endregion
12189
+ //#region src/configs/javascript.d.ts
12076
12190
  declare const restrictedSyntaxJs: string[];
12077
12191
  declare const javascript: () => Config[];
12078
12192
 
12193
+ //#endregion
12194
+ //#region src/configs/jsdoc.d.ts
12079
12195
  declare const jsdoc: () => Config[];
12080
12196
 
12197
+ //#endregion
12198
+ //#region src/configs/jsonc.d.ts
12081
12199
  declare const jsonc: () => Config[];
12082
12200
 
12201
+ //#endregion
12202
+ //#region src/configs/markdown.d.ts
12083
12203
  declare const markdown: () => Config[];
12084
12204
 
12205
+ //#endregion
12206
+ //#region src/configs/node.d.ts
12085
12207
  declare const node: () => Config[];
12086
12208
 
12209
+ //#endregion
12210
+ //#region src/configs/pnpm.d.ts
12087
12211
  declare function pnpm(): Promise<Config[]>;
12088
12212
 
12213
+ //#endregion
12214
+ //#region src/configs/prettier.d.ts
12089
12215
  declare const prettier: () => Config[];
12090
12216
 
12217
+ //#endregion
12218
+ //#region src/configs/regexp.d.ts
12091
12219
  declare const regexp: () => Config[];
12092
12220
 
12221
+ //#endregion
12222
+ //#region src/configs/sort.d.ts
12093
12223
  declare const sortPackageJson: () => Config[];
12094
12224
  declare const sortTsconfig: () => Config[];
12095
12225
  declare const sortPnpmWorkspace: () => Config[];
12096
12226
  declare const sortImports: () => Config[];
12097
12227
 
12228
+ //#endregion
12229
+ //#region src/configs/special-cases.d.ts
12098
12230
  declare const specialCases: () => Config[];
12099
12231
 
12232
+ //#endregion
12233
+ //#region src/configs/typescript.d.ts
12100
12234
  declare const typescriptCore: Config[];
12101
12235
  declare const typescript: () => Config[];
12102
12236
 
12237
+ //#endregion
12238
+ //#region src/configs/unicorn.d.ts
12103
12239
  declare const unicorn: () => Config[];
12104
12240
 
12241
+ //#endregion
12242
+ //#region src/configs/unocss.d.ts
12105
12243
  declare const unocss: () => Promise<Config[]>;
12106
12244
 
12245
+ //#endregion
12246
+ //#region src/configs/vue.d.ts
12107
12247
  declare const reactivityTransform: () => Config[];
12108
12248
  declare const vue: () => Config[];
12109
12249
 
12250
+ //#endregion
12251
+ //#region src/configs/yml.d.ts
12110
12252
  declare const yml: () => Config[];
12111
12253
 
12254
+ //#endregion
12255
+ //#region src/env.d.ts
12112
12256
  declare const hasTypeScript: () => boolean;
12113
12257
  declare const hasVue: () => boolean;
12114
12258
  declare const hasUnocss: () => boolean;
12115
12259
  declare function isInEditorEnv(): boolean;
12116
12260
  declare function isInGitHooksOrLintStaged(): boolean;
12117
12261
 
12262
+ //#endregion
12263
+ //#region src/globs.d.ts
12118
12264
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
12119
12265
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
12120
12266
  declare const GLOB_JS = "**/*.?([cm])js";
@@ -12138,6 +12284,8 @@ declare const GLOB_DIST: "**/dist";
12138
12284
  declare const GLOB_LOCKFILE: string[];
12139
12285
  declare const GLOB_EXCLUDE: string[];
12140
12286
 
12287
+ //#endregion
12288
+ //#region src/presets.d.ts
12141
12289
  /** Ignore common files and include javascript support */
12142
12290
  declare const presetJavaScript: () => Config[];
12143
12291
  /** Includes basic json(c) file support and sorting json keys */
@@ -12171,5 +12319,5 @@ interface Options {
12171
12319
  /** `@sxzz`'s preset. */
12172
12320
  declare function sxzz(options?: Options, ...userConfigs: Awaitable<Arrayable<Config> | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<Config, ConfigNames>;
12173
12321
 
12174
- export { GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, command, comments, deMorgan, hasTypeScript, hasUnocss, hasVue, ignores, imports, isInEditorEnv, isInGitHooksOrLintStaged, javascript, jsdoc, jsonc, markdown, node, pnpm, presetAll, presetBasic, presetJavaScript, presetJsonc, presetLangsExtensions, prettier, reactivityTransform, regexp, restrictedSyntaxJs, sortImports, sortPackageJson, sortPnpmWorkspace, sortTsconfig, specialCases, sxzz, typescript, typescriptCore, unicorn, unocss, vue, yml };
12175
- export type { Config, ConfigNames, Options, Rules };
12322
+ //#endregion
12323
+ export { Config, ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, Options, Rules, command, comments, configCommand, configComments, configJs, deMorgan, hasTypeScript, hasUnocss, hasVue, ignores, imports, isInEditorEnv, isInGitHooksOrLintStaged, javascript, jsdoc, jsonc, markdown, node, parserJsonc, parserVue, parserYml, pluginAntfu, pluginDeMorgan, pluginIgnore, pluginImport, pluginJsdoc, pluginJsonc, pluginMarkdown, pluginNode, pluginPerfectionist, pluginPnpm, pluginPrettier, pluginPrettierRecommended, pluginSxzz, pluginUnicorn, pluginUnusedImports, pluginVue, pluginYml, pnpm, presetAll, presetBasic, presetJavaScript, presetJsonc, presetLangsExtensions, prettier, reactivityTransform, regexp, restrictedSyntaxJs, sortImports, sortPackageJson, sortPnpmWorkspace, sortTsconfig, specialCases, sxzz, tseslint, typescript, typescriptCore, unicorn, unocss, vue, yml };
package/dist/index.js CHANGED
@@ -679,6 +679,11 @@ const specialCases = () => [
679
679
  name: "sxzz/special/allow-default-export",
680
680
  plugins: { import: pluginImport },
681
681
  rules: { "import/no-default-export": "off" }
682
+ },
683
+ {
684
+ files: ["**/ISSUE_TEMPLATE/**"],
685
+ name: "sxzz/special/github",
686
+ rules: { "unicorn/filename-case": "off" }
682
687
  }
683
688
  ];
684
689
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sxzz/eslint-config",
3
- "version": "6.1.1",
3
+ "version": "6.1.2",
4
4
  "description": "ESLint config for @sxzz.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -37,22 +37,22 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
41
- "@eslint/js": "^9.23.0",
42
- "@eslint/markdown": "^6.3.0",
40
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
41
+ "@eslint/js": "^9.25.0",
42
+ "@eslint/markdown": "^6.4.0",
43
43
  "eslint-config-flat-gitignore": "^2.1.0",
44
- "eslint-config-prettier": "^10.1.1",
44
+ "eslint-config-prettier": "^10.1.2",
45
45
  "eslint-flat-config-utils": "^2.0.1",
46
46
  "eslint-plugin-antfu": "^3.1.1",
47
47
  "eslint-plugin-command": "^3.2.0",
48
48
  "eslint-plugin-de-morgan": "^1.2.1",
49
- "eslint-plugin-import-x": "^4.9.4",
49
+ "eslint-plugin-import-x": "^4.10.6",
50
50
  "eslint-plugin-jsdoc": "^50.6.9",
51
51
  "eslint-plugin-jsonc": "^2.20.0",
52
52
  "eslint-plugin-n": "^17.17.0",
53
- "eslint-plugin-perfectionist": "^4.10.1",
53
+ "eslint-plugin-perfectionist": "^4.11.0",
54
54
  "eslint-plugin-pnpm": "^0.3.1",
55
- "eslint-plugin-prettier": "^5.2.5",
55
+ "eslint-plugin-prettier": "^5.2.6",
56
56
  "eslint-plugin-regexp": "^2.7.0",
57
57
  "eslint-plugin-sxzz": "^0.2.2",
58
58
  "eslint-plugin-unicorn": "^58.0.0",
@@ -63,22 +63,22 @@
63
63
  "jsonc-eslint-parser": "^2.4.0",
64
64
  "local-pkg": "^1.1.1",
65
65
  "prettier": "^3.5.3",
66
- "typescript-eslint": "^8.28.0",
67
- "vue-eslint-parser": "^10.1.1",
66
+ "typescript-eslint": "^8.30.1",
67
+ "vue-eslint-parser": "^10.1.3",
68
68
  "yaml-eslint-parser": "^1.3.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@eslint/config-inspector": "^1.0.2",
72
72
  "@sxzz/prettier-config": "^2.2.1",
73
- "@types/node": "^22.13.14",
74
- "@unocss/eslint-plugin": "^66.1.0-beta.7",
73
+ "@types/node": "^22.14.1",
74
+ "@unocss/eslint-plugin": "^66.1.0-beta.12",
75
75
  "ansis": "^3.17.0",
76
76
  "bumpp": "^10.1.0",
77
- "eslint": "^9.23.0",
77
+ "eslint": "^9.25.0",
78
78
  "eslint-typegen": "^2.1.0",
79
- "tsdown": "^0.6.10",
79
+ "tsdown": "^0.9.1",
80
80
  "tsx": "^4.19.3",
81
- "typescript": "^5.8.2"
81
+ "typescript": "^5.8.3"
82
82
  },
83
83
  "engines": {
84
84
  "node": "^18.18.0 || >=20.0.0"