org.sonar.css.checks.l10n.common.comment-regular-expression.html Maven / Gradle / Ivy
This rule template can be used to create rules which will be triggered when a comment matches a given regular
expression.
For example, one can create a rule with the regular expression .*WTF.*
to match all comment
containing
"WTF".
Note that, in order to match WTF regardless of the case, the (?i)
modifier can be prepended to the
expression, as in (?i).*WTF.*
.
See Java
documentation for detailed regular expression syntax.
stylelint Related Rules
© 2015 - 2024 Weber Informatics LLC | Privacy Policy