Skip to content

Commit

Permalink
Включает правило detekt про отсутствие нескольких пустых строк подряд
Browse files Browse the repository at this point in the history
  • Loading branch information
PStrelchenko committed Dec 6, 2023
1 parent 81e8dfd commit c329458
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ class RootActivity : AppCompatActivity() {
// ...
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import org.gradle.accessors.dm.LibrariesForLibs
import org.gradle.api.Project
import org.gradle.kotlin.dsl.the


/**
* Workaround to make version catalog accessible in convention plugins
* https://github.com/gradle/gradle/issues/15383
Expand Down
4 changes: 1 addition & 3 deletions conf/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,8 @@ formatting:
NoBlankLineBeforeRbrace:
active: false
autoCorrect: false
# Правило выключено, потому что иногда мы ставим больше одной пустой строки
# между, например, property и функциями
NoConsecutiveBlankLines:
active: false
active: true
autoCorrect: true
NoEmptyClassBody:
active: true
Expand Down

0 comments on commit c329458

Please sign in to comment.