Skip to content

Commit 8b23ba5

Browse files
sandersmsartek-koltun
authored andcommitted
ci: fix errors in golangci file for new version
Signed-off-by: Mark Sanders <marksanders194@gmail.com>
1 parent b505534 commit 8b23ba5

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.golangci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
# This file contains all available configuration options
22
# with their default values.
33

4+
# the configuraton version - should be 2
45
version: "2"
56

67
# options for analysis running
7-
run:
8+
# run:
89

910
# output configuration options
1011
output:
1112
formats:
12-
print-issued-lines: true
13-
colors: true
13+
text:
14+
print-issued-lines: true
15+
colors: true
1416

17+
# the set of linters to use
1518
linters:
1619
settings:
1720
dupl:
@@ -60,11 +63,13 @@ linters:
6063
- gocritic
6164
- gocognit
6265

66+
# the specific formatters to check
6367
formatters:
6468
enable:
6569
- gofmt
6670
- goimports
6771

72+
# the issues configuration
6873
issues:
6974
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
7075
max-issues-per-linter: 0

0 commit comments

Comments
 (0)