org.sonar.l10n.web.rules.Web.ChildElementIllegalCheck.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-plugin Show documentation
Show all versions of sonar-web-plugin Show documentation
Enables scanning of HTML, and JSP/JSF files.
The newest version!
This rule checks that the specified child tag does not appear as a direct child of the specified parent.
Noncompliant Code Example
Assuming a parent/child combination of head
/body
:
<head>
...
<body> <!-- Noncompliant -->
...
</body>
</head>
Compliant Solution
<head>
...
</head>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy