Skip to content

Commit a72e66b

Browse files
authored
chore: update golangci-lint config to v2 (#77)
1 parent fb33b0a commit a72e66b

File tree

2 files changed

+18
-22
lines changed

2 files changed

+18
-22
lines changed

.golangci.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# https://golangci-lint.run/usage/configuration
2+
version: "2"
3+
4+
linters:
5+
default: standard
6+
enable:
7+
- gocritic
8+
settings:
9+
gocritic:
10+
enable-all: true
11+
exclusions:
12+
presets:
13+
- std-error-handling
14+
15+
formatters:
16+
enable:
17+
- gofumpt
18+
- goimports

.golangci.yml

-22
This file was deleted.

0 commit comments

Comments
 (0)