-
Notifications
You must be signed in to change notification settings - Fork 8
/
.golangci.yaml
51 lines (48 loc) · 962 Bytes
/
.golangci.yaml
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
run:
timeout: 10m
# Run linters over integration tests
build-tags:
- integration
linters:
disable-all: true # Disable defaults, then enable the ones we want
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- bodyclose
- stylecheck
- gosec
- goimports
- gci
- revive
- gocritic
- unconvert
- misspell
linters-settings:
goimports:
local-prefixes: github.com/ARM-software
gci:
sections:
- Standard
- Default
- Prefix(github.com/ARM-software)
revive:
rules:
- name: exported
severity: warning
disabled: false
arguments:
- "disableStutteringCheck"
misspell:
locale: UK
extra-words:
- typo: "sanetisation"
correction: "sanitisation"
- typo: "sanetise"
correction: "sanitise"
- typo: "sanetising"
correction: "sanitising"