aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorLunny Xiao2021-06-09 07:33:54 +0800
committerGitHub2021-06-09 01:33:54 +0200
commit1bfb0a24d843e10d6d95c4319a84980485e584ed (patch)
treee4a736f9abee3eaad1270bf3b60ee3bb9401a9dc /.golangci.yml
parente03a91a48ef7fb716cc7c8bfb411ca8f332dcfe5 (diff)
Refactor routers directory (#15800)
* refactor routers directory * move func used for web and api to common * make corsHandler a function to prohibit side efects * rm unused func Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 0d7f90e26..c3dd47ec2 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -70,9 +70,6 @@ issues:
- path: modules/log/
linters:
- errcheck
- - path: routers/routes/web.go
- linters:
- - dupl
- path: routers/api/v1/repo/issue_subscription.go
linters:
- dupl
@@ -114,3 +111,4 @@ issues:
linters:
- staticcheck
text: "svc.IsAnInteractiveSession is deprecated: Use IsWindowsService instead."
+