Skip to content

Commit

Permalink
adjust CodeNarc rules to allow empty blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
daspilker committed Jun 30, 2015
1 parent 6722011 commit 10557a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/codenarc/rules.groovy
Expand Up @@ -39,6 +39,10 @@ ruleset {
characterAfterColonRegex = /\s/
characterBeforeColonRegex = /./
}
// empty blocks like {} are OK
SpaceBeforeClosingBrace {
ignoreEmptyBlock = true
}

// we don't care for now
exclude 'ClassJavadoc'
Expand Down

0 comments on commit 10557a8

Please sign in to comment.