We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbdbde0 commit b5e14dcCopy full SHA for b5e14dc
README.md
@@ -1285,6 +1285,7 @@ Other Style Guides
1285
<a name="modules--prefer-default-export"></a>
1286
- [10.6](#modules--prefer-default-export) In modules with a single export, prefer default export over named export.
1287
eslint: [`import/prefer-default-export`](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/prefer-default-export.md)
1288
+ > Why? To encourage more files that only ever export one thing, which is better for readability and maintainability.
1289
1290
```javascript
1291
// bad
0 commit comments