You've already forked Go-Template
lint (#2)
All checks were successful
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 1m5s
All checks were successful
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 1m5s
Reviewed-on: Siteworxpro/Go-Template#2 Co-authored-by: Ron Rise <ron@siteworxpro.com> Co-committed-by: Ron Rise <ron@siteworxpro.com>
This commit was merged in pull request #2.
This commit is contained in:
27
.golangci.yml
Normal file
27
.golangci.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
version: "2"
|
||||
linters:
|
||||
default: standard
|
||||
enable:
|
||||
- whitespace
|
||||
- tagalign
|
||||
- reassign
|
||||
- bodyclose
|
||||
- contextcheck
|
||||
- containedctx
|
||||
- godot
|
||||
- usestdlibvars
|
||||
- funlen
|
||||
- gochecknoglobals
|
||||
- tagalign
|
||||
- sqlclosecheck
|
||||
- rowserrcheck
|
||||
- recvcheck
|
||||
- reassign
|
||||
- predeclared
|
||||
- maintidx
|
||||
- mnd
|
||||
|
||||
formatters:
|
||||
settings:
|
||||
gofmt:
|
||||
simplify: true
|
||||
Reference in New Issue
Block a user