All our builds have a few warnings "parameter `bla...
# announcements
s
All our builds have a few warnings "parameter
blah blah
is never used." Is there a way to silence that specific Kotlin warning for my entire team? We're using gradle to build.
m
@Suppress(”UNUSED”)
, AFAIK
m
I would suggest using parameters instead. Unused parameters react with denial after a commit (the warning you see), after about 10 commits they become angry... In the end (about 1024 commits) they accept they are not used. The study shows they clearly follow Kübler-Ross model (AKA the five stages of grief).
p
I have these false warnings all over the place
s
Lol, I know they are unused. I have 3 of them, and have accepted that I want to keep them.
rather, 2 I want to keep. 1 I'll kill. Perhaps @Suppress("UNUSED") is the best option