https://kotlinlang.org logo
#detekt
Title
# detekt
s

spand

11/16/2020, 10:35 AM
Can I use detekt to ban usages of certain classes/methods in external modules ? ie. a method from the stdlib ? (And if not does such a tool exists?)
g

gammax

11/16/2020, 10:36 AM
You can use the ForbiddenMethod rule
s

spand

11/16/2020, 10:40 AM
Sweet. Thanks !
🙏 1
4 Views