Skip to content

Commit

Permalink
chore: Disable default export rule for docs
Browse files Browse the repository at this point in the history
This is not needed and we use a default export with no name in the docs
at the moment
  • Loading branch information
ptbrowne committed Jan 25, 2022
1 parent 23109c9 commit 3e42746
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,13 @@
"react/display-name": "off",
"unused-imports/no-unused-imports-ts": "error",
"@next/next/no-html-link-for-pages": ["error", "app/pages/"]
}
},
"overrides": [
{
"files": ["**/*.docs.tsx"], // Or *.test.js
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
}

0 comments on commit 3e42746

Please sign in to comment.