Skip to content

Commit f7e30b1

Browse files
committed
Migrate PostCreatore feature to Compose, code clean up
1 parent b4d4d4f commit f7e30b1

File tree

2 files changed

+8
-4
lines changed
  • config/detekt
  • sources/base/compose-ui/src/main/kotlin/com/egoriku/ladyhappy/compose/ui

2 files changed

+8
-4
lines changed

config/detekt/detekt.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ complexity:
117117
threshold: 600
118118
LongMethod:
119119
active: true
120-
threshold: 63
120+
threshold: 100
121121
ignoreAnnotated: [ ]
122122
LongParameterList:
123123
active: true
124-
functionThreshold: 7
124+
functionThreshold: 8
125125
constructorThreshold: 10
126126
ignoreDefaultParameters: false
127127
ignoreDataClasses: true
@@ -242,7 +242,6 @@ exceptions:
242242
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**' ]
243243
exceptions:
244244
- 'ArrayIndexOutOfBoundsException'
245-
- 'Error'
246245
- 'Exception'
247246
- 'IllegalArgumentException'
248247
- 'IllegalMonitorStateException'
@@ -631,7 +630,6 @@ style:
631630
values:
632631
- 'FIXME:'
633632
- 'STOPSHIP:'
634-
- 'TODO:'
635633
allowedPatterns: ''
636634
ForbiddenImport:
637635
active: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.egoriku.ladyhappy.compose.ui
2+
3+
import androidx.compose.ui.graphics.Color
4+
5+
@Suppress("MagicNumber")
6+
val RealWhite = Color(0xFFFFFFFF)

0 commit comments

Comments
 (0)