import-js/eslint-plugin-import

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

Open

#3.044 geöffnet am 2. Sept. 2024

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (4.946 Stars) (1.540 Forks)batch import
enhancementhelp wanted

Beschreibung

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

Contributor Guide