Skip to content

Commit ceb3043

Browse files
[#541] [#538] Ignore LongParameterList for ViewModel
1 parent a4b010e commit ceb3043

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sample-compose/detekt-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ complexity:
7373
active: true
7474
functionThreshold: 5
7575
ignoreDefaultParameters: true
76-
ignoreAnnotated: [ 'Composable' ]
76+
ignoreAnnotated: [ 'Composable', 'HiltViewModel' ]
7777
MethodOverloading:
7878
active: false
7979
threshold: 5

template-compose/detekt-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ complexity:
7373
active: true
7474
functionThreshold: 5
7575
ignoreDefaultParameters: true
76-
ignoreAnnotated: [ 'Composable' ]
76+
ignoreAnnotated: [ 'Composable', 'HiltViewModel' ]
7777
MethodOverloading:
7878
active: false
7979
threshold: 5

0 commit comments

Comments
 (0)