All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.javascript.rules.javascript.CommentRegularExpression.html Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version

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 ".*TODO.*" to match all comment containing "TODO".

Note that, in order to match TODO regardless of the case, the "(?i)" modifier can be prepended to the expression, as in "(?i).*TODO.*".





© 2015 - 2024 Weber Informatics LLC | Privacy Policy