[DO-110] test commit linter config tune
This commit is contained in:
22
.groovylintrc.json
Normal file
22
.groovylintrc.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"extends": "recommended",
|
||||||
|
"rules": {
|
||||||
|
"convention.CompileStatic": "off",
|
||||||
|
"convention.NoDef": "off",
|
||||||
|
"convention.VariableTypeRequired": "on",
|
||||||
|
"convention.MethodReturnTypeRequired": "off",
|
||||||
|
"groovyism.ExplicitCallToEqualsMethod": "off",
|
||||||
|
"groovyism.GStringExpressionWithinString": "off",
|
||||||
|
"naming.VariableName": {
|
||||||
|
"ignoreVariableNames": "_"
|
||||||
|
},
|
||||||
|
"naming.FactoryMethodName": "off",
|
||||||
|
"unnecessary.UnnecessaryGetter": "off",
|
||||||
|
"size.NestedBlockDepth": {
|
||||||
|
"maxNestedBlockDepth": 10
|
||||||
|
},
|
||||||
|
"unused.UnusedVariable": {
|
||||||
|
"ignoreVariableNames": "_"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user