Skip to content

Commit 8843e64

Browse files
authored
Merge pull request #4270 from twz123/cleanup-golanci-config
Cleanup golangci-lint config
2 parents 491ab43 + 43b1652 commit 8843e64

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.golangci.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ run:
44

55
build-tags:
66
- hack
7-
skip-dirs-use-default: false
8-
skip-dirs:
9-
- build
10-
- docs
11-
- embedded-bins
12-
- examples
13-
skip-files:
14-
- "zz_*"
157
tests: true
168
modules-download-mode: readonly
179
allow-parallel-runners: true
@@ -48,8 +40,6 @@ linters-settings:
4840
deny:
4941
- pkg: k8s.io/utils/pointer
5042
desc: Use k8s.io/utils/ptr.
51-
golint:
52-
min-confidence: 0
5343
goheader:
5444
template-path: .go-header.txt
5545
values:
@@ -65,6 +55,14 @@ linters-settings:
6555
issues:
6656
max-issues-per-linter: 0
6757
max-same-issues: 0
58+
exclude-dirs-use-default: false
59+
exclude-dirs:
60+
- build
61+
- docs
62+
- embedded-bins
63+
- examples
64+
exclude-files:
65+
- "zz_*"
6866
exclude-rules:
6967
# https://github.com/denis-tingaikin/go-header/issues/18
7068
# This means that the header checks are ineffective for all files with build tags.

0 commit comments

Comments
 (0)