Skip to content

Commit 803a6ca

Browse files
authored
Add .golangci.yml (#32)
1 parent d668ffd commit 803a6ca

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: "2"
2+
3+
linters:
4+
default: standard
5+
enable:
6+
- bodyclose
7+
- errorlint
8+
- gocritic
9+
- gosec
10+
- misspell
11+
- noctx
12+
- prealloc
13+
14+
issues:
15+
max-same-issues: 0

0 commit comments

Comments
 (0)