forked from inkyblackness/imgui-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
34 lines (29 loc) · 943 Bytes
/
.golangci.yml
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
service:
golangci-lint-version: 1.21.x
run:
deadline: 5m
linters:
enable-all: true
# linters are disabled if their majority of issues is considered false-positive (intended code)
# and the remaining issues (if existing) aren't worth it.
disable:
- gochecknoglobals
- gochecknoinits
- goimports # disabled because of so many false-positives with "imgui-go"
- gosec
- maligned
- dupl
- wsl # this one has become too pedantic
issues:
exclude-use-default: false # disable filtering of defaults for better zero-issue policy
exclude:
# There is a lot of pointer-mangling happening here, so disable this govet warning
- possible misuse of unsafe.Pointer
max-per-linter: 0 # disable limit; report all issues of a linter
max-same-issues: 0 # disable limit; report all issues of the same issue
linters-settings:
lll:
line-length: 160
gocritic:
disabled-checks:
- dupSubExpr