Skip to content

Commit c0c96d8

Browse files
renovate[bot]guewa
andauthored
chore(deps): update hack/common digest to 80bfca5 (#40)
* chore(deps): update hack/common digest to 80bfca5 * chore: migrates linter config --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Günther Wannenmacher <[email protected]>
1 parent 45c2b53 commit c0c96d8

File tree

2 files changed

+49
-8
lines changed

2 files changed

+49
-8
lines changed

.golangci.yaml

Lines changed: 48 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,49 @@
1+
version: "2"
12
run:
2-
concurrency: 4
3-
timeout: 10m
4-
5-
issues:
6-
exclude-files:
7-
- "zz_generated.*\\.go$"
8-
- "tmp/.*"
3+
allow-parallel-runners: true
4+
linters:
5+
default: none
6+
enable:
7+
- copyloopvar
8+
- dupl
9+
- errcheck
10+
- ginkgolinter
11+
- goconst
12+
- gocyclo
13+
- govet
14+
- ineffassign
15+
- misspell
16+
- nakedret
17+
- prealloc
18+
- revive
19+
- staticcheck
20+
- unconvert
21+
- unparam
22+
- unused
23+
settings:
24+
revive:
25+
rules:
26+
- name: comment-spacings
27+
exclusions:
28+
generated: lax
29+
presets:
30+
- comments
31+
- common-false-positives
32+
- legacy
33+
- std-error-handling
34+
paths:
35+
- zz_generated.*\.go$
36+
- tmp/.*
37+
- third_party$
38+
- builtin$
39+
- examples$
40+
formatters:
41+
enable:
42+
- gofmt
43+
- goimports
44+
exclusions:
45+
generated: lax
46+
paths:
47+
- third_party$
48+
- builtin$
49+
- examples$

0 commit comments

Comments
 (0)