import-js/eslint-plugin-import
Voir sur GitHub(group-exports) Option to never put the export next to the declaration
Open
#1 871 ouverte le 7 août 2020
help wanted
Métriques du dépôt
- Stars
- (4 946 stars)
- Métriques de merge PR
- (Merge moyen 138j 22h) (3 PRs mergées en 30 j)
Description
I'd like to see an option for always having named exports be specified separately to their definition. e.g.
Fail
export const foo = 'bar';
Pass
const foo = 'bar';
export { foo };
I'm basically trying to mitigate the workflow of moving the export keyword to the bottom of the file if another named export is added.