eslint-plugin-canonical
eslint-plugin-canonical copied to clipboard
[no-re-export] support config to disallow named re-export
options for no-re-export
[
'error',
{
allowNamed: false, // default true for compatibility.
}
]
// incorrect
export { A } from './A';
Open to a PR that adds this.