org.sonar.l10n.web.rules.Web.IllegalAttributeCheck.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.
This rule checks that the specified attributes are not present in HTML tags.
Noncompliant Code Example
For a disallowed attribute list of: a.name
:
<a href="blah.com" name="Blah link"> <!-- Noncompliant; name attribute is used -->
Compliant Solution
<a href="blah.com">
© 2015 - 2024 Weber Informatics LLC | Privacy Policy