aboutsummaryrefslogtreecommitdiff
path: root/forged/.golangci.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'forged/.golangci.yaml')
-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