Skip to content

Commit 666daa7

Browse files
committed
Amended MagicNumber detekt rule to have an exclusion for Color.kt
1 parent a8dd868 commit 666daa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/detekt/detekt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ style:
621621
maxJumpCount: 1
622622
MagicNumber:
623623
active: true
624-
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**', '**/*.kts']
624+
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**', '**/*.kts', '**/Color.kt']
625625
ignoreNumbers:
626626
- '-1'
627627
- '0'

0 commit comments

Comments
 (0)