From 2824310168b9dbe24c2d47cfb71d4283b1733642 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 27 Jan 2023 00:17:49 -0700 Subject: .golangci.yml: Turn on 'stylecheck', fix --- compat/json/compat.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compat/json/compat.go') diff --git a/compat/json/compat.go b/compat/json/compat.go index f6ef2f1..0c9e800 100644 --- a/compat/json/compat.go +++ b/compat/json/compat.go @@ -2,6 +2,8 @@ // // SPDX-License-Identifier: GPL-2.0-or-later +// Package json is a wrapper around lowmemjson that is a (mostly) +// drop-in replacement for the standard library's encoding/json. package json import ( @@ -15,6 +17,7 @@ import ( "git.lukeshu.com/go/lowmemjson" ) +//nolint:stylecheck // ST1021 False positive; these aren't comments on individual types. type ( Number = json.Number RawMessage = json.RawMessage -- cgit v1.2.3-2-g168b