Enable more detekt rules.
This commit is contained in:
parent
b69e01a5f3
commit
d22b005aa3
1 changed files with 23 additions and 0 deletions
|
|
@ -56,15 +56,38 @@ style:
|
||||||
active: true
|
active: true
|
||||||
OptionalUnit:
|
OptionalUnit:
|
||||||
active: true
|
active: true
|
||||||
|
PreferToOverPairSyntax:
|
||||||
|
active: true
|
||||||
|
RedundantExplicitType:
|
||||||
|
active: true
|
||||||
|
TrailingWhitespace:
|
||||||
|
active: true
|
||||||
|
TrimMultilineRawString:
|
||||||
|
active: true
|
||||||
|
trimmingMethods:
|
||||||
|
- 'trimIndent'
|
||||||
|
- 'trimMargin'
|
||||||
UnderscoresInNumericLiterals:
|
UnderscoresInNumericLiterals:
|
||||||
active: true
|
active: true
|
||||||
acceptableLength: 4
|
acceptableLength: 4
|
||||||
allowNonStandardGrouping: false
|
allowNonStandardGrouping: false
|
||||||
|
UnnecessaryAnnotationUseSiteTarget:
|
||||||
|
active: true
|
||||||
|
UnnecessaryBackticks:
|
||||||
|
active: true
|
||||||
|
UnnecessaryBracesAroundTrailingLambda:
|
||||||
|
active: true
|
||||||
UseDataClass:
|
UseDataClass:
|
||||||
active: true
|
active: true
|
||||||
allowVars: false
|
allowVars: false
|
||||||
|
UseEmptyCounterpart:
|
||||||
|
active: true
|
||||||
|
UseIfEmptyOrIfBlank:
|
||||||
|
active: true
|
||||||
UseLet:
|
UseLet:
|
||||||
active: true
|
active: true
|
||||||
|
UseSumOfInsteadOfFlatMapSize:
|
||||||
|
active: true
|
||||||
|
|
||||||
coroutines:
|
coroutines:
|
||||||
GlobalCoroutineUsage:
|
GlobalCoroutineUsage:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue