In an index file that is re-exporting a module with an aliased name, such as:
export { default as useSiteMetadata } from "./use-site-metadata";
export { default as useCategoriesList } from "./use-categories-list";
export { default as useTagsList } from "./use-tags-list";
The result is:
export { default, default, default };
which is obviously not intended! I didn't really account for index files with this rule, either. Perhaps we add an option to skip index files by default.
In an index file that is re-exporting a module with an aliased name, such as:
The result is:
which is obviously not intended! I didn't really account for index files with this rule, either. Perhaps we add an option to skip index files by default.