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

New Rule: no-slots #811

Open
baseballyama opened this issue Jun 30, 2024 · 0 comments
Open

New Rule: no-slots #811

baseballyama opened this issue Jun 30, 2024 · 0 comments
Labels
enhancement New feature or request new rule

Comments

@baseballyama
Copy link
Member

Motivation

slots will be deprecated in Svelte 5.
https://svelte-5-preview.vercel.app/docs/snippets#snippets-and-slots

But Svelte 5 works this. So this rule is to prevent using slots anymore.

Description

IIUC, the default slot should continue to be available. So we need to inspect things like named slots, but I'll look into the details later.

Examples

see the docs: https://svelte-5-preview.vercel.app/docs/snippets#snippets-and-slots

Additional comments

No response

@baseballyama baseballyama added enhancement New feature or request new rule labels Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new rule
Projects
None yet
Development

No branches or pull requests

1 participant