import-js/eslint-plugin-import
Voir sur GitHub`import/consistent-type-specifier-style` for exports
Open
#3 044 ouverte le 2 sept. 2024
enhancementhelp wanted
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};