diff --git a/linter.py b/linter.py index 0922c94..0682fd9 100644 --- a/linter.py +++ b/linter.py @@ -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, @@ -12,5 +12,6 @@ class GolangCILint(Linter): r'(?P(?Ptypecheck)|\w+)\s+(?P.+)$' default_type = WARNING defaults = { - 'selector': 'source.go' + 'selector': 'source.go', + 'args': '--fast' }