Skip to content

Commit

Permalink
feat(remix-eslint-config): don't require display name in root module
Browse files Browse the repository at this point in the history
The root module behaves almost exactly like a layout route, but for
the entire site. Like any route module, do not expect or require
the default export to have a display name.
  • Loading branch information
lpsinger committed Feb 14, 2023
1 parent ecba23c commit 06e4d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remix-eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const config = {
},
},
{
files: ["**/routes/**/*.js?(x)", "**/routes/**/*.tsx"],
files: ["**/routes/**/*.js?(x)", "**/routes/**/*.ts?(x)", "**/root.js?(x)", "**/root.ts?(x)"],
rules: {
// Routes may use default exports without a name. At the route level
// identifying components for debugging purposes is less of an issue, as
Expand Down

0 comments on commit 06e4d08

Please sign in to comment.