-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Conversation
🦋 Changeset detectedLatest commit: 477b42b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
commit: |
99e340e
to
42ecafc
Compare
Thank you for this PR! The valid-compile rule assumes this rule exists and excludes it from reporting. eslint-plugin-svelte/packages/eslint-plugin-svelte/src/rules/valid-compile.ts Lines 9 to 12 in 568ef52
|
42ecafc
to
aef695b
Compare
Did!: aef695b |
aef695b
to
61da602
Compare
61da602
to
477b42b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Since a compile error occurs in all versions of Svelte (3, 4, and 5), isn’t this rule unnecessary?
Svelte5
https://svelte.dev/playground/hello-world?version=5.17.3#H4sIAAAAAAAAE22NzUrEMBRGX-V6N6NDY_axU6goulC70J0R6TRXCWRuSnL9GUqfwoUbn84nkSAOgm4P5zvfhNxvCA2eUwgRXmIKDvbJeSF3gBU--EAZze2Esh2LVwBWP6t2HA_zMwUpbN1n-o8PkYVYMhqs85D8KI1lAL0EysGzwLepOSq35X7jB5VDFFVaBixSSjFZhKUusyFyFri-6G7ur9rLU1jBYt27xZHlWu_qlus9peDz4w3Ouu4ElGos16UKpbqy-Bijswj6t_wOx-1fF6bd2Qy6wQqFXgWNpCea7-YvjJVwy0IBAAA=
Svelte4
https://svelte.dev/playground/hello-world?version=4.2.19#H4sIAAAAAAAAE22NzUrEMBRGX-V6N6NDY_axU6goulC70J0R6TRXCWRuSnL9GUqfwoUbn84nkSAOgm4P5zvfhNxvCA2eUwgRXmIKDvbJeSF3gBU--EAZze2Esh2LVwBWP6t2HA_zMwUpbN1n-o8PkYVYMhqs85D8KI1lAL0EysGzwLepOSq35X7jB5VDFFVaBixSSjFZhKUusyFyFri-6G7ur9rLU1jBYt27xZHlWu_qlus9peDz4w3Ouu4ElGos16UKpbqy-Bijswj6t_wOx-1fd9p9zaAbrFDoVdBIeqL5bv4Cu-KH80EBAAA=
Svelte3
https://svelte.dev/playground/hello-world?version=3.59.2#H4sIAAAAAAAAE22NzUrEMBRGX-V6N6NDY_axU6goulC70J0R6TRXCWRuSnL9GUqfwoUbn84nkSAOgm4P5zvfhNxvCA2eUwgRXmIKDvbJeSF3gBU--EAZze2Esh2LVwBWP6t2HA_zMwUpbN1n-o8PkYVYMhqs85D8KI1lAL0EysGzwLepOSq35X7jB5VDFFVaBixSSjFZhKUusyFyFri-6G7ur9rLU1jBYt27xZHlWu_qlus9peDz4w3Ouu4ElGos16UKpbqy-Bijswj6t_wOx-1fF6bd2Qy6wQqFXgWNpCea7-YvjJVwy0IBAAA=