forked from robfletcher/spock-extensions
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcodenarc.groovy
27 lines (23 loc) · 1.15 KB
/
codenarc.groovy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ruleset {
description 'Spock Extensions CodeNarc RuleSet'
ruleset( 'http://codenarc.sourceforge.net/StarterRuleSet-AllRulesByCategory.groovy.txt' ) {
VariableName ( enabled : false )
UnnecessaryPackageReference ( enabled : false )
DuplicateNumberLiteral ( enabled : false )
DuplicateStringLiteral ( enabled : false )
DuplicateListLiteral ( enabled : false )
BracesForClass ( enabled : false )
BracesForMethod ( enabled : false )
BracesForIfElse ( enabled : false )
BracesForForLoop ( enabled : false )
BracesForTryCatchFinally ( enabled : false )
JavaIoPackageAccess ( enabled : false )
MethodName ( enabled : false )
UnnecessarySubstring ( enabled : false )
ConfusingMethodName ( enabled : false )
ThrowRuntimeException ( enabled : false )
FactoryMethodName ( enabled : false )
CatchThrowable ( enabled : false )
LineLength ( length : 190 )
}
}