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
Fix FP S6747: Support StencilJS class
TSX attribute
#4250
Comments
Another user in the same thread commented they also saw FP with |
We are having the same issue. My error is as following
|
I have, what I believe is the same problem, with my web apps that use Solid.js rather than React. Can we get the Edit: Sorry, I thought I matched on a Google search for |
You all can use this workaround in the meantime to whitelist specific attributes: https://community.sonarsource.com/t/unknown-property-jsx-found-with-styled-jsx-ts-s6747/102300/3 |
@appurist sonarlint issues for js/ts come from this analyzer, so you you are posting in the right place |
I wasn't connected, so I was looking for an update for the VSCode settings.json file. I think I found it. You can whitelist
Maybe that is the general pattern for disconnected use. |
Migrated to Jira. New ticket number: JS-74 |
Seems the StencilJS framework uses
class
as a valid TSX attribute.Reported in community.
Probably this should depend on detecting
package.json
dependencies. But even if React is detected (as it's the user's case), make sure it's actually used in the current analyzed file.The text was updated successfully, but these errors were encountered: