You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe not get attached specifically to detekt, but support some common configuration/interface for all rules, which will currently contain at least one field aliases, as suggested for literals in #1628?
Thus, we can add aliases not only for detekt but for some other tools?
Also, we could add some short names for long suppressions via such configuration
There's a lot of similarity between Diktat and Detekt checks, but the literals they're
@Suppress
'ed with are different, e.g.:MAGIC_NUMBER
MagicNumber
TOO_MANY_PARAMETERS
LongParameterList
TOO_LONG_FUNCTION
LongMethod
LONG_LINE
MaxLineLength
When both syntax checkers are enabled in the same project, this leads to extra verbose lists of
@Suppress
arguments, e.g.:Diktat should be Detekt-compatible and understand Detekt-specific check names.
Environment information
Related
@Suppress
Diktat checks should be configurable viadiktat-analysis.yml
#1628@Suppress()
annotations #1530@petertrr, @nulls, feel free to comment.
The text was updated successfully, but these errors were encountered: