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

[no-re-export] support config to disallow named re-export

Open TotooriaHyperion opened this issue 1 year ago • 1 comments

options for no-re-export

[
   'error',
  {
    allowNamed: false, // default true for compatibility.
  }
]
// incorrect
export { A } from './A';

TotooriaHyperion avatar Aug 08 '24 07:08 TotooriaHyperion

Open to a PR that adds this.

gajus avatar Dec 18 '24 16:12 gajus