diff options
Diffstat (limited to 'detekt/detekt.yml')
-rw-r--r-- | detekt/detekt.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/detekt/detekt.yml b/detekt/detekt.yml new file mode 100644 index 000000000..31bf77bc3 --- /dev/null +++ b/detekt/detekt.yml @@ -0,0 +1,25 @@ + +config: + validation: true + +GrammarRules: + AvoidColour: + active: true + + +style: + MagicNumber: # I, Linnea Gräf, of sound mind and body, disagree with disabling this rule + active: false + UnusedParameter: + active: true + ignoreAnnotated: + - 'SubscribeEvent' + - 'HandleEvent' + ReturnCount: + active: true +# max: 5 + excludeGuardClauses: true + MaxLineLength: + active: true + maxLineLength: 140 + excludeCommentStatements: true |