Detekt: configure and ignore some rules.

This commit is contained in:
Benoit Marty 2022-05-12 16:56:49 +02:00
parent c02fb87bc9
commit 9834371e18
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# Default rules: https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml
style:
MaxLineLength:
# Default is 120
maxLineLength: 160
MagicNumber:
# Default is true
active: false
ReturnCount:
# Default is true
active: false
UnnecessaryAbstractClass:
# Default is true. False positive for Epoxy
active: false