Skip to content

Commit b153d48

Browse files
committed
docs: Add documentation for the auto-correct feature of "detekt"
Signed-off-by: Jyrki Keisala <[email protected]>
1 parent 9373f42 commit b153d48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ For both languages, there are PR checks that enforce a consistent code style.
169169
It is advised to run those checks locally before creating a PR.
170170

171171
For Kotlin, you can run `./gradlew detekt detektMain detektTest` to run the static code analysis.
172+
You can also force `detect` to automatically fix some issues (for example, import order) by running `./gradlew detekt --auto-correct`.
173+
172174
For TypeScript, you can run `pnpm format:check` within the `ui/` and `/website` directories.
173175

174176
### Larger changes

0 commit comments

Comments
 (0)