[DO-110] created groovy linter config and action workflow for linter (#21)
created groovy linter config and action workflow for linter Reviewed-on: https://git.avroid.tech/DevOps/jenkins-shared-lib/pulls/21 Co-authored-by: Yaroslav Bondarenko <yaroslav.bondarenko@avroid.tech> Co-committed-by: Yaroslav Bondarenko <yaroslav.bondarenko@avroid.tech>
This commit is contained in:
committed by
Denis Patrakeev
parent
04d231a7fd
commit
cd2cdaae61
@@ -3,14 +3,13 @@
|
||||
"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",
|
||||
"naming.PropertyName": "off",
|
||||
"unnecessary.UnnecessaryGetter": "off",
|
||||
"size.NestedBlockDepth": {
|
||||
"maxNestedBlockDepth": 10
|
||||
|
||||
Reference in New Issue
Block a user