templates.codenarc-rule-index.apt.template Maven / Gradle / Ivy
--------------------------------------------------
CodeNarc - Rule Index
--------------------------------------------------
Rule Index
~~~~~~~~~~
<> includes ${numberOfRules} rules.
<% ruleSets.each { name, rules -> %>
<% def ruleSetLink = "./codenarc-rules-${name}.html" %>
<% def capitalizedName = name.capitalize() %>
* {{{$ruleSetLink}$capitalizedName}}
<% rules.each { rule -> %>
<% def extraInfo = ruleExtraInformation[rule.name] ? " (${ruleExtraInformation[rule.name]})" : '' %>
* {{{./codenarc-rules-${name}.html#${rule.name}}${rule.name}}} ${extraInfo}
<% } %>
<% } %>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy