-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.golangci.yaml
More file actions
39 lines (37 loc) · 793 Bytes
/
.golangci.yaml
File metadata and controls
39 lines (37 loc) · 793 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
version: "2"
run:
timeout: 10m
formatters:
settings:
gci:
sections:
- standard
- default
- prefix(github.com/bank-vaults/vault-secrets-reloader)
goimports:
local-prefixes:
- github.com/bank-vaults/vault-secrets-reloader
gofmt:
simplify: true
gofumpt:
extra-rules: false
linters:
settings:
misspell:
locale: US
nolintlint:
allow-unused: false # report any unused nolint directives
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
revive:
confidence: 0.1
enable:
- bodyclose
- errcheck
- ineffassign
- misspell
- nolintlint
- revive
- unconvert
- unparam
- unused
- whitespace