generated from omegion/go-cli-template
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.golangci.yml
44 lines (41 loc) · 800 Bytes
/
.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
run:
timeout: 5m
issues-exit-code: 1
tests: true
modules-download-mode: readonly
linters-settings:
goimports:
local-prefixes: github.com/omegion/argocd-actions
gci:
local-prefixes: github.com/omegion/argocd-actions
govet:
check-shadowing: true
misspell:
locale: US
nolintlint:
allow-leading-space: false
allow-unused: false
require-explanation: true
require-specific: false
funlen:
lines: 80
issues:
exclude-rules:
- path: _test\.go
linters:
- goerr113
- gocyclo
- errcheck
- gosec
- dupl
- funlen
- testpackage
- ifshort
- paralleltest
linters:
disable-all: false
enable-all: true
disable:
- exhaustivestruct
- wrapcheck
- gomoddirectives