https://kotlinlang.org logo
#ktlint
Title
g

GurpreetSK

12/02/2019, 10:53 AM
Hey all. I forked the project and made some changes related to continuation indent sizes. After uploading to jitpack and using the binary, I’m getting
Could not find or load main class com.pinterest.ktlint.Main
error. I updated ktlint dependency also. Do I have to update anything else too? Link to forked project: https://github.com/GurpreetSK95/ktlint/tree/gs/continuation-indent
s

Sha Sha Chu

12/02/2019, 3:48 PM
Not quite what you asked, but you shouldn't need to fork the entire project to adjust one of the rules. Have you tried just making a custom rule?
💯 1
🎉 1
21 Views