File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ configure(subprojects.findAll { it.name != 'util' && it.name != 'mongo-java-driv
277
277
}
278
278
279
279
codenarc {
280
- toolVersion = ' 0.24 '
280
+ toolVersion = ' 1.0 '
281
281
reportFormat = project. buildingWith(' xmlReports.enabled' ) ? ' xml' : ' html'
282
282
}
283
283
Original file line number Diff line number Diff line change 31
31
<rule-config name =' HashtableIsObsolete' >
32
32
<property name =' doNotApplyToFileNames' value =' MongoClientFactorySpecification.groovy' />
33
33
</rule-config >
34
+ <exclude name =" TrailingComma" />
35
+ <exclude name =" CouldBeSwitchStatement" />
36
+ <exclude name =" NoDef" />
34
37
</ruleset-ref >
35
38
<ruleset-ref path =' rulesets/design.xml' >
36
39
<rule-config name =' BuilderMethodWithSideEffects' >
96
99
<!-- dangerous rule because if you use "with in a then clause of a Spock test, the assertions are not run -->
97
100
<exclude name =" UnnecessaryObjectReferences" />
98
101
<exclude name =" UnnecessaryBigDecimalInstantiation" />
102
+ <exclude name =" UnnecessarySetter" />
99
103
</ruleset-ref >
100
104
<ruleset-ref path =' rulesets/unused.xml' >
101
105
<rule-config name =' UnusedObject' >
You can’t perform that action at this time.
0 commit comments