
org.sonar.l10n.web.rules.Web.ChildElementIllegalCheck.html Maven / Gradle / Ivy
The newest version!
Why is this an issue?
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 - 2025 Weber Informatics LLC | Privacy Policy