detekt.FunctionOnlyReturningConstant
Design
Warning
Function is returning a constant. Prefer declaring a constant instead.
Codiga provides multiple sets of rules for 12+ languages. Below we provide a link and a description for all the rules supported by our platform. Note that not all the rules are being listed and described below.
Function is returning a constant. Prefer declaring a constant instead.
Function is too long
Too many parameters
Line is too long
Too many functions in object