@sxzz/eslint-config 7.0.2 → 7.0.3
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 +171 -69
- package/package.json +17 -17
package/dist/index.d.ts
CHANGED
|
@@ -1073,233 +1073,233 @@ interface Rules {
|
|
|
1073
1073
|
"implicit-arrow-linebreak"?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1076
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1076
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
|
|
1077
1077
|
*/
|
|
1078
1078
|
"import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Ensure a default export is present, given a default import.
|
|
1081
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1081
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
|
|
1082
1082
|
*/
|
|
1083
1083
|
"import/default"?: Linter.RuleEntry<[]>;
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1086
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1086
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
|
|
1087
1087
|
*/
|
|
1088
1088
|
"import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
1089
1089
|
/**
|
|
1090
1090
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1091
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1091
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
|
|
1092
1092
|
*/
|
|
1093
1093
|
"import/export"?: Linter.RuleEntry<[]>;
|
|
1094
1094
|
/**
|
|
1095
1095
|
* Ensure all exports appear after other statements.
|
|
1096
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1096
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
|
|
1097
1097
|
*/
|
|
1098
1098
|
"import/exports-last"?: Linter.RuleEntry<[]>;
|
|
1099
1099
|
/**
|
|
1100
1100
|
* Ensure consistent use of file extension within the import path.
|
|
1101
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1101
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
|
|
1102
1102
|
*/
|
|
1103
1103
|
"import/extensions"?: Linter.RuleEntry<ImportExtensions>;
|
|
1104
1104
|
/**
|
|
1105
1105
|
* Ensure all imports appear before other statements.
|
|
1106
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1106
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
|
|
1107
1107
|
*/
|
|
1108
1108
|
"import/first"?: Linter.RuleEntry<ImportFirst>;
|
|
1109
1109
|
/**
|
|
1110
1110
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1111
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1111
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
|
|
1112
1112
|
*/
|
|
1113
1113
|
"import/group-exports"?: Linter.RuleEntry<[]>;
|
|
1114
1114
|
/**
|
|
1115
1115
|
* Replaced by `import-x/first`.
|
|
1116
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1116
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
|
|
1117
1117
|
* @deprecated
|
|
1118
1118
|
*/
|
|
1119
1119
|
"import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
|
|
1120
1120
|
/**
|
|
1121
1121
|
* Enforce the maximum number of dependencies a module can have.
|
|
1122
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1122
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
|
|
1123
1123
|
*/
|
|
1124
1124
|
"import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1127
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1127
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
|
|
1128
1128
|
*/
|
|
1129
1129
|
"import/named"?: Linter.RuleEntry<ImportNamed>;
|
|
1130
1130
|
/**
|
|
1131
1131
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1132
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1132
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
|
|
1133
1133
|
*/
|
|
1134
1134
|
"import/namespace"?: Linter.RuleEntry<ImportNamespace>;
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Enforce a newline after import statements.
|
|
1137
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1137
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
|
|
1138
1138
|
*/
|
|
1139
1139
|
"import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
1140
1140
|
/**
|
|
1141
1141
|
* Forbid import of modules using absolute paths.
|
|
1142
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1142
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
|
|
1143
1143
|
*/
|
|
1144
1144
|
"import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
1145
1145
|
/**
|
|
1146
1146
|
* Forbid AMD `require` and `define` calls.
|
|
1147
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1147
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
|
|
1148
1148
|
*/
|
|
1149
1149
|
"import/no-amd"?: Linter.RuleEntry<[]>;
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Forbid anonymous values as default exports.
|
|
1152
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1152
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
|
|
1153
1153
|
*/
|
|
1154
1154
|
"import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
1155
1155
|
/**
|
|
1156
1156
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1157
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1157
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
|
|
1158
1158
|
*/
|
|
1159
1159
|
"import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
1160
1160
|
/**
|
|
1161
1161
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1162
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1162
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
|
|
1163
1163
|
*/
|
|
1164
1164
|
"import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
|
|
1165
1165
|
/**
|
|
1166
1166
|
* Forbid default exports.
|
|
1167
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1167
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
|
|
1168
1168
|
*/
|
|
1169
1169
|
"import/no-default-export"?: Linter.RuleEntry<[]>;
|
|
1170
1170
|
/**
|
|
1171
1171
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1172
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1172
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
|
|
1173
1173
|
*/
|
|
1174
1174
|
"import/no-deprecated"?: Linter.RuleEntry<[]>;
|
|
1175
1175
|
/**
|
|
1176
1176
|
* Forbid repeated import of the same module in multiple places.
|
|
1177
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1177
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
|
|
1178
1178
|
*/
|
|
1179
1179
|
"import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Forbid `require()` calls with expressions.
|
|
1182
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1182
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
|
|
1183
1183
|
*/
|
|
1184
1184
|
"import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Forbid empty named import blocks.
|
|
1187
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1187
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
|
|
1188
1188
|
*/
|
|
1189
1189
|
"import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
|
|
1190
1190
|
/**
|
|
1191
1191
|
* Forbid the use of extraneous packages.
|
|
1192
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1192
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
|
|
1193
1193
|
*/
|
|
1194
1194
|
"import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Forbid import statements with CommonJS module.exports.
|
|
1197
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1197
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
|
|
1198
1198
|
*/
|
|
1199
1199
|
"import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Forbid importing the submodules of other modules.
|
|
1202
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1202
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
|
|
1203
1203
|
*/
|
|
1204
1204
|
"import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
1205
1205
|
/**
|
|
1206
1206
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1207
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1207
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
|
|
1208
1208
|
*/
|
|
1209
1209
|
"import/no-mutable-exports"?: Linter.RuleEntry<[]>;
|
|
1210
1210
|
/**
|
|
1211
1211
|
* Forbid use of exported name as identifier of default export.
|
|
1212
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1212
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
|
|
1213
1213
|
*/
|
|
1214
1214
|
"import/no-named-as-default"?: Linter.RuleEntry<[]>;
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Forbid use of exported name as property of default export.
|
|
1217
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1217
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
|
|
1218
1218
|
*/
|
|
1219
1219
|
"import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Forbid named default exports.
|
|
1222
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1222
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
|
|
1223
1223
|
*/
|
|
1224
1224
|
"import/no-named-default"?: Linter.RuleEntry<[]>;
|
|
1225
1225
|
/**
|
|
1226
1226
|
* Forbid named exports.
|
|
1227
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1227
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
|
|
1228
1228
|
*/
|
|
1229
1229
|
"import/no-named-export"?: Linter.RuleEntry<[]>;
|
|
1230
1230
|
/**
|
|
1231
1231
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1232
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1232
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
|
|
1233
1233
|
*/
|
|
1234
1234
|
"import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
|
|
1235
1235
|
/**
|
|
1236
1236
|
* Forbid Node.js builtin modules.
|
|
1237
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1237
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
|
|
1238
1238
|
*/
|
|
1239
1239
|
"import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Forbid importing packages through relative paths.
|
|
1242
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1242
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
|
|
1243
1243
|
*/
|
|
1244
1244
|
"import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
1245
1245
|
/**
|
|
1246
1246
|
* Forbid importing modules from parent directories.
|
|
1247
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1247
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
|
|
1248
1248
|
*/
|
|
1249
1249
|
"import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
1250
1250
|
/**
|
|
1251
1251
|
* Forbid importing a default export by a different name.
|
|
1252
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1252
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
|
|
1253
1253
|
*/
|
|
1254
1254
|
"import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Enforce which files can be imported in a given folder.
|
|
1257
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1257
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
|
|
1258
1258
|
*/
|
|
1259
1259
|
"import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Forbid a module from importing itself.
|
|
1262
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1262
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
|
|
1263
1263
|
*/
|
|
1264
1264
|
"import/no-self-import"?: Linter.RuleEntry<[]>;
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Forbid unassigned imports.
|
|
1267
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1267
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
|
|
1268
1268
|
*/
|
|
1269
1269
|
"import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
1270
1270
|
/**
|
|
1271
1271
|
* Ensure imports point to a file/module that can be resolved.
|
|
1272
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1272
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
|
|
1273
1273
|
*/
|
|
1274
1274
|
"import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
1275
1275
|
/**
|
|
1276
1276
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1277
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1277
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
|
|
1278
1278
|
*/
|
|
1279
1279
|
"import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
1280
1280
|
/**
|
|
1281
1281
|
* Forbid unnecessary path segments in import and require statements.
|
|
1282
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1282
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
|
|
1283
1283
|
*/
|
|
1284
1284
|
"import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
1285
1285
|
/**
|
|
1286
1286
|
* Forbid webpack loader syntax in imports.
|
|
1287
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1287
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
|
|
1288
1288
|
*/
|
|
1289
1289
|
"import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Enforce a convention in module import order.
|
|
1292
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1292
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
|
|
1293
1293
|
*/
|
|
1294
1294
|
"import/order"?: Linter.RuleEntry<ImportOrder>;
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1297
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1297
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
|
|
1298
1298
|
*/
|
|
1299
1299
|
"import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
1300
1300
|
/**
|
|
1301
1301
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1302
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.
|
|
1302
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
|
|
1303
1303
|
*/
|
|
1304
1304
|
"import/unambiguous"?: Linter.RuleEntry<[]>;
|
|
1305
1305
|
/**
|
|
@@ -1888,11 +1888,26 @@ interface Rules {
|
|
|
1888
1888
|
*/
|
|
1889
1889
|
"markdown/heading-increment"?: Linter.RuleEntry<[]>;
|
|
1890
1890
|
/**
|
|
1891
|
+
* Disallow duplicate definitions
|
|
1892
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
|
|
1893
|
+
*/
|
|
1894
|
+
"markdown/no-duplicate-definitions"?: Linter.RuleEntry<MarkdownNoDuplicateDefinitions>;
|
|
1895
|
+
/**
|
|
1891
1896
|
* Disallow duplicate headings in the same document
|
|
1892
1897
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
1893
1898
|
*/
|
|
1894
1899
|
"markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
|
|
1895
1900
|
/**
|
|
1901
|
+
* Disallow empty definitions
|
|
1902
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
|
|
1903
|
+
*/
|
|
1904
|
+
"markdown/no-empty-definitions"?: Linter.RuleEntry<[]>;
|
|
1905
|
+
/**
|
|
1906
|
+
* Disallow empty images
|
|
1907
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-images.md
|
|
1908
|
+
*/
|
|
1909
|
+
"markdown/no-empty-images"?: Linter.RuleEntry<[]>;
|
|
1910
|
+
/**
|
|
1896
1911
|
* Disallow empty links
|
|
1897
1912
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
1898
1913
|
*/
|
|
@@ -1908,11 +1923,31 @@ interface Rules {
|
|
|
1908
1923
|
*/
|
|
1909
1924
|
"markdown/no-invalid-label-refs"?: Linter.RuleEntry<[]>;
|
|
1910
1925
|
/**
|
|
1926
|
+
* Disallow headings without a space after the hash characters
|
|
1927
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md
|
|
1928
|
+
*/
|
|
1929
|
+
"markdown/no-missing-atx-heading-space"?: Linter.RuleEntry<[]>;
|
|
1930
|
+
/**
|
|
1911
1931
|
* Disallow missing label references
|
|
1912
1932
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1913
1933
|
*/
|
|
1914
1934
|
"markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
|
|
1915
1935
|
/**
|
|
1936
|
+
* Disallow multiple H1 headings in the same document
|
|
1937
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
1938
|
+
*/
|
|
1939
|
+
"markdown/no-multiple-h1"?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
1940
|
+
/**
|
|
1941
|
+
* Require alternative text for images
|
|
1942
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
|
|
1943
|
+
*/
|
|
1944
|
+
"markdown/require-alt-text"?: Linter.RuleEntry<[]>;
|
|
1945
|
+
/**
|
|
1946
|
+
* Disallow data rows in a GitHub Flavored Markdown table from having more cells than the header row
|
|
1947
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/table-column-count.md
|
|
1948
|
+
*/
|
|
1949
|
+
"markdown/table-column-count"?: Linter.RuleEntry<[]>;
|
|
1950
|
+
/**
|
|
1916
1951
|
* Enforce a maximum number of classes per file
|
|
1917
1952
|
* @see https://eslint.org/docs/latest/rules/max-classes-per-file
|
|
1918
1953
|
*/
|
|
@@ -2918,6 +2953,11 @@ interface Rules {
|
|
|
2918
2953
|
*/
|
|
2919
2954
|
"node/no-sync"?: Linter.RuleEntry<NodeNoSync>;
|
|
2920
2955
|
/**
|
|
2956
|
+
* disallow top-level `await` in published modules
|
|
2957
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-top-level-await.md
|
|
2958
|
+
*/
|
|
2959
|
+
"node/no-top-level-await"?: Linter.RuleEntry<NodeNoTopLevelAwait>;
|
|
2960
|
+
/**
|
|
2921
2961
|
* disallow `bin` files that npm ignores
|
|
2922
2962
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
|
|
2923
2963
|
*/
|
|
@@ -3602,7 +3642,7 @@ interface Rules {
|
|
|
3602
3642
|
* enforce using quantifier
|
|
3603
3643
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
3604
3644
|
*/
|
|
3605
|
-
"regexp/prefer-quantifier"?: Linter.RuleEntry<
|
|
3645
|
+
"regexp/prefer-quantifier"?: Linter.RuleEntry<RegexpPreferQuantifier>;
|
|
3606
3646
|
/**
|
|
3607
3647
|
* enforce using `?` quantifier
|
|
3608
3648
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
@@ -7492,10 +7532,10 @@ type JsdocCheckLineAlignment = [] | [("always" | "never" | "any")] | [("always"
|
|
|
7492
7532
|
postTag?: number;
|
|
7493
7533
|
postType?: number;
|
|
7494
7534
|
};
|
|
7535
|
+
disableWrapIndent?: boolean;
|
|
7495
7536
|
preserveMainDescriptionPostDelimiter?: boolean;
|
|
7496
7537
|
tags?: string[];
|
|
7497
7538
|
wrapIndent?: string;
|
|
7498
|
-
disableWrapIndent?: boolean;
|
|
7499
7539
|
}];
|
|
7500
7540
|
// ----- jsdoc/check-param-names -----
|
|
7501
7541
|
type JsdocCheckParamNames = [] | [{
|
|
@@ -8573,10 +8613,19 @@ type LogicalAssignmentOperators = (([] | ["always"] | ["always", {
|
|
|
8573
8613
|
type MarkdownFencedCodeLanguage = [] | [{
|
|
8574
8614
|
required?: string[];
|
|
8575
8615
|
}];
|
|
8616
|
+
// ----- markdown/no-duplicate-definitions -----
|
|
8617
|
+
type MarkdownNoDuplicateDefinitions = [] | [{
|
|
8618
|
+
allowDefinitions?: string[];
|
|
8619
|
+
allowFootnoteDefinitions?: string[];
|
|
8620
|
+
}];
|
|
8576
8621
|
// ----- markdown/no-html -----
|
|
8577
8622
|
type MarkdownNoHtml = [] | [{
|
|
8578
8623
|
allowed?: string[];
|
|
8579
8624
|
}];
|
|
8625
|
+
// ----- markdown/no-multiple-h1 -----
|
|
8626
|
+
type MarkdownNoMultipleH1 = [] | [{
|
|
8627
|
+
frontmatterTitle?: string;
|
|
8628
|
+
}];
|
|
8580
8629
|
// ----- max-classes-per-file -----
|
|
8581
8630
|
type MaxClassesPerFile = [] | [(number | {
|
|
8582
8631
|
ignoreExpressions?: boolean;
|
|
@@ -9217,7 +9266,33 @@ type NodeNoRestrictedRequire = [] | [(string | {
|
|
|
9217
9266
|
// ----- node/no-sync -----
|
|
9218
9267
|
type NodeNoSync = [] | [{
|
|
9219
9268
|
allowAtRootLevel?: boolean;
|
|
9220
|
-
ignores?: string
|
|
9269
|
+
ignores?: (string | {
|
|
9270
|
+
from?: "file";
|
|
9271
|
+
path?: string;
|
|
9272
|
+
name?: string[];
|
|
9273
|
+
} | {
|
|
9274
|
+
from?: "lib";
|
|
9275
|
+
name?: string[];
|
|
9276
|
+
} | {
|
|
9277
|
+
from?: "package";
|
|
9278
|
+
package?: string;
|
|
9279
|
+
name?: string[];
|
|
9280
|
+
})[];
|
|
9281
|
+
}];
|
|
9282
|
+
// ----- node/no-top-level-await -----
|
|
9283
|
+
type NodeNoTopLevelAwait = [] | [{
|
|
9284
|
+
ignoreBin?: boolean;
|
|
9285
|
+
convertPath?: ({
|
|
9286
|
+
[k: string]: [string, string];
|
|
9287
|
+
} | [{
|
|
9288
|
+
include: [string, ...(string)[]];
|
|
9289
|
+
exclude?: string[];
|
|
9290
|
+
replace: [string, string];
|
|
9291
|
+
}, ...({
|
|
9292
|
+
include: [string, ...(string)[]];
|
|
9293
|
+
exclude?: string[];
|
|
9294
|
+
replace: [string, string];
|
|
9295
|
+
})[]]);
|
|
9221
9296
|
}];
|
|
9222
9297
|
// ----- node/no-unpublished-bin -----
|
|
9223
9298
|
type NodeNoUnpublishedBin = [] | [{
|
|
@@ -9510,7 +9585,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9510
9585
|
partitionByNewLine?: boolean;
|
|
9511
9586
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9512
9587
|
groups?: (string | string[] | {
|
|
9513
|
-
newlinesBetween
|
|
9588
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9589
|
+
commentAbove?: string;
|
|
9514
9590
|
})[];
|
|
9515
9591
|
}[];
|
|
9516
9592
|
// ----- perfectionist/sort-classes -----
|
|
@@ -9624,7 +9700,8 @@ type PerfectionistSortClasses = [] | [{
|
|
|
9624
9700
|
partitionByNewLine?: boolean;
|
|
9625
9701
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9626
9702
|
groups?: (string | string[] | {
|
|
9627
|
-
newlinesBetween
|
|
9703
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9704
|
+
commentAbove?: string;
|
|
9628
9705
|
})[];
|
|
9629
9706
|
}];
|
|
9630
9707
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -9670,7 +9747,8 @@ type PerfectionistSortDecorators = [] | [{
|
|
|
9670
9747
|
[k: string]: (string | string[]) | undefined;
|
|
9671
9748
|
};
|
|
9672
9749
|
groups?: (string | string[] | {
|
|
9673
|
-
newlinesBetween
|
|
9750
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9751
|
+
commentAbove?: string;
|
|
9674
9752
|
})[];
|
|
9675
9753
|
}];
|
|
9676
9754
|
// ----- perfectionist/sort-enums -----
|
|
@@ -9763,7 +9841,8 @@ type PerfectionistSortEnums = [] | [{
|
|
|
9763
9841
|
partitionByNewLine?: boolean;
|
|
9764
9842
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9765
9843
|
groups?: (string | string[] | {
|
|
9766
|
-
newlinesBetween
|
|
9844
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9845
|
+
commentAbove?: string;
|
|
9767
9846
|
})[];
|
|
9768
9847
|
}];
|
|
9769
9848
|
// ----- perfectionist/sort-exports -----
|
|
@@ -9843,7 +9922,8 @@ type PerfectionistSortExports = {
|
|
|
9843
9922
|
partitionByNewLine?: boolean;
|
|
9844
9923
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9845
9924
|
groups?: (string | string[] | {
|
|
9846
|
-
newlinesBetween
|
|
9925
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9926
|
+
commentAbove?: string;
|
|
9847
9927
|
})[];
|
|
9848
9928
|
}[];
|
|
9849
9929
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
@@ -9862,7 +9942,8 @@ type PerfectionistSortHeritageClauses = [] | [{
|
|
|
9862
9942
|
[k: string]: (string | string[]) | undefined;
|
|
9863
9943
|
};
|
|
9864
9944
|
groups?: (string | string[] | {
|
|
9865
|
-
newlinesBetween
|
|
9945
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9946
|
+
commentAbove?: string;
|
|
9866
9947
|
})[];
|
|
9867
9948
|
}];
|
|
9868
9949
|
// ----- perfectionist/sort-imports -----
|
|
@@ -9937,6 +10018,10 @@ type PerfectionistSortImports = {
|
|
|
9937
10018
|
flags?: string;
|
|
9938
10019
|
} | string));
|
|
9939
10020
|
})[]);
|
|
10021
|
+
tsconfig?: {
|
|
10022
|
+
rootDir: string;
|
|
10023
|
+
filename?: string;
|
|
10024
|
+
};
|
|
9940
10025
|
maxLineLength?: number;
|
|
9941
10026
|
sortSideEffects?: boolean;
|
|
9942
10027
|
environment?: ("node" | "bun");
|
|
@@ -9973,7 +10058,8 @@ type PerfectionistSortImports = {
|
|
|
9973
10058
|
flags?: string;
|
|
9974
10059
|
} | string));
|
|
9975
10060
|
groups?: (string | string[] | {
|
|
9976
|
-
newlinesBetween
|
|
10061
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10062
|
+
commentAbove?: string;
|
|
9977
10063
|
})[];
|
|
9978
10064
|
}[];
|
|
9979
10065
|
// ----- perfectionist/sort-interfaces -----
|
|
@@ -10098,7 +10184,8 @@ type PerfectionistSortInterfaces = {
|
|
|
10098
10184
|
} | string));
|
|
10099
10185
|
sortBy?: ("name" | "value");
|
|
10100
10186
|
groups?: (string | string[] | {
|
|
10101
|
-
newlinesBetween
|
|
10187
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10188
|
+
commentAbove?: string;
|
|
10102
10189
|
})[];
|
|
10103
10190
|
}[];
|
|
10104
10191
|
// ----- perfectionist/sort-intersection-types -----
|
|
@@ -10175,7 +10262,8 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10175
10262
|
partitionByNewLine?: boolean;
|
|
10176
10263
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10177
10264
|
groups?: (string | string[] | {
|
|
10178
|
-
newlinesBetween
|
|
10265
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10266
|
+
commentAbove?: string;
|
|
10179
10267
|
})[];
|
|
10180
10268
|
}[];
|
|
10181
10269
|
// ----- perfectionist/sort-jsx-props -----
|
|
@@ -10271,7 +10359,8 @@ type PerfectionistSortJsxProps = {
|
|
|
10271
10359
|
flags?: string;
|
|
10272
10360
|
} | string));
|
|
10273
10361
|
groups?: (string | string[] | {
|
|
10274
|
-
newlinesBetween
|
|
10362
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10363
|
+
commentAbove?: string;
|
|
10275
10364
|
})[];
|
|
10276
10365
|
}[];
|
|
10277
10366
|
// ----- perfectionist/sort-maps -----
|
|
@@ -10355,7 +10444,8 @@ type PerfectionistSortMaps = {
|
|
|
10355
10444
|
partitionByNewLine?: boolean;
|
|
10356
10445
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10357
10446
|
groups?: (string | string[] | {
|
|
10358
|
-
newlinesBetween
|
|
10447
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10448
|
+
commentAbove?: string;
|
|
10359
10449
|
})[];
|
|
10360
10450
|
}[];
|
|
10361
10451
|
// ----- perfectionist/sort-modules -----
|
|
@@ -10448,7 +10538,8 @@ type PerfectionistSortModules = [] | [{
|
|
|
10448
10538
|
partitionByNewLine?: boolean;
|
|
10449
10539
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10450
10540
|
groups?: (string | string[] | {
|
|
10451
|
-
newlinesBetween
|
|
10541
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10542
|
+
commentAbove?: string;
|
|
10452
10543
|
})[];
|
|
10453
10544
|
}];
|
|
10454
10545
|
// ----- perfectionist/sort-named-exports -----
|
|
@@ -10529,7 +10620,8 @@ type PerfectionistSortNamedExports = {
|
|
|
10529
10620
|
partitionByNewLine?: boolean;
|
|
10530
10621
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10531
10622
|
groups?: (string | string[] | {
|
|
10532
|
-
newlinesBetween
|
|
10623
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10624
|
+
commentAbove?: string;
|
|
10533
10625
|
})[];
|
|
10534
10626
|
}[];
|
|
10535
10627
|
// ----- perfectionist/sort-named-imports -----
|
|
@@ -10610,7 +10702,8 @@ type PerfectionistSortNamedImports = {
|
|
|
10610
10702
|
partitionByNewLine?: boolean;
|
|
10611
10703
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10612
10704
|
groups?: (string | string[] | {
|
|
10613
|
-
newlinesBetween
|
|
10705
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10706
|
+
commentAbove?: string;
|
|
10614
10707
|
})[];
|
|
10615
10708
|
}[];
|
|
10616
10709
|
// ----- perfectionist/sort-object-types -----
|
|
@@ -10735,7 +10828,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
10735
10828
|
} | string));
|
|
10736
10829
|
sortBy?: ("name" | "value");
|
|
10737
10830
|
groups?: (string | string[] | {
|
|
10738
|
-
newlinesBetween
|
|
10831
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10832
|
+
commentAbove?: string;
|
|
10739
10833
|
})[];
|
|
10740
10834
|
}[];
|
|
10741
10835
|
// ----- perfectionist/sort-objects -----
|
|
@@ -10859,7 +10953,8 @@ type PerfectionistSortObjects = {
|
|
|
10859
10953
|
flags?: string;
|
|
10860
10954
|
} | string));
|
|
10861
10955
|
groups?: (string | string[] | {
|
|
10862
|
-
newlinesBetween
|
|
10956
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10957
|
+
commentAbove?: string;
|
|
10863
10958
|
})[];
|
|
10864
10959
|
}[];
|
|
10865
10960
|
// ----- perfectionist/sort-sets -----
|
|
@@ -10946,7 +11041,8 @@ type PerfectionistSortSets = {
|
|
|
10946
11041
|
partitionByNewLine?: boolean;
|
|
10947
11042
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10948
11043
|
groups?: (string | string[] | {
|
|
10949
|
-
newlinesBetween
|
|
11044
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11045
|
+
commentAbove?: string;
|
|
10950
11046
|
})[];
|
|
10951
11047
|
}[];
|
|
10952
11048
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -11036,7 +11132,8 @@ type PerfectionistSortUnionTypes = {
|
|
|
11036
11132
|
partitionByNewLine?: boolean;
|
|
11037
11133
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11038
11134
|
groups?: (string | string[] | {
|
|
11039
|
-
newlinesBetween
|
|
11135
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11136
|
+
commentAbove?: string;
|
|
11040
11137
|
})[];
|
|
11041
11138
|
}[];
|
|
11042
11139
|
// ----- perfectionist/sort-variable-declarations -----
|
|
@@ -11113,7 +11210,8 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
11113
11210
|
partitionByNewLine?: boolean;
|
|
11114
11211
|
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11115
11212
|
groups?: (string | string[] | {
|
|
11116
|
-
newlinesBetween
|
|
11213
|
+
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11214
|
+
commentAbove?: string;
|
|
11117
11215
|
})[];
|
|
11118
11216
|
}];
|
|
11119
11217
|
// ----- pnpm/json-enforce-catalog -----
|
|
@@ -11309,6 +11407,10 @@ type RegexpPreferLookaround = [] | [{
|
|
|
11309
11407
|
type RegexpPreferNamedReplacement = [] | [{
|
|
11310
11408
|
strictTypes?: boolean;
|
|
11311
11409
|
}];
|
|
11410
|
+
// ----- regexp/prefer-quantifier -----
|
|
11411
|
+
type RegexpPreferQuantifier = [] | [{
|
|
11412
|
+
allows?: string[];
|
|
11413
|
+
}];
|
|
11312
11414
|
// ----- regexp/prefer-range -----
|
|
11313
11415
|
type RegexpPreferRange = [] | [{
|
|
11314
11416
|
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]]);
|
|
@@ -12564,7 +12666,7 @@ type VueNoRestrictedCustomEvent = (string | {
|
|
|
12564
12666
|
})[];
|
|
12565
12667
|
// ----- vue/no-restricted-html-elements -----
|
|
12566
12668
|
type VueNoRestrictedHtmlElements = (string | {
|
|
12567
|
-
element: string;
|
|
12669
|
+
element: (string | string[]);
|
|
12568
12670
|
message?: string;
|
|
12569
12671
|
})[];
|
|
12570
12672
|
// ----- vue/no-restricted-props -----
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sxzz/eslint-config",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "ESLint config for @sxzz.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,46 +38,46 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
41
|
-
"@eslint/js": "^9.
|
|
42
|
-
"@eslint/markdown": "^6.
|
|
41
|
+
"@eslint/js": "^9.29.0",
|
|
42
|
+
"@eslint/markdown": "^6.5.0",
|
|
43
43
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
44
44
|
"eslint-config-prettier": "^10.1.5",
|
|
45
45
|
"eslint-flat-config-utils": "^2.1.0",
|
|
46
46
|
"eslint-plugin-antfu": "^3.1.1",
|
|
47
47
|
"eslint-plugin-command": "^3.2.1",
|
|
48
|
-
"eslint-plugin-de-morgan": "^1.
|
|
49
|
-
"eslint-plugin-import-x": "^4.15.
|
|
50
|
-
"eslint-plugin-jsdoc": "^
|
|
48
|
+
"eslint-plugin-de-morgan": "^1.3.0",
|
|
49
|
+
"eslint-plugin-import-x": "^4.15.2",
|
|
50
|
+
"eslint-plugin-jsdoc": "^51.0.1",
|
|
51
51
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
52
|
-
"eslint-plugin-n": "^17.
|
|
53
|
-
"eslint-plugin-perfectionist": "^4.
|
|
52
|
+
"eslint-plugin-n": "^17.20.0",
|
|
53
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
54
54
|
"eslint-plugin-pnpm": "^0.3.1",
|
|
55
55
|
"eslint-plugin-prettier": "^5.4.1",
|
|
56
|
-
"eslint-plugin-regexp": "^2.
|
|
56
|
+
"eslint-plugin-regexp": "^2.9.0",
|
|
57
57
|
"eslint-plugin-sxzz": "^0.3.0",
|
|
58
58
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
59
59
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
60
|
-
"eslint-plugin-vue": "^10.
|
|
60
|
+
"eslint-plugin-vue": "^10.2.0",
|
|
61
61
|
"eslint-plugin-yml": "^1.18.0",
|
|
62
62
|
"globals": "^16.2.0",
|
|
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.
|
|
66
|
+
"typescript-eslint": "^8.34.0",
|
|
67
67
|
"vue-eslint-parser": "^10.1.3",
|
|
68
68
|
"yaml-eslint-parser": "^1.3.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@eslint/config-inspector": "^1.0
|
|
71
|
+
"@eslint/config-inspector": "^1.1.0",
|
|
72
72
|
"@sxzz/prettier-config": "^2.2.1",
|
|
73
|
-
"@types/node": "^
|
|
74
|
-
"@unocss/eslint-plugin": "^66.
|
|
73
|
+
"@types/node": "^24.0.1",
|
|
74
|
+
"@unocss/eslint-plugin": "^66.2.0",
|
|
75
75
|
"ansis": "^4.1.0",
|
|
76
76
|
"bumpp": "^10.1.1",
|
|
77
|
-
"eslint": "^9.
|
|
77
|
+
"eslint": "^9.29.0",
|
|
78
78
|
"eslint-typegen": "^2.2.0",
|
|
79
|
-
"tsdown": "^0.12.
|
|
80
|
-
"tsx": "^4.
|
|
79
|
+
"tsdown": "^0.12.7",
|
|
80
|
+
"tsx": "^4.20.3",
|
|
81
81
|
"typescript": "^5.8.3"
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|