-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix: set svelteFeatures.runes
to true
by default for Svelte 5
#538
Conversation
🦋 Changeset detectedLatest commit: 9dea20b 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 |
@@ -383,15 +385,13 @@ For example in `.eslintrc.*`: | |||
"parser": "svelte-eslint-parser", | |||
"parserOptions": { | |||
"parser": "...", | |||
"svelteFeatures": { "runes": true }, |
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.
I think 95% of users doesn't need to specify this option, so I removed from README.
e043530
to
153eb5b
Compare
153eb5b
to
06e2755
Compare
@@ -28,7 +28,7 @@ export function isEnableRunes( | |||
} else if (svelteConfig?.compilerOptions?.runes != null) { | |||
return Boolean(svelteConfig.compilerOptions.runes); | |||
} | |||
return false; | |||
return true; |
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.
This is fundamental changes of this PR. If Svelte 5, the parser will recognize runes as default.
svelteFeatures.runes
to true
by default for Svelte 5”svelteFeatures.runes
to true
by default for Svelte 5
svelteFeatures.runes
to true
by default for Svelte 5svelteFeatures.runes
to true
by default for Svelte 5
Why test is failed~~~ |
@ota-meshi Does this PR reflect a shared understanding between us? |
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.
Awesome! Thanks!
Pull Request Test Coverage Report for Build 9549079734Details
💛 - Coveralls |
Follow up of #536 (comment)