Skip to content

Commit 0ca4d94

Browse files
committed
Update
1 parent 34305a2 commit 0ca4d94

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

.golangci.yaml

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
1-
run:
2-
timeout: 10m
1+
version: "2"
2+
linters:
3+
enable:
4+
- govet
5+
- unused
6+
- ineffassign
7+
- unconvert
8+
- unparam
9+
exclusions:
10+
generated: lax
11+
presets:
12+
- comments
13+
- common-false-positives
14+
- legacy
15+
- std-error-handling
16+
paths:
17+
- vendor/
18+
- third_party$
19+
- builtin$
20+
- examples$
21+
formatters:
22+
enable:
23+
- goimports
24+
settings:
25+
goimports:
26+
local-prefixes:
27+
- github.com/redhat-developer/gitops-backend
28+
exclusions:
29+
generated: lax
30+
paths:
31+
- vendor/
32+
- third_party$
33+
- builtin$
34+
- examples$

0 commit comments

Comments
 (0)