-
-
Notifications
You must be signed in to change notification settings - Fork 48
ESLint Flat config #723
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
Comments
https://github.com/sveltejs/eslint-plugin-svelte/releases/tag/v2.36.0-next.11 We will remove |
I'm on
My config:
The problem is the same regardless of whether I use |
The core issue I'm having though is an infinite loop when I run this plugin. If I comment out all the other configs, leaving this as the only active plugin, the infinite loop remains. |
I've gotten it working, almost perfectly with the new syntax! I'll post the final config here shortly. Also, it may not have been an infinite loop... Flat config doesn't use the |
Ran out of time to work on this before I got it all working. Still getting |
Removing the type casting resulted in svelte check errors, so I am still stuck. |
eslint-plugin-svelte can be used in flat configs even without the new flat config support that's only in the next releases: |
I'm using it for my config above, or at least I think I am. I am very new to ESLint (& Javascript).
And from above:
|
Description
All the docs reference the legacy config style of
eslintrc.js
, but the new flat config has many advantages, and I'm trying it out to resolve some other issues.Ref: https://eslint.org/docs/latest/use/configure/configuration-files-new
The text was updated successfully, but these errors were encountered: