Modify .golangci.yml for goimports and linter rules
Updated local-prefixes for goimports and removed unused context functions from the linter settings.
cognitive committed
Jan 27, 2026 at 21:14 UTC
f9a47a149969766619c7b6865fc6d1c15235772f
1 file changed
+1
-4
.golangci.yml
+1
-4
@@ -10,7 +10,7 @@ formatters:
10
settings:
11
goimports:
12
local-prefixes:
13
- - gosuda.org
13
+ - github.com/gosuda
14
15
linters:
16
default: standard
@@ -108,8 +108,6 @@ linters:
108
- bytes.Buffer.Write
109
- bytes.Buffer.WriteString
110
- io.Copy
111
- - context.WithTimeout
112
- - context.WithCancel
111
- log.Printf
112
- log.Println
113
- log.Print
@@ -123,7 +121,6 @@ linters:
121
- atomic.StoreInt64
122
- atomic.LoadInt64
123
- rand.Read
126
- - crypto/rand.Read
124
125
gocritic:
126
enabled-tags: