Skip to content

Commit e8ea9f5

Browse files
committed
update docusaurus
1 parent 57a25b0 commit e8ea9f5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

website/src/pages/index.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -823,19 +823,21 @@ Strive to keep naming conventions consistent and readable, with important contex
823823
824824
### Named Export
825825
826+
<!-- prettier-ignore-start -->
826827
<Rule
827828
prefix="Named exports must be used to ensure that all imports follow a uniform pattern"
828829
href="https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-default-export.md"
829830
>{`'import/no-default-export': 'error'
830831

831832
// In case of exceptions disable the rule
832833
overrides: [
833-
{
834-
files: ["src/pages/**/*"],
835-
rules: { "import/no-default-export": "off" },
836-
}
834+
{
835+
files: ["src/pages/**/*"],
836+
rules: { "import/no-default-export": "off" },
837+
}
837838
]
838839
`}</Rule>
840+
<!-- prettier-ignore-end -->
839841
840842
This keeps variables, functions etc. names consistent across the entire codebase. Named exports have the benefit of
841843
erroring when import statements try to import something that hasn't been declared.

0 commit comments

Comments
 (0)