Skip to content

snimavat/codenarc-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codenarc Extra.

Hosts extra codenarc rules which are not bundled with codenarc.

Usage

Add dependency to codenarc extra in build.gradle

repositories {
    jcenter()
}


dependencies {
 codenarc "io.9ci.yakworks:codenarc-extra:1.0.1.RC2"
}

Add codenarc ruleset in rules.groovy file as shown below.

ruleset {
    ruleset('rulesets/codenarc-extra.xml')
}

That should make the codenarc-extra rules apply.

Rules included in this package

  • CompileStaticRule This rule ensures that all groovy classes are annotated with one of the @CompileStatic, @CompileDynamic or @GrailsCompileStatic

About

Additional codenarc rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages