Skip to content

Commit 58464b8

Browse files
authored
update golangci config for version 2 (#322)
* golangci.yaml updated for version 2 * lax linters * fix glob * disable checks
1 parent f8112c4 commit 58464b8

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.golangci.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
# Options for analysis running.
2-
run:
3-
timeout: 5m
1+
version: "2"
2+
linters:
3+
disable:
4+
- errcheck # Disable error checking for defer statements
5+
- staticcheck # Disable style checks
6+
exclusions:
7+
generated: lax
8+
paths:
9+
- ".*_test\\.go$" # Ignore test files

0 commit comments

Comments
 (0)