-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
nolint comments are not working #468
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
Labels
area: cgo
Related to CGO or line directives
area: nolint
Related to nolint directive and nolintlint
bug
Something isn't working
Comments
jirfag
added a commit
that referenced
this issue
Apr 20, 2019
Preprocessed files like .qtpl.go quicktemplate Go files can have //line directives. They map to a source .qtpl file. This commit fixes linting of such files: 1. don't fail on AST cache loading 2. output Go filename not .qtpl or similar Also, here we update golint to the upstream version. Relates: #316, #466, #467, #468
jirfag
added a commit
that referenced
this issue
Apr 20, 2019
Preprocessed files like .qtpl.go quicktemplate Go files can have //line directives. They map to a source .qtpl file. This commit fixes linting of such files: 1. don't fail on AST cache loading 2. output Go filename not .qtpl or similar Also, here we update golint to the upstream version. Relates: #316, #466, #467, #468
jirfag
added a commit
that referenced
this issue
Apr 20, 2019
Preprocessed files like .qtpl.go quicktemplate Go files can have //line directives. They map to a source .qtpl file. This commit fixes linting of such files: 1. don't fail on AST cache loading 2. output Go filename not .qtpl or similar Also, here we update golint to the upstream version. Relates: #316, #466, #467, #468
Now everything seems to work as expected. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: cgo
Related to CGO or line directives
area: nolint
Related to nolint directive and nolintlint
bug
Something isn't working
//nolint comments are not working, I am getting:
The text was updated successfully, but these errors were encountered: