-
-
Notifications
You must be signed in to change notification settings - Fork 766
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
Wrap three new experimental KtLint rules #2762
Conversation
|
||
### SpacingBetweenDeclarationsWithComments | ||
|
||
See <a href="https://ktlint.github.io/#rule-spacing">ktlint-website</a> for documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that KtLint does not update their website with new examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where to they document the behavior then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kdoc and changelog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we should maybe link the source code or at least the package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, just checked only the ImportOrdering
had this extensive documentation (which I already linked in the PR).
The other three rules not. Just a link to youtrack which is basically the same amount of information as the issue description we report :).
It won't help much to include the a link to youtrack or the ktlint rule...
|
||
### SpacingBetweenDeclarationsWithComments | ||
|
||
See <a href="https://ktlint.github.io/#rule-spacing">ktlint-website</a> for documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where to they document the behavior then?
No description provided.