diff --git a/src/eslint.js b/src/eslint.js index 31c3e3c..13c7a37 100644 --- a/src/eslint.js +++ b/src/eslint.js @@ -172,9 +172,9 @@ const getEslintTypescriptOverride = ({ rootDir }) => { parserOptions: { project: path.join(rootDir, "tsconfig.json"), tsconfigRootDir: rootDir, - extraFileExtensions: [".cjs"], + extraFileExtensions: [".cjs", ".mjs"], }, - files: "{*,**,**/*}.ts", + files: "{*,**,**/*}.{ts,tsx,mts}", rules: { ...baseRules, ...typescriptRules }, } }