Skip to content

Commit 806ef65

Browse files
author
Baton Admin
committed
chore: update .golangci.yml via baton-admin
1 parent 24f8b98 commit 806ef65

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.golangci.yml

Lines changed: 8 additions & 4 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:
@@ -68,8 +70,6 @@ linters:
6870
- name: line-length-limit
6971
arguments:
7072
- 200
71-
exclude:
72-
- pkg/bcb/generate.go
7373
- name: unhandled-error
7474
arguments:
7575
- fmt.Printf
@@ -101,15 +101,19 @@ linters:
101101
- linters:
102102
- godot
103103
source: (TODO)
104+
- path: (.+)\.go$
105+
text: third_party$
106+
- path: (.+)\.go$
107+
text: builtin$
108+
- path: (.+)\.go$
109+
text: examples$
104110
paths:
105111
- third_party$
106112
- builtin$
107113
- examples$
108114
issues:
109115
max-same-issues: 50
110116
formatters:
111-
enable:
112-
- goimports
113117
exclusions:
114118
generated: lax
115119
paths:

0 commit comments

Comments
 (0)