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

Linting issue "Parsing error: value.find is not a function" #826

Closed
2 tasks done
kunalshah opened this issue Jul 18, 2024 · 1 comment · Fixed by #827
Closed
2 tasks done

Linting issue "Parsing error: value.find is not a function" #826

kunalshah opened this issue Jul 18, 2024 · 1 comment · Fixed by #827

Comments

@kunalshah
Copy link

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.

What version of ESLint are you using?

9.7.0

What version of eslint-plugin-svelte are you using?

2.42.0

What did you do?

After upgrading to latest version of svelte (5.0.0-next.190), eslint shows linting error "Parsing error: value.find is not a function". There was no error with svelte version "5.0.0-next.184". One of the change with svelte 5.0.0-next.190 is that the values passed to components are not to be enclosed in string, and that probably is causing the issue with the eslint-plugin-svelte
[https://github.com/kunalshah/my-app/blob/main/eslint.config.js](https://github.com/kunalshah/my-app/blob/main/eslint.config.js)
Repo: https://github.com/kunalshah/my-app

"npm run lint" to see the issue being reproduced.

What did you expect to happen?

There should not have been any linting errors.

What actually happened?

Linting error:
0:0 error Parsing error: value.find is not a function

Link to GitHub Repo with Minimal Reproducible Example

https://github.com/kunalshah/my-app

or

https://stackblitz.com/~/github.com/kunalshah/my-app

Additional comments

No response

@ota-meshi
Copy link
Member

I'm looking into it, but I'm stuck on a different issue:
sveltejs/svelte#12494

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 a pull request may close this issue.

2 participants