Hi there, is there a rule in detekt that generally...
# detekt
s
Hi there, is there a rule in detekt that generally checks that operators instead of function calls are used? I.e.
+=
instead of
.add()
,
in
instead of
.contains()
etc? So far I wasn't able to find one.
b
There is not. There was an issue asking for a rule like this
https://github.com/detekt/detekt/issues/3437 add your point of view there to take a decission if this should be added to the standard rules of detekt or keep it as a custom one
s
Thanks!