summaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2021-11-18 01:33:06 +0000
committerGitHub <noreply@github.com>2021-11-18 09:33:06 +0800
commitc98dd7a3e0a08b1e890d6030dd51aae9dd45aaf9 (patch)
treee50b4bf9fc94e26d26d1f9709f4e8275eed60fc1 /.golangci.yml
parentb01f6c1a8c9f358c297e0d1f4ee8696c9e25d5b2 (diff)
downloadgitea-c98dd7a3e0a08b1e890d6030dd51aae9dd45aaf9.tar.gz
gitea-c98dd7a3e0a08b1e890d6030dd51aae9dd45aaf9.zip
Remove unnecessary variable assignments (#17695)
* Remove unnecessary variable assignments As title * enable ineffassign Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 9620dcaa35..9e64d71b59 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -15,6 +15,7 @@ linters:
- misspell
- gocritic
- bidichk
+ - ineffassign
enable-all: false
disable-all: true
fast: false