chore: fix Detekt build

This commit is contained in:
Harsh Shandilya 2022-11-13 14:04:04 +05:30
parent 0dd2a3be6f
commit ef5242f115
No known key found for this signature in database
8 changed files with 5 additions and 28 deletions

View file

@ -8,7 +8,9 @@ package dev.msfjarvis.claw.injection
object Components {
@PublishedApi @Suppress("ObjectPropertyName") internal val _components = mutableSetOf<Any>()
@PublishedApi
@Suppress("ObjectPropertyName", "ObjectPropertyNaming")
internal val _components = mutableSetOf<Any>()
fun add(component: Any) {
_components.add(component)

View file

@ -6,4 +6,4 @@
*/
package dev.msfjarvis.claw.injection.scopes
abstract class AppScope private constructor()
@Suppress("UnnecessaryAbstractClass") abstract class AppScope private constructor()