Skip to content

Commit dc285cd

Browse files
author
Quintin Willison
committed
Add the basic and groovyism rulesets to our use of CodeNarc, which we were already passing.
1 parent 8915f29 commit dc285cd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

gradle-lint/src/main/groovy/build-script-rules.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
ruleset {
2+
ruleset 'rulesets/basic.xml'
3+
24
ruleset('rulesets/formatting.xml') {
35
// This rule requires a space before the colon, which is unnecessary and less human-readable - especially in our JSON-rich world.
46
exclude 'SpaceAroundMapEntryColon'
@@ -11,4 +13,6 @@ ruleset {
1113
// Not a valid concern given our context (Gradle build scripts).
1214
exclude 'CompileStatic'
1315
}
16+
17+
ruleset 'rulesets/groovyism.xml'
1418
}

0 commit comments

Comments
 (0)