Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting default autocorrect mode with Gradle property #7040

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 12, 2024

  1. Allow setting default autocorrect mode with Gradle property

    This makes it possible to enable autocorrect when running tasks that
    depend on detekt tasks e.g. ./gradlew check
    -Pdetekt.default.autocorrect=true
    
    Without this, the only way to enable autocorrect on CLI is by declaring
    every detekt task on the CLI and passing --auto-correct to every one.
    3flex committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    729f322 View commit details
    Browse the repository at this point in the history