-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
Not running formatting autocorrect #1766
Comments
Please try adding |
I'm facing the same issue. I tried your suggestion, but
It yields:
|
@bagage add this in
|
Yes it works! Thanks a lot @akhbulatov!! |
@akhbulatov maybe it's worth adding a note on the readme? I think many people would love to have autoCorrect enabled :). |
Thanks @akhbulatov ! |
Hey. I looked at similar issues and tried solutions from there, but it didn't work for Android project. For example, adding a new line at the end of a file. Maybe I missed something. When I run
./gradlew detekt
, the analysis is run and creates a report, but without formatting. For formatting need another task or reason for something else?build.gradle (project-level):
build.gralde (app module):
detekt.gradle (in project's root):
default-detekt-config.yml:
The text was updated successfully, but these errors were encountered: