[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:
Yaroslav Bondarenko
2024-04-22 19:30:00 +03:00
committed by Denis Patrakeev
parent 04d231a7fd
commit cd2cdaae61
2 changed files with 40 additions and 2 deletions

View File

@@ -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