import-js/eslint-plugin-import
View on GitHub`import/consistent-type-specifier-style` for exports
Open
#3,044 opened on Sep 2, 2024
enhancementhelp wanted
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 103d 23h) (3 merged PRs in 30d)
Description
Like import/consistent-type-specifier-style, but for exports.
Example:
❌ Invalid with ["error", "prefer-top-level"]
export {Foo, type Bar};
✅ Valid with ["error", "prefer-top-level"]
export type {Bar};
export {Foo};