LWC1144: Invalid HTML detected, "<tbody>" was automatically inserted within "<table>"; the compiled

If your question is about SonarLint in the IntelliJ Platform, VS Code, Visual Studio, or Eclipse, please post it in that sub-category.

Otherwise, please provide:

  • Operating system: windows
  • IDE name and flavor/env: VS Code

And a thorough description of the problem / question:

How to solve this error can anyone please suggest

Hi,

Welcome to the community!

You haven’t provided much to go on, but based on the LWC1144 in your title, I’m going to guess this error is not coming from Sonar.

 
HTH,
Ann


Please see attached snapshot the error is shown because of Sonarlint in LWC Component HTML file. Can you please help how to resolve this error.

Hi,

What makes you think this is coming from SonarLint? A brief search on the error code, LWC1144 takes me to the Salesforce community.

 
Ann

1 Like