golangci-lint/test
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
..
bench Fix #282, fix #209: revert goimports commit 2018-11-10 11:46:37 +03:00
testdata Fix linting of preprocessed files 2019-04-20 21:50:26 +03:00
testdata_etc/abspath add tests for abs path args 2018-12-22 14:16:31 +03:00
testshared Implement auto-fixing for gofmt,goimports,misspell 2019-02-17 20:31:31 +03:00
.gitignore Implement auto-fixing for gofmt,goimports,misspell 2019-02-17 20:31:31 +03:00
data.go Fix #282, fix #209: revert goimports commit 2018-11-10 11:46:37 +03:00
enabled_linters_test.go Use the newest go vet 2019-03-17 23:12:44 +03:00
errchk.go build on go 1.12 and fix go 1.11 compatibility 2019-03-05 21:34:53 +03:00
fix_test.go Implement auto-fixing for gofmt,goimports,misspell 2019-02-17 20:31:31 +03:00
linters_test.go go1.11 compatibility fixed 2019-03-05 21:44:52 +03:00
run_test.go Fix linting of preprocessed files 2019-04-20 21:50:26 +03:00