eslint-plugin-import icon indicating copy to clipboard operation
eslint-plugin-import copied to clipboard

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

Open musjj opened this issue 1 year ago • 1 comments

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

musjj avatar Sep 02 '24 18:09 musjj

That seems like a good option to add to consistent-type-specifier-style.

ljharb avatar Sep 02 '24 22:09 ljharb