-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable a specific rule with new version? #329
Comments
This is covered in ktlint's configuration guide here: https://pinterest.github.io/ktlint/0.49.1/rules/configuration-ktlint/#disabled-rules |
That doesn't show how I add any of those rules to kotlinter. In the gradle config block somehow? |
You put them in the .editorconfig file. |
I tried that, but couldn't get any of them to work with kotlinter |
As shown in their documentation syntax like the following will work
There is a bug where sometimes we cache and don't immediately see an .editorconfig change (#327) so you may wish to |
Thanks! This worked in my
|
I updated kotlinter, but there are no instructions for how to disable specific lints.
The text was updated successfully, but these errors were encountered: