Hello! 👋
Since import/no-named-as-default rule supports post-ES2015 import syntax, it would be nice if it has some option that allows Re-Export default as default syntax.
For instance:
Component/Component.js:
export {
Component as default,
};
Component/index.js:
export default from './Component'; // not considered problem
How about it?
Hello! 👋
Since
import/no-named-as-defaultrule supports post-ES2015 import syntax, it would be nice if it has some option that allows Re-Exportdefaultasdefaultsyntax.For instance:
Component/Component.js:Component/index.js:How about it?