Denis Isaev ed0b551070 Fix linting of preprocessed files
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
2019-04-20 21:50:26 +03:00

421 B

Contributing to Golint

Before filing an issue:

Are you having trouble building golint?

Check you have the latest version of its dependencies. Run

go get -u github.com/golangci/lint-1/golint

If you still have problems, consider searching for existing issues before filing a new issue.

Before sending a pull request:

Have you understood the purpose of golint? Make sure to carefully read README.