We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
prefer-const
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
the prefer-const rule included by default in eslint does not understand reactive statements with curly braces:
<script lang="ts"> let foo: number $: { foo = 1 // 'foo' is never reassigned. Use 'const' instead. (prefer-const) } </script> {foo}
The text was updated successfully, but these errors were encountered:
Thank you for the bug report. I think it's probably a parser bug.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
the
prefer-const
rule included by default in eslint does not understand reactive statements with curly braces:The text was updated successfully, but these errors were encountered: