Skip to content
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

Fixing issue #1765 with array syntax annotations #1766

Merged
merged 4 commits into from
Jan 16, 2023

Conversation

shashachu
Copy link
Contributor

@shashachu shashachu commented Jan 4, 2023

It seemed simplest to always force @[...] annotations onto separate lines.

Closes #1765

Description

Added separate check for ANNOTATION elements.

Checklist

  • PR description added
  • tests are added
  • KtLint has been applied on source code itself and violations are fixed
  • documentation is updated
  • CHANGELOG.md is updated

@shashachu
Copy link
Contributor Author

I couldn't find explicit documentation about how to handle this case, but IJ formats it this way.

@shashachu shashachu force-pushed the annotation-rule2 branch 2 times, most recently from d95bebd to aeb6978 Compare January 4, 2023 23:49
It seemed simplest to always force `@[...]` annotations onto separate lines.
@shashachu shashachu changed the title Fixing issue #1765 Fixing issue #1765 with array syntax annotations Jan 9, 2023
@paul-dingemans paul-dingemans added this to the 0.48.2 milestone Jan 15, 2023
@paul-dingemans paul-dingemans merged commit 6d29e81 into pinterest:master Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants