Skip to content

Commit a6d2dee

Browse files
committed
Ignore linter on placeholders
1 parent d75558d commit a6d2dee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

decoder.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ const (
2727
_Uint64
2828
_Uint128
2929
_Slice
30-
_Container
31-
_Marker
30+
// We don't use the next two. They are placeholders. See the spec
31+
// for more details.
32+
_Container // nolint: deadcode, varcheck
33+
_Marker // nolint: deadcode, varcheck
3234
_Bool
3335
_Float32
3436
)

0 commit comments

Comments
 (0)