-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.golangci.yml
More file actions
34 lines (30 loc) · 621 Bytes
/
Copy path.golangci.yml
File metadata and controls
34 lines (30 loc) · 621 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# https://golangci-lint.run/usage/configuration/
run:
timeout: 2m
output:
format: tab
issues:
max-issues-per-linter: 0
max-same-issues: 0
linters:
enable:
- dupl
- depguard
- gocritic
- gocyclo
- gofmt
- golint
- misspell
- unconvert
linters-settings:
depguard:
rules:
prevent_unmaintained_packages:
list-mode: lax # allow unless explicitely denied
files:
- $all
- "!$test"
allow:
- $gostd
- "github.com/gookit/color" # no longer maintained
- "github.com/kr/pretty" # no longer maintained