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

False spacing-between-declarations-with-annotations #970

Closed
cy6erGn0m opened this issue Nov 18, 2020 · 0 comments · Fixed by #971
Closed

False spacing-between-declarations-with-annotations #970

cy6erGn0m opened this issue Nov 18, 2020 · 0 comments · Fixed by #971
Labels

Comments

@cy6erGn0m
Copy link

Expected Behavior

spacing-between-declarations-with-annotations shouldn't trigger if there is a line delimiter between declaration and annotation

Observed Behavior

spacing-between-declarations-with-annotations triggers twice

Steps to Reproduce

private class A
@Deprecated("")
constructor(a: Int)

Your Environment

  • Version of ktlint used: 0.39.0
  • Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task): Gradle, kotlinter-gradle 3.2.0
  • Version of Gradle used (if applicable): 6.6.1
  • Operating System and version: Macos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants