aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-07 13:31:23 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-07 13:31:23 -0500
commitca33a035c779ae14fb6330c8801c75f49dd1bb79 (patch)
treedeaabaf15d6d91079a68f247e46070399e4343ee /.golangci.yml
parent97dd660925434be537cd9a49a1d0c893b223e357 (diff)
downloadgo-website-0.0.22.tar.gz
go-website-0.0.22.tar.xz
Add an internal caching option. It performs quite well.v0.0.22
Also refactor and clean up most linter warnings.
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml17
1 files changed, 6 insertions, 11 deletions
diff --git a/.golangci.yml b/.golangci.yml
index ad60981..1d2d29f 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,27 +1,24 @@
linters:
enable:
- - deadcode
+ - govet
+ - unused
- dupl
- errcheck
- funlen
- # - gochecknoglobals
- ineffassign
- - structcheck
- typecheck
- - varcheck
- asciicheck
- bodyclose
- depguard
- dogsled
- errorlint
- exhaustive
- # - exhaustivestruct
- exportloopref
- gci
- gochecknoinits
- gocognit
- # - goconst
+ - goconst
- gocritic
- gocyclo
- godot
@@ -29,14 +26,12 @@ linters:
- gofmt
# - gofumpt
- goheader
- # - goimports
- - golint
+ - goimports
+ - revive
- gomnd
- gomodguard
- goprintffuncname
- - interfacer
- lll
- - maligned
- misspell
- nakedret
- nestif
@@ -46,7 +41,7 @@ linters:
- paralleltest
- prealloc
- rowserrcheck
- - scopelint
+ - exportloopref
- sqlclosecheck
- stylecheck
- testpackage