forked from rhobs/obs-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
47 lines (47 loc) · 758 Bytes
/
.golangci.yml
File metadata and controls
47 lines (47 loc) · 758 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
35
36
37
38
39
40
41
42
43
44
45
46
47
version: "2"
run:
timeout: 10m
linters:
default: standard
enable:
- bodyclose
- copyloopvar
- dogsled
- dupl
- errcheck
- exhaustive
- gocritic
- gocyclo
- goprintffuncname
- govet
- ineffassign
- iotamixing
- misspell
- modernize
- nakedret
- nolintlint
- staticcheck
- unconvert
- unused
- whitespace
- nilerr
settings:
gocritic:
enabled-tags:
- diagnostic
- style
- performance
exclusions:
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
formatters:
enable:
- gofmt
- goimports
settings:
goimports:
local-prefixes:
- github.com/rhobs/obs-mcp