Commit 6cfe0c7
committed
Override SublimeLinter.finalize_cmd method to reset command
SublimeLinter automatically appends the filename to the end of the
command, but unfortunately, golangci-lint doesn’t supports linting
individual files, or at least not very well. When the linter is executed
using a single file, packages are not scanned, which translates into
useless warnings about missing functions and global variables.1 parent e2d1813 commit 6cfe0c7
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
0 commit comments