You've already forked Go-Template
add linting configuration and update logging context key type
Some checks failed
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Has been cancelled
Some checks failed
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Has been cancelled
This commit is contained in:
17
.golangci.yml
Normal file
17
.golangci.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: "2"
|
||||
linters:
|
||||
default: standard
|
||||
enable:
|
||||
- whitespace
|
||||
- tagalign
|
||||
- reassign
|
||||
- bodyclose
|
||||
- contextcheck
|
||||
- containedctx
|
||||
- godot
|
||||
- usestdlibvars
|
||||
|
||||
formatters:
|
||||
settings:
|
||||
gofmt:
|
||||
simplify: true
|
||||
Reference in New Issue
Block a user