Update dependencies

This commit is contained in:
Mygod
2021-12-08 13:54:59 -05:00
parent ffb3ccbfbd
commit 1c4a696982
3 changed files with 17 additions and 10 deletions

View File

@@ -37,14 +37,13 @@ complexity:
LongMethod:
active: true
threshold: 60
ignoreAnnotated: []
LongParameterList:
active: true
functionThreshold: 6
constructorThreshold: 7
ignoreDefaultParameters: true
ignoreDataClasses: true
ignoreAnnotated: []
ignoreAnnotatedParameter: []
MethodOverloading:
active: false
NamedArguments:
@@ -77,6 +76,8 @@ coroutines:
active: true
GlobalCoroutineUsage:
active: false
InjectDispatcher:
active: false
RedundantSuspendModifier:
active: true
SleepInsteadOfDelay:
@@ -334,8 +335,6 @@ naming:
functionPattern: '([a-z][a-zA-Z0-9]*)|(`.*`)'
excludeClassPattern: '$^'
ignoreOverridden: true
ignoreAnnotated:
- 'Composable'
FunctionParameterNaming:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
@@ -344,8 +343,11 @@ naming:
ignoreOverridden: true
InvalidPackageDeclaration:
active: true
excludes: ['buildSrc/**', '**/*.kts']
rootPackage: ''
LambdaParameterNaming:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
parameterPattern: '[a-z][A-Za-z0-9]*|_'
MatchingDeclarationName:
active: true
mustBeFirst: true
@@ -446,6 +448,9 @@ potential-bugs:
active: false
MapGetWithNotNullAssertionOperator:
active: true
MissingPackageDeclaration:
active: true
excludes: ['buildSrc/**', '**/*.kts']
MissingWhenCase:
active: false
NullableToStringCall:
@@ -464,6 +469,7 @@ potential-bugs:
active: true
UnsafeCallOnNullableType:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
UnsafeCast:
active: true
UnusedUnaryOperator:
@@ -503,6 +509,7 @@ style:
- 'STOPSHIP:'
- 'TODO:'
allowedPatterns: ''
customMessage: ''
ForbiddenImport:
active: true
imports: []
@@ -527,8 +534,6 @@ style:
ignoreOverridableFunction: true
ignoreActualFunction: true
excludedFunctions: ''
excludeAnnotatedFunction:
- 'dagger.Provides'
LibraryCodeMustSpecifyReturnType:
active: true
excludes: ['**']
@@ -619,6 +624,8 @@ style:
UnusedPrivateMember:
active: true
allowedNames: '(_|ignored|expected|serialVersionUID)'
UseAnyOrNoneInsteadOfFind:
active: true
UseArrayLiteralsInAnnotations:
active: true
UseCheckNotNull: