import-js/eslint-plugin-import
View on GitHub(group-exports) Option to never put the export next to the declaration
Open
#1,871 opened on Aug 7, 2020
help wanted
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 138d 22h) (3 merged PRs in 30d)
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.