Skip to content

Commit eeb735c

Browse files
author
Baton Admin
committed
chore: update .golangci.yml via baton-admin
1 parent 5f132de commit eeb735c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.golangci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
version: "2"
2+
run:
3+
modules-download-mode: readonly
24
linters:
35
default: none
46
enable:
@@ -99,18 +101,22 @@ linters:
99101
- linters:
100102
- godot
101103
source: (TODO)
104+
- path: (.+)\.go$
105+
text: third_party$
106+
- path: (.+)\.go$
107+
text: builtin$
108+
- path: (.+)\.go$
109+
text: examples$
102110
paths:
103111
- third_party$
104112
- builtin$
105113
- examples$
106114
issues:
107115
max-same-issues: 50
108116
formatters:
109-
enable:
110-
- goimports
111117
exclusions:
112118
generated: lax
113119
paths:
114120
- third_party$
115121
- builtin$
116-
- examples$
122+
- examples$

0 commit comments

Comments
 (0)