π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Build on Detekt defaults
Manav Rathi541ad792cc23
diff --git a/android/build.gradle.kts b/android/build.gradle.ktsindex e3c030a399..750b92eae4 100644--- a/android/build.gradle.kts+++ b/android/build.gradle.kts@@ -21,7 +21,10 @@ allprojects {apply(plugin = "dev.detekt")extensions.configure<KtfmtExtension> { kotlinLangStyle() }- extensions.configure<DetektExtension> { config.setFrom(rootProject.file("detekt.yml")) }+ extensions.configure<DetektExtension> {+ buildUponDefaultConfig.set(true)+ config.setFrom(rootProject.file("detekt.yml"))+ }listOf("com.android.application", "com.android.library").forEach { id ->pluginManager.withPlugin(id) {diff --git a/android/detekt.yml b/android/detekt.ymlindex 90ee64c9e0..546b828a65 100644--- a/android/detekt.yml+++ b/android/detekt.yml@@ -1,57 +1,47 @@config:- validation: truewarningsAsErrors: true+complexity:+ active: false+coroutines:- active: trueGlobalCoroutineUsage:active: true- RedundantSuspendModifier:- active: true- SleepInsteadOfDelay:- active: trueSuspendFunSwallowedCancellation:active: true-empty-blocks:- active: true- EmptyCatchBlock:- active: true--exceptions:- active: true- RethrowCaughtException:- active: true- ReturnFromFinally:- active: true- ThrowingExceptionFromFinally:- active: true+naming:+ FunctionNaming:+ ignoreAnnotated: ['Composable']+ TopLevelPropertyNaming:+ constantPattern: '[A-Z][A-Za-z0-9_]*'potential-bugs:- active: trueCastToNullableType:active: trueCharArrayToStringCall:active: trueElseCaseInsteadOfExhaustiveWhen:active: true- EqualsWithHashCodeExist:- active: true- IgnoredReturnValue:- active: true- ImplicitDefaultLocale:- active: true- InvalidRange:- active: trueUnnecessaryNotNullCheck:active: true- UnnecessaryNotNullOperator:- active: true- UnnecessarySafeCall:- active: true- UnreachableCatchBlock:- active: true- UnreachableCode:- active: trueUnsafeCallOnNullableType:- active: true+ excludes: []++style:+ DestructuringDeclarationWithTooManyEntries:+ active: false+ ForbiddenComment:+ active: false+ LoopWithTooManyJumpStatements:+ active: false+ MagicNumber:+ active: false+ MaxLineLength:+ active: false+ ReturnCount:+ active: false+ ThrowsCount:+ active: false+ UnusedPrivateFunction:+ ignoreAnnotated: ['Preview']