Skip to content

Commit ca23d99

Browse files
committed
fix(build): structure of golangci lint config
Signed-off-by: Artur Troian <[email protected]>
1 parent b4047f0 commit ca23d99

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.golangci.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@ linters:
1717
- staticcheck
1818
- unparam
1919
- unused
20-
settings:
21-
gocritic:
22-
disabled-checks:
23-
- ifElseChain
24-
- singleCaseSwitch
25-
exclusions:
26-
generated: lax
27-
presets:
28-
- comments
29-
- common-false-positives
30-
- legacy
31-
- std-error-handling
32-
rules:
33-
- path: (.+)\.go$
34-
text: comment on exported (method|function|type|const|var)
35-
paths:
36-
- third_party$
37-
- builtin$
38-
- examples$
20+
settings:
21+
gocritic:
22+
disabled-checks:
23+
- ifElseChain
24+
- singleCaseSwitch
25+
exclusions:
26+
generated: lax
27+
presets:
28+
- comments
29+
- common-false-positives
30+
- legacy
31+
- std-error-handling
32+
rules:
33+
- path: (.+)\.go$
34+
text: comment on exported (method|function|type|const|var)
35+
paths:
36+
- third_party$
37+
- builtin$
38+
- examples$
3939
formatters:
4040
enable:
4141
- gofmt

0 commit comments

Comments
 (0)