mirror of https://github.com/docker/cli.git
linting: tabwriter: ignore stylecheck
We try to keep this package close to upstream golang's code, so suppress the linter warning. cli/command/formatter/tabwriter/tabwriter.go:200:1: ST1020: comment on exported method Init should be of the form "Init ..." (stylecheck) // A Writer must be initialized with a call to Init. The first parameter (output) ^ cli/command/formatter/tabwriter/tabwriter.go:425:1: ST1022: comment on exported const Escape should be of the form "Escape ..." (stylecheck) // To escape a text segment, bracket it with Escape characters. ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
cef858170d
commit
7cec7101c4
|
@ -12,7 +12,7 @@
|
|||
|
||||
// based on https://github.com/golang/go/blob/master/src/text/tabwriter/tabwriter.go Last modified 690ac40 on 31 Jan
|
||||
|
||||
//nolint:gocyclo,nakedret,revive,unused // ignore linting errors, so that we can stick close to upstream
|
||||
//nolint:gocyclo,nakedret,revive,stylecheck,unused // ignore linting errors, so that we can stick close to upstream
|
||||
package tabwriter
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in New Issue