Skip to content

Commit 363639d

Browse files
committed
fix: lint rules for compose
1 parent c570598 commit 363639d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/detekt/detekt.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,17 @@ complexity:
130130
LongMethod:
131131
active: true
132132
threshold: 60
133+
ignoreAnnotated:
134+
- 'Composable'
133135
LongParameterList:
134136
active: true
135137
functionThreshold: 6
136138
constructorThreshold: 7
137139
ignoreDefaultParameters: false
138140
ignoreDataClasses: true
139141
ignoreAnnotatedParameter: []
142+
ignoreAnnotated:
143+
- 'Composable'
140144
MethodOverloading:
141145
active: false
142146
threshold: 6
@@ -753,6 +757,8 @@ style:
753757
UnusedPrivateMember:
754758
active: true
755759
allowedNames: ''
760+
ignoreAnnotated:
761+
- 'Preview'
756762
UnusedPrivateProperty:
757763
active: true
758764
allowedNames: '_|ignored|expected|serialVersionUID'

0 commit comments

Comments
 (0)