ARK-Builders / ARK-Navigator

Android app for navigation through your data
MIT License
15 stars 15 forks source link

Automate code formatting upon every git commit #154

Closed kirillt closed 2 years ago

kirillt commented 2 years ago

We should use this: https://github.com/pinterest/ktlint

  1. Git Hooks must be used to run ktlint upon every commit (https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks)
  2. CI (Github Actions) must fail if code isn't formatted.
  3. We should decide together about coding style and encode it in ktlint config.
kirillt commented 2 years ago

Finalized in 9ed454267685d30423f6bb6bb240688a4a6a073d