File tree 1 file changed +6
-12
lines changed
1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -59,19 +59,13 @@ import validTypes from './rules/validTypes.js';
59
59
import { getJsdocProcessorPlugin } from './getJsdocProcessorPlugin.js' ;
60
60
61
61
/**
62
+ * @typedef {"recommended" | "stylistic" | "contents" | "logical" } ConfigGroups
63
+ * @typedef {"" | "-typescript" | "-typescript-flavor" } ConfigVariants
64
+ * @typedef {"" | "-error" } ErrorLevelVariants
62
65
* @type {import('eslint').ESLint.Plugin & {
63
- * configs: Record<
64
- * "recommended"|"recommended-error"|"recommended-typescript"|
65
- * "recommended-typescript-error"|"recommended-typescript-flavor"|
66
- * "recommended-typescript-flavor-error"|"flat/recommended"|
67
- * "flat/recommended-error"|"flat/recommended-typescript"|
68
- * "flat/recommended-typescript-error"|
69
- * "flat/recommended-typescript-flavor"|
70
- * "flat/recommended-typescript-flavor-error",
71
- * import('eslint').Linter.FlatConfig
72
- * >
73
- * }}
74
- */
66
+ * configs: Record<`flat/${ConfigGroups}${ConfigVariants}${ErrorLevelVariants}`, import('eslint').Linter.Config>
67
+ * }}
68
+ */
75
69
const index = {
76
70
// @ts -expect-error Ok
77
71
configs : { } ,
You can’t perform that action at this time.
0 commit comments