From f8fd73e1482e838dfa8c17781226407ba49b7fde Mon Sep 17 00:00:00 2001 From: asm0dey Date: Tue, 12 Jan 2021 20:08:12 +0300 Subject: [PATCH] Fixes detekt inspection result --- .idea/detekt.xml | 9 + .idea/jarRepositories.xml | 5 + build.gradle | 17 +- code_quality_tools/detekt.yml | 617 ++++++++++++++++++++ src/main/kotlin/staks/CompoundHandler.kt | 22 +- src/main/kotlin/staks/Handler.kt | 20 +- src/main/kotlin/staks/ListHandler.kt | 7 +- src/main/kotlin/staks/SingleHandler.kt | 7 +- src/main/kotlin/staks/UnnamedListHandler.kt | 3 + src/main/kotlin/staks/base.kt | 118 +++- src/main/kotlin/staks/delegates.kt | 37 +- src/test/kotlin/staks/BaseKtTest.kt | 56 +- 12 files changed, 870 insertions(+), 48 deletions(-) create mode 100644 .idea/detekt.xml create mode 100644 code_quality_tools/detekt.yml diff --git a/.idea/detekt.xml b/.idea/detekt.xml new file mode 100644 index 0000000..d6df3a4 --- /dev/null +++ b/.idea/detekt.xml @@ -0,0 +1,9 @@ + + + + true + true + true + $PROJECT_DIR$/code_quality_tools/detekt.yml + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index fdc392f..b3e9cbd 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -16,5 +16,10 @@