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

IndentationRule should be applied for Annotations #374

Closed
krisgerhard opened this issue Apr 10, 2019 · 2 comments · Fixed by #388
Closed

IndentationRule should be applied for Annotations #374

krisgerhard opened this issue Apr 10, 2019 · 2 comments · Fixed by #388

Comments

@krisgerhard
Copy link

Annotations and it's parameters' indentation seems to be ignored.

Code that produces no errors:

class TestClass(
  @Id
              @NotNull
         @Column(
                        nullable = false
  )
  val id: String
)

Expected result:
Unexpected indentation

ktlint version
0.31.0

@krisgerhard
Copy link
Author

krisgerhard commented Apr 11, 2019

Moved into separate issue

@shashachu
Copy link
Contributor

@krisgerhard would you mind filing separate issues for each of these? i have a fix for the annotation one coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants