import-js/eslint-plugin-import

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

開放

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

 (1 則留言) (2 個反應) (0 位負責人)JavaScript (1,549 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (5,940 顆星)
PR 合併指標
 (平均合併 138天 22小時) (30 天內合併 3 個 PR)

描述

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

貢獻者指南