Skip to content

Commit

Permalink
docs(development): Add documentation about Detekt's auto-correct feature
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Bochtler <[email protected]>
  • Loading branch information
MarcelBochtler committed Jan 17, 2025
1 parent b230f26 commit 78edc76
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ To run only the subset of rules that do not require type resolution, use:
./gradlew detekt
```

To automatically fix some common style issues like the import order or the spacing around operators, use:

```shell
./gradlew detekt --auto-correct
```

### Markdownlint

[Markdownlint](https://github.com/DavidAnson/markdownlint) is used to check the Markdown files.
Expand Down

0 comments on commit 78edc76

Please sign in to comment.