diff options
author | Runxi Yu <me@runxiyu.org> | 2025-08-12 08:03:02 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-08-12 08:03:02 +0800 |
commit | af17cf05b2f65741e04a26cd813f61f7d78a0b9d (patch) | |
tree | 1256a20de36e9b2ce2fac85014c1cee179838701 /forged/.golangci.yaml | |
parent | http upload pack: Decode compressed bodies (diff) | |
download | forge-af17cf05b2f65741e04a26cd813f61f7d78a0b9d.tar.gz forge-af17cf05b2f65741e04a26cd813f61f7d78a0b9d.tar.zst forge-af17cf05b2f65741e04a26cd813f61f7d78a0b9d.zip |
Update linter settings
Diffstat (limited to 'forged/.golangci.yaml')
-rw-r--r-- | forged/.golangci.yaml | 6 |
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 |