@@ -80,8 +80,15 @@ import validTypes from './rules/validTypes.js';
8080 * @typedef {"" | "-typescript" | "-typescript-flavor" } ConfigVariants
8181 * @typedef {"" | "-error" } ErrorLevelVariants
8282 * @type {import('eslint').ESLint.Plugin & {
83- * configs: Record<`flat/${ConfigGroups}${ConfigVariants}${ErrorLevelVariants}`,
84- * import('eslint').Linter.Config> & Record<"examples"|"default-expressions"|"examples-and-default-expressions", import('eslint').Linter.Config[]>
83+ * configs: Record<
84+ * `flat/${ConfigGroups}${ConfigVariants}${ErrorLevelVariants}`,
85+ * import('eslint').Linter.Config
86+ * > &
87+ * Record<
88+ * "examples"|"default-expressions"|"examples-and-default-expressions",
89+ * import('eslint').Linter.Config[]
90+ * > &
91+ * Record<"flat/recommended-mixed", import('eslint').Linter.Config[]>
8592 * }}
8693 */
8794const index = { } ;
@@ -672,6 +679,21 @@ index.configs['examples-and-default-expressions'] = /** @type {import('eslint').
672679 } ) ,
673680] ) ;
674681
682+ index . configs [ 'flat/recommended-mixed' ] = [
683+ {
684+ ...index . configs [ 'flat/recommended-typescript-flavor' ] ,
685+ files : [
686+ '**/*.{js,jsx,cjs,mjs}' ,
687+ ] ,
688+ } ,
689+ {
690+ ...index . configs [ 'flat/recommended-typescript' ] ,
691+ files : [
692+ '**/*.{ts,tsx,cts,mts}' ,
693+ ] ,
694+ } ,
695+ ] ;
696+
675697export default index ;
676698
677699/* eslint-disable jsdoc/valid-types -- Bug */
0 commit comments