Skip to content

Conversation

@bombsimon
Copy link
Member

  • Always support trailing comments in case blocks
  • Support to mix trailing newlines in case blocks
  • Support to configure a limit for when to force trailing newlines in case blocks
  • Support to configure and allow trailing comments in blocks
  • Support for increase or decrease statements (++ and --)
  • Better support to find all kind of (anonymous/func) blocks
  • Fix bug where multiline comments wasn't parsed correctly

Added testdata for all changes

Copy link
Contributor

@tpounds tpounds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks @bombsimon! 🎉

@tpounds tpounds merged commit 14ebae2 into golangci:master Nov 11, 2019
@ldez ldez added the linter: update version Update version of linter label Dec 7, 2020
@ldez ldez added this to the v1.22 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linter: update version Update version of linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants