templates.codenarc-rule-index.md.template Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of CodeNarc Show documentation
Show all versions of CodeNarc Show documentation
The CodeNarc project provides a static analysis tool for Groovy code.
---
layout: default
title: CodeNarc - Rule Index
---
# Rule Index
**CodeNarc** includes ${numberOfRules} rules.
<% ruleSets.each { name, rules ->\
def ruleSetLink = "./codenarc-rules-${name}.html"
def capitalizedName = name.capitalize() %>
## [$capitalizedName]($ruleSetLink)
<% rules.each { rule -> def extraInfo = ruleExtraInformation[rule.name] ? " (${ruleExtraInformation[rule.name]})" : '' %>\
* [${rule.name}](./codenarc-rules-${name}.html#${rule.name.toLowerCase()}-rule) ${extraInfo}
<% } } %>