Ignore more rules

This commit is contained in:
Benoit Marty 2022-05-12 17:54:30 +02:00
parent f02bad5c79
commit c303b9afd3
2 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,10 @@ style:
active: false active: false
LoopWithTooManyJumpStatements: LoopWithTooManyJumpStatements:
active: false active: false
SerialVersionUIDInSerializableClass:
active: false
ProtectedMemberInFinalClass:
active: false
empty-blocks: empty-blocks:
EmptyFunctionBlock: EmptyFunctionBlock:
@ -69,3 +73,7 @@ naming:
TopLevelPropertyNaming: TopLevelPropertyNaming:
# TODO Enable it # TODO Enable it
active: false active: false
performance:
SpreadOperator:
active: false

View File

@ -61,6 +61,7 @@ class VectorUncaughtExceptionHandler @Inject constructor(
* @param throwable the throwable * @param throwable the throwable
* @return the exception description * @return the exception description
*/ */
@Suppress("PrintStackTrace")
override fun uncaughtException(thread: Thread, throwable: Throwable) { override fun uncaughtException(thread: Thread, throwable: Throwable) {
Timber.v("Uncaught exception: $throwable") Timber.v("Uncaught exception: $throwable")
preferences.edit(commit = true) { preferences.edit(commit = true) {