You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @paul-dingemans I have added my draft PR for early review. Given this is my first PR something might be wrong 😅
Also let me know if it needs to handle all the block codes, like blocks of class, object, when, and if. I am not sure if some existing rules already handle those
Hi, @paul-dingemans I have added my draft PR for early review. Given this is my first PR something might be wrong 😅
Also let me know if it needs to handle all the block codes, like blocks of class, object, when, and if. I am not sure if some existing rules already handle those
Handle this generically for all blocks. I would expect that if you just implement this for element type BLOCK that it covers all of that. But please do add sufficient unit tests to validate.
Hi, @paul-dingemans for adding documentation and updating CHANGELOG.md is there any documentation?
There are no docs about how to document.
The CHANELOG.DOC contains a section Unreleased at the top where you have to add the rule under sub section Added. See older release notes for examples.
In sub directory docs you will find the documentation which is published on https://pinterest.github.io/ktlint/. As a new rul should be marked as Rule.Experimental it should also be documented in file experimental.md. Please, follow the same approach as for other rule.
Given code sample below:
then it should be formatted as:
This issue should be covered by same (new) rule as for #1078
The text was updated successfully, but these errors were encountered: