import-js/eslint-plugin-import

`import/consistent-type-specifier-style` for exports

Open

#3,044 建立於 2024年9月2日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (4,946 star) (1,540 fork)batch import
enhancementhelp wanted

描述

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};

貢獻者指南

`import/consistent-type-specifier-style` for exports · import-js/eslint-plugin-import#3044 | Good First Issue