Skip to content

Commit c74446f

Browse files
committed
.golangci.yml: migrate configuration, disable ST1005.
Migrate configuration and disable checking for capitalized error strings. Signed-off-by: Krisztian Litkey <[email protected]>
1 parent 5cbaab2 commit c74446f

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.golangci.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
1-
# For documentation, see https://golangci-lint.run/usage/configuration/
2-
1+
version: "2"
32
linters:
43
disable:
54
- errcheck
5+
exclusions:
6+
generated: lax
7+
presets:
8+
- comments
9+
- common-false-positives
10+
- legacy
11+
- std-error-handling
12+
paths:
13+
- third_party$
14+
- builtin$
15+
- examples$
16+
settings:
17+
staticcheck:
18+
checks:
19+
- all
20+
- -ST1005
21+
formatters:
22+
exclusions:
23+
generated: lax
24+
paths:
25+
- third_party$
26+
- builtin$
27+
- examples$

0 commit comments

Comments
 (0)