aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yaml
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2025-04-08 21:41:59 -0700
committerMax Resnick <max@ofmax.li>2025-05-26 21:57:12 -0700
commit78098f23e9a910f3b37fbd3f7c1939ad10ec40ad (patch)
tree6432695fcc218089a90e1c32f4e1601a14124de4 /.golangci.yaml
parent7f3b59980e3b9d8d878aa57f4b01b9d4cc1eab0c (diff)
downloadgo-git-server-78098f23e9a910f3b37fbd3f7c1939ad10ec40ad.tar.gz
feat: refactor of authenticaitonrefactor-authz-scheme
Diffstat (limited to '.golangci.yaml')
-rw-r--r--.golangci.yaml28
1 files changed, 24 insertions, 4 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
index 4655178..33097d7 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -1,7 +1,27 @@
+version: "2"
linters:
enable:
- - bodyclose
- - asciicheck
- - gosec
+ - asciicheck
+ - bodyclose
+ - goconst
+ - gosec
+ exclusions:
+ generated: lax
+ presets:
+ - comments
+ - common-false-positives
+ - legacy
+ - std-error-handling
+ paths:
+ - third_party$
+ - builtin$
+ - examples$
+formatters:
+ enable:
- gci
- - goconst
+ exclusions:
+ generated: lax
+ paths:
+ - third_party$
+ - builtin$
+ - examples$