Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit d7511a7

Browse files
committed
Attempt to be specific about what we want from the nolintlint linter.
Unfortunately, there seems to be a bug where `allow-leading-space` is not being obeyed.
1 parent a50b6e2 commit d7511a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.golangci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ linters-settings:
1010
- standard
1111
- prefix(github.com/FasterBetter)
1212
- default
13+
nolintlint:
14+
allow-unused: false
15+
allow-leading-space: true
16+
require-explanation: false
17+
require-specific: true
1318

1419
linters:
1520
enable-all: true

0 commit comments

Comments
 (0)