aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yaml
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-22 13:44:03 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-22 13:44:03 +0800
commit99fd8a9cf96a51fcd9e50445cb035cc9ecd012de (patch)
tree077812874d2650216549048524886059391b5d45 /.golangci.yaml
parentInitial linting (diff)
downloadforge-99fd8a9cf96a51fcd9e50445cb035cc9ecd012de.tar.gz
forge-99fd8a9cf96a51fcd9e50445cb035cc9ecd012de.tar.zst
forge-99fd8a9cf96a51fcd9e50445cb035cc9ecd012de.zip
Variable name lengths
Diffstat (limited to '')
-rw-r--r--.golangci.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
index 71397cc..97ad786 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -13,6 +13,7 @@ linters:
- mnd # it's a bit ridiculous to replace all of them
- nakedret # patterns should be consistent
- nonamedreturns # i like named returns
+ - wrapcheck # wrapping all errors is just not necessary
- maintidx # e
- nestif # e
- gocognit # e
@@ -22,8 +23,6 @@ linters:
- funlen # e
- wsl # e
- nlreturn # e
- - wrapcheck # e
- - varnamelen # e
issues:
max-issues-per-linter: 0