Add exclusion to LongParameterList lint check for provides methods (#395)

This commit is contained in:
David Perez
2023-12-14 15:22:33 -06:00
committed by GitHub
parent cbc02acf5d
commit 136d62b41e
4 changed files with 1 additions and 4 deletions

View File

@@ -25,7 +25,6 @@ object AuthRepositoryModule {
@Provides
@Singleton
@Suppress("LongParameterList")
fun providesAuthRepository(
accountsService: AccountsService,
identityService: IdentityService,

View File

@@ -26,7 +26,6 @@ object PlatformManagerModule {
@Singleton
fun provideBitwardenDispatchers(): DispatcherManager = DispatcherManagerImpl()
@Suppress("LongParameterList")
@Provides
@Singleton
fun provideNetworkConfigManager(

View File

@@ -21,7 +21,6 @@ import javax.inject.Singleton
@InstallIn(SingletonComponent::class)
object GeneratorRepositoryModule {
@Suppress("LongParameterList")
@Provides
@Singleton
fun provideGeneratorRepository(

View File

@@ -83,7 +83,7 @@ complexity:
constructorThreshold: 7
ignoreDefaultParameters: false
ignoreDataClasses: true
ignoreAnnotated: [ 'Composable' ]
ignoreAnnotated: [ 'Composable', 'dagger.Provides' ]
MethodOverloading:
active: false
threshold: 6