Add ktformat task to build.gradle task ktFormat { description "R.I.P danger..." classpath = configrations.ktlint Main = "com.github.shyiko.ktlint.Main" args "-F", "src/**/*.kt" } For p i
Add ktformat task to build.gradle task ktFormat { description "R.I.P danger..." classpath = configrations.ktlint Main = "com.github.shyiko.ktlint.Main" args "-F", "src/**/*.kt" } Yo c ha t et s
What I talk about ● Use ktlint for your team ● Do not review about code fomat ● And I want to remove “Format commit” ● Use ktFormat for reviewer and you ● Format at local debug build time ● Focus your coding