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

breaking: deprecate the svelte/no-dynamic-slot-name rule #1011

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

Copy link

changeset-bot bot commented Jan 12, 2025

🦋 Changeset detected

Latest commit: 477b42b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-svelte Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Jan 12, 2025

Open in Stackblitz

npm i https://pkg.pr.new/eslint-plugin-svelte@1011

commit: 477b42b

@baseballyama baseballyama force-pushed the chore/no-dynamic-slot-name branch from 99e340e to 42ecafc Compare January 12, 2025 07:33
@ota-meshi
Copy link
Member

Thank you for this PR!

The valid-compile rule assumes this rule exists and excludes it from reporting.
Could you please remove it from the valid-compile rule's exclusion list?

// Svelte v4
'dynamic-slot-name',
// Svelte v5
'invalid-slot-name'

@baseballyama baseballyama force-pushed the chore/no-dynamic-slot-name branch from 42ecafc to aef695b Compare January 16, 2025 00:30
@baseballyama
Copy link
Member Author

Thank you for this PR!

The valid-compile rule assumes this rule exists and excludes it from reporting. Could you please remove it from the valid-compile rule's exclusion list?

// Svelte v4
'dynamic-slot-name',
// Svelte v5
'invalid-slot-name'

Did!: aef695b

@baseballyama baseballyama force-pushed the chore/no-dynamic-slot-name branch from aef695b to 61da602 Compare January 16, 2025 00:33
@baseballyama baseballyama force-pushed the chore/no-dynamic-slot-name branch from 61da602 to 477b42b Compare January 16, 2025 00:43
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ota-meshi ota-meshi merged commit 7596287 into main Jan 16, 2025
18 checks passed
@ota-meshi ota-meshi deleted the chore/no-dynamic-slot-name branch January 16, 2025 00:46
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

Successfully merging this pull request may close these issues.

2 participants