summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 19:27:49 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 22:42:08 -0700
commit5e2e69cdd2bd66544191e459b77e0b3e15254196 (patch)
tree8b2f6e3143696c8a4729955737bf3c36d60a6b2c
parent89f4ae35321a6728df53c6e7c29e734efd028d5f (diff)
lint: Turn on gocritic
-rw-r--r--.golangci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index ad53616..953b512 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -31,7 +31,6 @@ linters:
- gochecknoglobals
- gochecknoinits
- gocognit
- - gocritic
- gocyclo
- godot
- godox
@@ -67,6 +66,9 @@ linters-settings:
- standard
- default
- prefix(git.lukeshu.com/btrfs-progs-ng)
+ gocritic:
+ disabled-checks:
+ - appendAssign
gofmt:
simplify: true
nolintlint: