Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


class GolangCILint(Linter):
cmd = 'golangci-lint run --fast --out-format tab ${file_path}'
cmd = 'golangci-lint run ${args} --out-format tab ${file_path}'
tempfile_suffix = '-'
# Column reporting is optional and not provided by all linters.
# Issues reported by the 'typecheck' linter are treated as errors,
Expand All @@ -12,5 +12,6 @@ class GolangCILint(Linter):
r'(?P<code>(?P<error>typecheck)|\w+)\s+(?P<message>.+)$'
default_type = WARNING
defaults = {
'selector': 'source.go'
'selector': 'source.go',
'args': '--fast'
}