[DO-110] created groovy linter config and action workflow for linter (!23)
- created groovy linter config and action workflow for linter Co-authored-by: Denis Patrakeev <denis.patrakeev@avroid.tech> Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/23 Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.tech> 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
b85939500d
commit
120e62956f
20
.groovylintrc.json
Normal file
20
.groovylintrc.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"extends": "recommended",
|
||||
"rules": {
|
||||
"convention.CompileStatic": "off",
|
||||
"convention.NoDef": "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