-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Respecting @formatter:on|off #670
Labels
Milestone
Comments
Do you mean that the running lint should show errors, but running format should not modify it (though still show errors)? |
Yes, but only within those blocks, outside the blocks it should work as
usual. Or perhaps let a command line flag indicate if the content of the block
should be checked / validated, too.
I could image that there are parts of the program which should look ugly
after auto formatting. And I would like to preserve those parts with those annotations.
|
6 tasks
paul-dingemans
added a commit
that referenced
this issue
Mar 28, 2023
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Would it be possible that ktlint respect the @Formatter:on|off ?
It could check the content within the tags, but it should not format it.
The text was updated successfully, but these errors were encountered: