Skip to content

Commit 2b6aa4f

Browse files
committed
Update golangci format.outputs to stdout
The previous format.outputs give the following error in CI: ``` * 'output.formats' expected a map, got 'slice' The command is terminated due to an error: can't load config: can't unmarshal config by viper (flags, file): 1 error(s) decoding: * 'output.formats' expected a map, got 'slice' ``` Change it to only output text to stdout with color turned on. Signed-off-by: Fredrik Lönnegren <[email protected]>
1 parent 20c1d50 commit 2b6aa4f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.golangci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ run:
33
tests: false
44
output:
55
formats:
6-
- format: github-actions
7-
- format: colored-line-number
6+
text:
7+
path: stdout
8+
colors: true
89
linters:
910
disable-all: true
1011
enable:

0 commit comments

Comments
 (0)