I thought this would be useful to keep the codebase clean and adhering to the kotlin style guide.
I know this touches A LOT of files that is because I ran the ktlintFormat task which auto formatted the code base based on the kotlin style guide. The important files to look at are build.gradle, pre-commit, and README.md. Everything else should just be formatting changes.
If you don't like the idea feel free to reject the pull request I just thought something like this would help.
Hey sorry for the delay, this is awesome, thank you! I've been meaning to get ktlint into chronicle for a while now, and the pre-commit hook is a great touch on top of that.
I thought this would be useful to keep the codebase clean and adhering to the kotlin style guide.
I know this touches A LOT of files that is because I ran the ktlintFormat task which auto formatted the code base based on the kotlin style guide. The important files to look at are build.gradle, pre-commit, and README.md. Everything else should just be formatting changes.
If you don't like the idea feel free to reject the pull request I just thought something like this would help.
Links for more information: https://medium.com/nerd-for-tech/setup-ktlint-with-your-android-app-and-using-github-hooks-2cfc42a2cf2 https://github.com/jlleitschuh/ktlint-gradle https://developer.android.com/kotlin/style-guide