aboutsummaryrefslogtreecommitdiff
path: root/forged/.golangci.yaml
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-08-17 03:09:52 +0800
committerRunxi Yu <me@runxiyu.org>2025-08-17 03:09:52 +0800
commit009a6e397651a9540b6c6bb74ef2230eeda9b577 (patch)
tree0a808670d95aba5804a73a558cc335a49d230aa6 /forged/.golangci.yaml
parentRemove HTML templates from main server (diff)
downloadforge-009a6e397651a9540b6c6bb74ef2230eeda9b577.tar.gz
forge-009a6e397651a9540b6c6bb74ef2230eeda9b577.tar.zst
forge-009a6e397651a9540b6c6bb74ef2230eeda9b577.zip
Some mass renaming
Diffstat (limited to 'forged/.golangci.yaml')
-rw-r--r--forged/.golangci.yaml76
1 files changed, 38 insertions, 38 deletions
diff --git a/forged/.golangci.yaml b/forged/.golangci.yaml
index e475c41..7bd6ec1 100644
--- a/forged/.golangci.yaml
+++ b/forged/.golangci.yaml
@@ -2,41 +2,41 @@ version: "2"
linters:
default: all
- disable:
- - depguard
- - err113 # dynamically defined errors are fine for our purposes
- - forcetypeassert # type assertion failures are usually programming errors
- - gochecknoinits # we use inits sparingly for good reasons
- - godox # they're just used as markers for where needs improvements
- - ireturn # doesn't work well with how we use generics
- - lll # long lines are acceptable
- - 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
- - varnamelen # "from" and "to" are very valid
- - containedctx
- - godot
- - dogsled
- - maintidx # e
- - nestif # e
- - gocognit # e
- - gocyclo # e
- - dupl # e
- - cyclop # e
- - goconst # e
- - funlen # e
- - wsl # e
- - nlreturn # e
- - unused # e
- - exhaustruct # e
-
-linters-settings:
- revive:
- rules:
- - name: error-strings
- disabled: true
-
-issues:
- max-issues-per-linter: 0
- max-same-issues: 0
+# disable:
+# - depguard
+# - err113 # dynamically defined errors are fine for our purposes
+# - forcetypeassert # type assertion failures are usually programming errors
+# - gochecknoinits # we use inits sparingly for good reasons
+# - godox # they're just used as markers for where needs improvements
+# - ireturn # doesn't work well with how we use generics
+# - lll # long lines are acceptable
+# - 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
+# - varnamelen # "from" and "to" are very valid
+# - containedctx
+# - godot
+# - dogsled
+# - maintidx # e
+# - nestif # e
+# - gocognit # e
+# - gocyclo # e
+# - dupl # e
+# - cyclop # e
+# - goconst # e
+# - funlen # e
+# - wsl # e
+# - nlreturn # e
+# - unused # e
+# - exhaustruct # e
+#
+# linters-settings:
+# revive:
+# rules:
+# - name: error-strings
+# disabled: true
+#
+# issues:
+# max-issues-per-linter: 0
+# max-same-issues: 0