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
Analyze HTML (also within PHP/Ruby/etc. templates) and JSP/JSF code.
The newest version!
This rule checks that the specified attributes are not present in HTML tags.
For a disallowed attribute list of: a.name
Noncompliant Code Example
<a href="blah.com" name="Blah link"> <!-- Noncompliant; name attribute is used -->
Compliant Solution
<a href="blah.com">