-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add svelte/no-constant-condition
rule
#613
Comments
Thank you for posting this issue. |
If you want to try out the idea of linting from pseudo JavaScript code, please create your own new plugin and try it out, as the mechanism is different from |
svelte/no-constant-condition
rule
Description
You need to take all the rules from eslint and try to adapt them to the markup.
Perhaps you need to try to convert the markup to (pseudo) regular js and, in addition to the rules of the svelte, apply the rules for js to it (including other plugins and future ts support in the markup).
The text was updated successfully, but these errors were encountered: