Is there anything in ktlint which checks if a deve...
# ktlint
a
Is there anything in ktlint which checks if a developer has mention the variable names in comments?
i.e. create_foo(/* fooParam= */ 1, ...)
Where ktlint should only throw an error for constants.
b
I dont’ think so, ktlint only have format related rules.
What you are looking for is, probably, a detekt custom rule. I mean, detekt doesn’t have this rule either but you could write it yourself.
a
Sound Good, I will check detekt.
Does ktlint have options to create custom rules?
b