aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-08-12 08:03:02 +0800
committerRunxi Yu <me@runxiyu.org>2025-08-12 08:03:02 +0800
commitaf17cf05b2f65741e04a26cd813f61f7d78a0b9d (patch)
tree1256a20de36e9b2ce2fac85014c1cee179838701
parenthttp upload pack: Decode compressed bodies (diff)
downloadforge-af17cf05b2f65741e04a26cd813f61f7d78a0b9d.tar.gz
forge-af17cf05b2f65741e04a26cd813f61f7d78a0b9d.tar.zst
forge-af17cf05b2f65741e04a26cd813f61f7d78a0b9d.zip
Update linter settings
-rw-r--r--forged/.golangci.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/forged/.golangci.yaml b/forged/.golangci.yaml
index 1c8c972..e475c41 100644
--- a/forged/.golangci.yaml
+++ b/forged/.golangci.yaml
@@ -1,7 +1,8 @@
+version: "2"
+
linters:
- enable-all: true
+ default: all
disable:
- - tenv
- depguard
- err113 # dynamically defined errors are fine for our purposes
- forcetypeassert # type assertion failures are usually programming errors
@@ -14,7 +15,6 @@ linters:
- nonamedreturns # i like named returns
- wrapcheck # wrapping all errors is just not necessary
- varnamelen # "from" and "to" are very valid
- - stylecheck
- containedctx
- godot
- dogsled