ScaCap / action-ktlint

Run Ktlint with reviewdog
Apache License 2.0
84 stars 29 forks source link

Error after get report #28

Closed reinaldoriant closed 2 years ago

reinaldoriant commented 2 years ago

I have an issue like that. I read from references, that it must modify some rules. can I change it?

app/src/main/java/id/kompas/app/view/base/BaseAuthActivity.kt:1:1: error: File must end with a newline (\n) (final-newline) app/src/main/java/id/kompas/app/view/base/BaseAuthActivity.kt:3:1: error: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (import-ordering) app/src/main/java/id/kompas/app/view/base/BaseAuthEmailActivity.kt:1:1: error: File must end with a newline (\n) (final-newline) app/src/main/java/id/kompas/app/view/base/BaseAuthEmailPhoneActivity.kt:1:1: error: File must end with a newline (\n) (final-newline) app/src/main/java/id/kompas/app/view/base/BaseAuthEmailPhoneActivity.kt:3:1: error: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (import-ordering) app/src/main/java/id/kompas/app/view/base/BaseAuthIntentActivity.kt:1:1: error: File must end with a newline (\n) (final-newline)