Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
Merged
Changes from 1 commit
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: 5 additions & 0 deletions src/goLint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ export function goLint(
// print only file:number:column
args.push('--print-issued-lines=false');
}
if (args.indexOf('--out-format=colored-line-number') === -1) {
// print file:number:column.
// Explicit override in case .golangci.yml calls for a format we don't understand
args.push('--out-format=colored-line-number');
}
}

if (scope === 'workspace' && currentWorkspace) {
Expand Down