@@ -33,7 +33,7 @@ export const recommended = tseslint.config(
3333 } ,
3434
3535 rules : {
36- ' eqeqeq' : [ 'error' , 'smart' ] ,
36+ eqeqeq : [ 'error' , 'smart' ] ,
3737 'array-callback-return' : 'error' ,
3838 'default-case' : [
3939 'error' ,
@@ -151,7 +151,7 @@ export const recommended = tseslint.config(
151151 } ,
152152 } ,
153153 {
154- files : [ '**/*.{ts,tsx}' ] ,
154+ files : [ '**/*.{ts,mts, tsx}' ] ,
155155
156156 extends : [ tseslint . configs . recommended , importX . flatConfigs . typescript ] ,
157157
@@ -320,7 +320,7 @@ export const react = tseslint.config(
320320) ;
321321
322322export const typechecked = tseslint . config ( {
323- files : [ '**/*.{ts,tsx}' ] ,
323+ files : [ '**/*.{ts,mts, tsx}' ] ,
324324
325325 extends : [ tseslint . configs . strictTypeCheckedOnly ] ,
326326
@@ -349,7 +349,10 @@ export const typechecked = tseslint.config({
349349} ) ;
350350
351351export const vitest = tseslint . config ( vitestPlugin . configs . recommended , {
352- files : [ '**/*.{spec,test}.{js,ts,tsx}' , '**/__tests__/**/*.{js,ts,tsx}' ] ,
352+ files : [
353+ '**/*.{spec,test}.{js,ts,mts,tsx}' ,
354+ '**/__tests__/**/*.{js,ts,mts,tsx}' ,
355+ ] ,
353356
354357 rules : {
355358 'vitest/consistent-test-it' : [ 'error' , { fn : 'test' } ] ,
@@ -365,7 +368,10 @@ export const vitest = tseslint.config(vitestPlugin.configs.recommended, {
365368} ) ;
366369
367370export const jest = tseslint . config ( jestPlugin . configs [ 'flat/recommended' ] , {
368- files : [ '**/*.{spec,test}.{js,ts,tsx}' , '**/__tests__/**/*.{js,ts,tsx}' ] ,
371+ files : [
372+ '**/*.{spec,test}.{js,ts,mts,tsx}' ,
373+ '**/__tests__/**/*.{js,ts,mts,tsx}' ,
374+ ] ,
369375
370376 languageOptions : {
371377 globals : {
0 commit comments