Hi everyone, I’m experimenting an issue with the k...
# ktlint
m
Hi everyone, I’m experimenting an issue with the klint tool and maybe someone could help me. Some rules erase entire contents of some files of my project and I don’t undestand why. ex :
Copy code
no-blank-line-before-rbrace
no-consecutive-blank-lines
no-trailing-spaces
no-multi-spaces
comment-spacing
...
I’ve configurated the tool with both gradle plugins (https://github.com/jeremymailen/kotlinter-gradle & https://github.com/JLLeitschuh/ktlint-gradle) and the result is the same. Environment : klint : 0.36.0 kotlin version : 1.3.61 gradle : 3.6.1 OS : MacOS 10.15.4 Android Studio : 3.6.1 Thank you in advance for your help.
t
would be really nice to create some sample project that reproduces the problem and open a new issue at ktlint: https://github.com/pinterest/ktlint/issues/new?template=bug_report.md
without code it is hard to say what is not working