We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
9.12.0
eslint-plugin-svelte
2.44.1
<script lang="ts"> function hello() { console.log('Hello'); } </script> <h1>Welcome to SvelteKit</h1> <p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p> {@render editor_button({ onclick: hello })} <!-- prettier-ignore --> {#snippet editor_button(foo: { onclick: () => void, })} <button on:click={foo.onclick}>Click me</button> {/snippet}
I expect no errors
Received this error:
12:15 error Parsing error: '=>' expected
https://github.com/bradyisom/eslint-typed-snippets
To repro with GitHub repo, yarn install and yarn lint
yarn install
yarn lint
The text was updated successfully, but these errors were encountered:
fix: update svelte-eslint-parser to v0.42 (#874)
457521a
close #872
Perfect! Thank you for the quick response. I can verify that this bug is resolved with the latest version.
Sorry, something went wrong.
() => void
Successfully merging a pull request may close this issue.
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
9.12.0
What version of
eslint-plugin-svelte
are you using?2.44.1
What did you do?
What did you expect to happen?
I expect no errors
What actually happened?
Received this error:
Link to GitHub Repo with Minimal Reproducible Example
https://github.com/bradyisom/eslint-typed-snippets
Additional comments
To repro with GitHub repo,
yarn install
andyarn lint
The text was updated successfully, but these errors were encountered: