We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ffaf19 commit c86be81Copy full SHA for c86be81
.golangci.yml
@@ -76,13 +76,14 @@ linters-settings:
76
extra-rules: true
77
lang-version: "1.19"
78
depguard:
79
- # TODO: use depguard to replace import checks in gitea-vet
80
list-type: denylist
81
# Check the list against standard lib.
82
include-go-root: true
83
packages-with-error-message:
84
- encoding/json: "use gitea's modules/json instead of encoding/json"
85
- github.com/unknwon/com: "use gitea's util and replacements"
+ - io/ioutil: "use os or io instead"
86
+ - golang.org/x/exp: "it's experimental and unreliable."
87
88
issues:
89
max-issues-per-linter: 0
0 commit comments