From af17cf05b2f65741e04a26cd813f61f7d78a0b9d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 12 Aug 2025 08:03:02 +0800 Subject: Update linter settings --- forged/.golangci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'forged/.golangci.yaml') 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 -- cgit v1.2.3