From 9295f8875c84a0eee4f3751d7841edb8a0877aa6 Mon Sep 17 00:00:00 2001 From: JP <17429390+resolritter@users.noreply.github.com> Date: Wed, 10 May 2023 21:25:06 -0300 Subject: [PATCH] Update eslint.js --- src/eslint.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eslint.js b/src/eslint.js index 1f1d69a..01fd2fa 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 }, } }