Skip to content

Commit 79c9fdc

Browse files
committed
chore: update MagicNumber ignoreNumbers rule
1 parent ec789c6 commit 79c9fdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/detekt/detekt.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ console-reports:
4444
output-reports:
4545
active: true
4646
exclude:
47-
# - 'TxtOutputReport'
47+
- 'TxtOutputReport'
48+
- 'MdOutputReport'
4849
# - 'XmlOutputReport'
4950
# - 'HtmlOutputReport'
50-
# - 'MdOutputReport'
5151
# - 'SarifOutputReport'
5252

5353
comments:
@@ -628,7 +628,7 @@ style:
628628
MagicNumber:
629629
active: true
630630
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**', '**/*.kts' ]
631-
ignoreNumbers: [ '-1', '0', '0.25', '0.5', '1', '2', '3', '4', '5', '10', '25', '50', '100', '250', '500', '1000', '2500', '5000', '10000', '25000', '50000', '100000' ]
631+
ignoreNumbers: [ '-1', '0', '0.25', '0.5', '1', '2', '3', '4', '5', '10', '20', '25', '30', '40', '50', '100', '250', '500', '1000', '2500', '5000', '10000', '25000', '50000', '100000' ]
632632
ignoreHashCodeFunction: true
633633
ignorePropertyDeclaration: true
634634
ignoreLocalVariableDeclaration: true

0 commit comments

Comments
 (0)