https://kotlinlang.org logo
#detekt
Title
# detekt
l

LeoColman

03/19/2023, 5:28 PM
On the autocorrect subject: Other than "dum dum, pay attention", do you have any solutions for forgetting to run Detekt before commiting, having only autocorrectable errors and allow it autofix itself in GitHub?
e

Emil Kantis

03/19/2023, 5:31 PM
You could run it as a precommit hook
p

PoisonedYouth

03/19/2023, 6:18 PM
Yes pre-commit hook works fine, just sometimes get problems with large amount of changed files... this leads to an error during execution
6 Views