-
Notifications
You must be signed in to change notification settings - Fork 33
/
.golangci.yml
78 lines (72 loc) · 1.3 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
run:
tests: false
issues-exit-code: 0
allow-parallel-runners: true
concurrency: 0
timeout: 10m
output:
sort-results: true
linters:
enable:
- gocritic
- dupl
- dupword
- errname
- errorlint
- exhaustive
- exhaustruct
- exportloopref
- forcetypeassert
- gocognit
- goconst
- godot
- godox
- mnd
- goprintffuncname
- gosec
- ireturn
- maintidx
- makezero
- misspell
- nestif
- prealloc
- revive
- stylecheck
- tenv
- unconvert
- usestdlibvars
- varnamelen
- wastedassign
- wrapcheck
linters-settings:
tagliatelle:
case:
rules:
json: snake
yaml: snake
issues:
exclude-dirs:
- internal/env
- internal/fs
- internal/loc
- internal/lsp/fakenet
- internal/lsp/helper
- internal/lsp/jsonrpc2
- internal/lsp/protocol
- internal/lsp/span
- internal/lsp/telemetry
- internal/lsp/xcontext
- internal/memoize
- internal/session/flock
- ttcn3/v2/syntax/internal/gen
- ttcn3/syntax/internal/gen
- ttcn3/printer
exclude-files:
- ".*_gen.go$"
exclude-use-default: true
exclude-case-sensitive: true
exclude-dirs-use-default: true
max-issues-per-linter: 50
max-same-issues: 3
new: false
fix: false