https://kotlinlang.org logo
#ktlint
Title
# ktlint
e

Eric

09/27/2023, 1:44 PM
Is there a way to disable the function name rule for overridden functions? For example
override fun _deserialize(...)
I know I can tag it with
@Suppress("FunctionName")
but it feels like I shouldn't have to since there's nothing I can do about the function name.
p

Paul Dingemans

09/27/2023, 1:53 PM
You can disable the rule. This will be fixed in version 1.0.1 which is coming soon. Or use the snapshot version. Please see docs.
👍 1
e

Eric

09/27/2023, 1:54 PM
Ahhh... sorry google took me to v0.50.0 docs