Automate code formatting upon every git commit
Closed this issue · 1 comments
kirillt commented
We should use this: https://github.com/pinterest/ktlint
- Git Hooks must be used to run
ktlint
upon every commit (https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) - CI (Github Actions) must fail if code isn't formatted.
- We should decide together about coding style and encode it in
ktlint
config.