Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive with eslint-plugin-import #224

Closed
rakuzen25 opened this issue Oct 14, 2022 · 2 comments
Closed

False positive with eslint-plugin-import #224

rakuzen25 opened this issue Oct 14, 2022 · 2 comments

Comments

@rakuzen25
Copy link

import Fa from "svelte-fa";

This triggers Using exported name 'Fa' as identifier for default export. eslint (import/no-named-as-default).

Changing the line to import { Fa } from "svelte-fa"; would not build in SvelteKit, throwing <Fa> is not a valid SSR component..

I'm not too sure what's causing this… Might be similar to import-js/eslint-plugin-import#544?

@Cweili
Copy link
Owner

Cweili commented Nov 23, 2022

Seems SvelteKit not support importing pre-compiled modules... #239 (comment)

@Cweili
Copy link
Owner

Cweili commented May 26, 2023

This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions.

@Cweili Cweili closed this as completed May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants