Commit 8de40c1
committed
Fix output parser when golangci-lint errors in /dev/stderr
When a GOROOT file like `GOROOT/src/time/time.go` is analyzed, the
linter errors because some linters like “nolint” are unable to create
the AST cache. The errors are sent to /dev/stderr in non-JSON format
which makes it impossible for the SublimeLinter plugin to parse. Because
of this, I have opted to silence these warnings.1 parent 9b8959e commit 8de40c1
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments