Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion ci-cd/run-detekt/detekt-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@ style:
# IntelliJ's default Kotlin code style uses wildcard imports.
active: false
MagicNumber:
# Configuration defaults and annotation arguments (@Size(max = 255), @Scheduled(...)).
# Configuration defaults and annotation arguments (@Size(max = 255), @Scheduled(...)),
# plus the places where a literal is already named or self-explanatory.
ignorePropertyDeclaration: true
ignoreAnnotation: true
ignoreLocalVariableDeclaration: true
ignoreEnums: true
ignoreRanges: true
# Replaces detekt's default list (-1, 0, 1, 2), so those are repeated here.
ignoreNumbers: ['-1', '0', '1', '2', '10', '24', '60', '100', '1000']
ReturnCount:
max: 3
excludeGuardClauses: true
Expand Down
Loading