From 04d231a7fd53e4d9a581525ff861bbffe4463e6f Mon Sep 17 00:00:00 2001 From: Yaroslav Bondarenko Date: Mon, 22 Apr 2024 12:34:01 +0300 Subject: [PATCH] [DO-110] test commit linter config tune --- .groovylintrc.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .groovylintrc.json diff --git a/.groovylintrc.json b/.groovylintrc.json new file mode 100644 index 0000000..914ca0a --- /dev/null +++ b/.groovylintrc.json @@ -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": "_" + } + } +} \ No newline at end of file