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
…5450)

Co-authored-by: Michaël De Boey <[email protected]>
Co-authored-by: Logan McAnsh <[email protected]>
  • Loading branch information
3 people committed May 2, 2023
1 parent 410e669 commit eb81c74
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/eslint-no-display-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"remix": patch
"@remix-run/eslint-config": patch
---

don't require display name in root module
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/**/*.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
Expand Down

0 comments on commit eb81c74

Please sign in to comment.