-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
NoLint comment conflict when upgrading to 1.48.0 #3068
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
duplicate of #3063 |
Due to a change of So the option The syntax of directives is: If you do that your IDE (ex: goland) will format the directive as a directive and it will not add extra space. Related to: |
Welcome
Description of the problem
Example code using the
nolint
directive that I've had in our code:Error I get from running
golangci-lint
(v1.48.0):However the issue is
go fmt
andgoland
automatically add the space after the//
first comment to follow go standards.I did not receive this error in and of the versions in
v1.47.x
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository
The text was updated successfully, but these errors were encountered: