Hello, I want someone can give me example for magi...
# detekt
m
Hello, I want someone can give me example for magic number warning or wildcard import and remove it with @Suppress annotation as intelliJ not support this for kotlin
m
@Suppress is definitely supported for Kotlin! We use it in our Kotlin project
m
Thanks for this information! I know that it's supported but I want to apply it in these two specific example, as they not supported with IntelliJ IDE
l
What's the error detekt is giving you?
Like, the rules your code is violating
For Wildcard I think you can go @file:Suppress("WildcardImport")
For magic number I think it's @Supress("MagicNumber")
m
thanks
170 Views