import/no-named-as-default-member Suspicious
What it does
Reports use of an exported name as a property on the default export.
Example
javascript
// ./bar.js
export function bar() {
return null;
}
export default () => {
return 1;
};
// ./foo.js
import bar from "./bar";
const bar = foo.bar; // trying to access named export via default