Closed

Description
Example (here I want to export everything from one or merge more files, then set a default export):
// filename is: ./file/index.js
export * from './file'; // this contains export const file = ...
export * from './anotherfile';
export {file as default} from './file';
// filename is ./main.js
import file from './file'; // import from directory file, resolving to ./file/index.js
/*
Line above gives warn/error:
Using exported name 'file' as identifier
for default export.eslint(import/no-named-as-default)
*/