Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information