Skip to content

Commit e342afa

Browse files
committed
fix(ci): syntax error
Signed-off-by: SkalaNetworks <contact@skala.network>
1 parent f9403f7 commit e342afa

1 file changed

Lines changed: 28 additions & 34 deletions

File tree

.golangci.yml

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
version: "2"
21
run:
32
allow-parallel-runners: true
3+
44
linters:
55
enable:
66
- copyloopvar
@@ -20,37 +20,31 @@ linters:
2020
- unconvert
2121
- unparam
2222
- unused
23-
settings:
24-
revive:
25-
rules:
26-
- name: comment-spacings
27-
- name: import-shadowing
28-
- name: dot-imports
29-
disabled: true
30-
exclusions:
23+
24+
linters-settings:
25+
revive:
3126
rules:
32-
- linters:
33-
- lll
34-
path: api/*
35-
- linters:
36-
- lll
37-
path: internal/*
38-
- linters:
39-
- dupl
40-
- goconst
41-
- revive
42-
path: _test\.go
43-
paths:
44-
- third_party$
45-
- builtin$
46-
- examples$
47-
formatters:
48-
enable:
49-
- gofmt
50-
- goimports
51-
exclusions:
52-
generated: lax
53-
paths:
54-
- third_party$
55-
- builtin$
56-
- examples$
27+
- name: comment-spacings
28+
- name: import-shadowing
29+
- name: dot-imports
30+
disabled: true
31+
lll:
32+
line-length: 120
33+
34+
issues:
35+
exclude-rules:
36+
- path: api/*
37+
linters:
38+
- lll
39+
- path: internal/*
40+
linters:
41+
- lll
42+
- path: _test\.go
43+
linters:
44+
- dupl
45+
- goconst
46+
- revive
47+
exclude-dirs:
48+
- third_party
49+
- builtin
50+
- examples

0 commit comments

Comments
 (0)