Thread
#detekt
    a

    Anthony f

    3 years ago
    @gammax yes
    So do you mean that every formating rules own an autocorrect mecanism ?
    gammax

    gammax

    3 years ago
    Every formatting rule is basically a wrap over a ktLint rule. This means that you can specify
    autoCorrect
    for then and ktLint will try to autocorrect those issue. Please note that NOT ALL the rules in the
    formatting
    group supports autoCorrect (that’s a limitation of ktLint). IIRC for example
    NoWildcardImports
    doesn’t support autoCorrect as ktLint is not able to fix this issue.