You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started using eslint-plugin-import for my Astro pages, and when I try to import Astro components, the plugin reports: ESLint: No default export found in imported module "../../layouts/Layout.astro".(import/default)
My gut feeling tells me that astro-eslint-parser should report the default export as existing, but maybe it’s the import plugin that needs to be configured properly, or even eslint-plugin-astro.
In which repository should I file an issue for that?
The text was updated successfully, but these errors were encountered:
eslint-plugin-import doesn't know about *.astro semantics, so I think we need to do something in astro-eslint-parser to resolve that.
Could you please provide a repository where we can reproduce the issue? I think we can use it as a test case.
I started using
eslint-plugin-import
for my Astro pages, and when I try to import Astro components, the plugin reports:ESLint: No default export found in imported module "../../layouts/Layout.astro".(import/default)
My gut feeling tells me that
astro-eslint-parser
should report the default export as existing, but maybe it’s the import plugin that needs to be configured properly, or eveneslint-plugin-astro
.In which repository should I file an issue for that?
The text was updated successfully, but these errors were encountered: