import-js/eslint-plugin-import

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

Open

#3,044 opened on 2024年9月2日

GitHub で見る
 (1 comment) (2 reactions) (0 assignees)JavaScript (1,540 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,946 stars)
PR merge metrics
 (平均マージ 138d 22h) (30d で 3 merged PRs)

説明

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

コントリビューターガイド