Skip to content

Commit 305cbdb

Browse files
committed
enforce nolint scope
1 parent 984e837 commit 305cbdb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ linters:
4545
desc: do not use the ini package, use gitea's config system instead
4646
- pkg: gitea.com/go-chi/cache
4747
desc: do not use the go-chi cache package, use gitea's cache system
48+
nolintlint:
49+
# require-explanation: true
50+
require-specific: true
4851
gocritic:
4952
disabled-checks:
5053
- ifElseChain

0 commit comments

Comments
 (0)