diff --git a/.changeset/lucky-boxes-tell.md b/.changeset/lucky-boxes-tell.md new file mode 100644 index 00000000..2de2dbcd --- /dev/null +++ b/.changeset/lucky-boxes-tell.md @@ -0,0 +1,5 @@ +--- +"svelte-eslint-parser": patch +--- + +chore: remove experimental for svelteFeatures.runes option parserOptions diff --git a/README.md b/README.md index dc1631d7..f9a55fdd 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,6 @@ export default [ parser: svelteParser, parserOptions: { svelteFeatures: { - /* -- Experimental Svelte Features -- */ /* It may be changed or removed in minor versions without notice. */ // This option is for Svelte 5. The default value is `true`. // If `false`, ESLint will not recognize rune symbols. @@ -310,7 +309,6 @@ For example in `.eslintrc.*`: "parser": "svelte-eslint-parser", "parserOptions": { "svelteFeatures": { - /* -- Experimental Svelte Features -- */ /* It may be changed or removed in minor versions without notice. */ // This option is for Svelte 5. The default value is `true`. // If `false`, ESLint will not recognize rune symbols. diff --git a/src/parser/parser-options.ts b/src/parser/parser-options.ts index f8052939..c663406c 100644 --- a/src/parser/parser-options.ts +++ b/src/parser/parser-options.ts @@ -20,7 +20,6 @@ export type NormalizedParserOptions = { [key: string]: any; }; svelteFeatures?: { - /* -- Experimental Svelte Features -- */ // This option is for Svelte 5. The default value is `true`. // If `false`, ESLint will not recognize rune symbols. // If not configured this option, The parser will try to read the option from `compilerOptions.runes` from `svelte.config.js`.