import-js/eslint-plugin-import
Ver no GitHub`import/consistent-type-specifier-style` for exports
Open
#3.044 aberto em 2 de set. de 2024
enhancementhelp wanted
Métricas do repositório
- Stars
- (4.946 stars)
- Métricas de merge de PR
- (Mesclagem média 138d 22h) (3 fundiu PRs em 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};