This repository has been archived by the owner on Dec 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 101
/
.golangci.yml
41 lines (37 loc) · 1.55 KB
/
.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
35
36
37
38
39
40
41
run:
deadline: 5m
skip-dirs:
- imgui
- wrapper
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
- goimports # disabled because of so many false-positives with "imgui-go"
- gofumpt # disabled because no extra need
- wsl # this one has become too pedantic
- ifshort # was not available in v.1.28.3 and will be skipped for now
- exhaustivestruct # was not available in v.1.28.3 and will be skipped for now
- nlreturn # was not available in v.1.28.3 and will be skipped for now
- paralleltest # was not available in v.1.28.3 and will be skipped for now
- varnamelen # was not available in v.1.28.3 and will be skipped for now
- gci # was not available in v.1.28.3 and will be skipped for now
- forcetypeassert # was not available in v.1.28.3 and will be skipped for now
- gomnd # was not available in v.1.28.3 and will be skipped for now
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
- commentFormatting
- deprecatedComment