[DO-110] created groovy linter action
This commit is contained in:
20
example/.groovylintrc.json
Normal file
20
example/.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