import-js/eslint-plugin-import
Vedi su GitHub`import/consistent-type-specifier-style` for exports
Open
Aperta il 2 set 2024
enhancementhelp wanted
Descrizione
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};