Skip to content

Conversation

@Nivl
Copy link
Contributor

@Nivl Nivl commented Jul 9, 2020

gofumpt has been added to golangci-lint as of v1.28. Golangci-lint also has a nolintlint linter that makes sure the //nolint directives don't start with a space. This is conflicting with gofumpt that forces a space to be added.

This PR adds nolint to rxCommentDirective to make sure no spaces are added.

Copy link
Owner

@mvdan mvdan left a comment

Choose a reason for hiding this comment

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

Sure. Unfortunate that they chose yet another non-standard directive format, though, instead of the standard go:whatever.

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 this pull request may close these issues.

2 participants