aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yaml
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-27 23:32:00 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-27 23:32:00 +0800
commit4cf0fec12f3596cc17d313db3be4d46b91ef9862 (patch)
tree7151374cd880f7b9154e51f1eb02411e09cfc8cc /.golangci.yaml
parentFix out of bounds in commit path handling (diff)
downloadforge-4cf0fec12f3596cc17d313db3be4d46b91ef9862.tar.gz
forge-4cf0fec12f3596cc17d313db3be4d46b91ef9862.tar.zst
forge-4cf0fec12f3596cc17d313db3be4d46b91ef9862.zip
Lint
Diffstat (limited to '.golangci.yaml')
-rw-r--r--.golangci.yaml20
1 files changed, 11 insertions, 9 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
index 97ad786..230efcd 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -14,15 +14,17 @@ linters:
- nakedret # patterns should be consistent
- nonamedreturns # i like named returns
- wrapcheck # wrapping all errors is just not necessary
- - maintidx # e
- - nestif # e
- - gocognit # e
- - gocyclo # e
- - cyclop # e
- - goconst # e
- - funlen # e
- - wsl # e
- - nlreturn # e
+ - maintidx # e
+ - nestif # e
+ - gocognit # e
+ - gocyclo # e
+ - cyclop # e
+ - goconst # e
+ - funlen # e
+ - wsl # e
+ - nlreturn # e
+ - unused # e
+ - exhaustruct # e
issues:
max-issues-per-linter: 0