forked from prometheus-community/fortigate_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
36 lines (36 loc) · 672 Bytes
/
Copy path.golangci.yml
File metadata and controls
36 lines (36 loc) · 672 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
version: "2"
linters:
enable:
- misspell
- modernize
- revive
- sloglint
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- linters:
- errcheck
path: _test.go
formatters:
enable:
- gci
- gofumpt
- goimports
exclusions:
generated: lax
settings:
gci:
sections:
- standard
- default
- prefix(github.com/prometheus-community/fortigate_exporter)
gofumpt:
extra-rules: true
goimports:
local-prefixes:
- github.com/prometheus-community/fortigate_exporter