diff --git a/packages/remix-eslint-config/index.js b/packages/remix-eslint-config/index.js index 6bdb9c7dba6..0a79165a590 100644 --- a/packages/remix-eslint-config/index.js +++ b/packages/remix-eslint-config/index.js @@ -78,7 +78,7 @@ const config = { }, }, { - files: ["**/routes/**/*.js?(x)", "**/routes/**/*.ts?(x)", "**/root.js?(x)", "**/root.ts?(x)"], + files: ["**/routes/**/*.js?(x)", "**/routes/**/*.tsx", "app/root.js?(x)", "app/root.tsx"], rules: { // Routes may use default exports without a name. At the route level // identifying components for debugging purposes is less of an issue, as