import/no-named-as-default Suspicious ​
What it does ​
Reports use of an exported name as the locally imported name of a default export.
Example ​
javascript
// foo.js
export default "foo";
export const bar = "baz";
Valid:
javascript
import foo from "./foo.js";
Invalid:
javascript
// using exported name 'bar' as identifier for default export.
import bar from "./foo.js";