tools+golangci-lint: enable fixed version of whitespace linter

This commit is contained in:
Oliver Gugger 2022-02-15 11:16:19 +01:00
parent 2891dc7399
commit 8d83778314
No known key found for this signature in database
GPG Key ID: 8E4256593F177720
3 changed files with 5 additions and 6 deletions

View File

@ -83,10 +83,6 @@ linters:
# Causes stack overflow, see https://github.com/polyfloyd/go-errorlint/issues/19.
- errorlint
# Has an issue (https://github.com/ultraware/whitespace/issues/6) but will
# want to enable this in the future.
- whitespace
# Deprecated linters. See https://golangci-lint.run/usage/linters/.
- interfacer
- golint

View File

@ -11,3 +11,6 @@ require (
github.com/rinchsan/gosimports v0.1.5
github.com/stephens2424/writerset v1.0.2 // indirect
)
// Can be removed once this version is included in golangci-lint.
replace github.com/ultraware/whitespace => github.com/ultraware/whitespace v0.0.5

View File

@ -859,8 +859,8 @@ github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGr
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
github.com/ultraware/funlen v0.0.3 h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA=
github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA=
github.com/ultraware/whitespace v0.0.4 h1:If7Va4cM03mpgrNH9k49/VOicWpGoG70XPBFFODYDsg=
github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA=
github.com/ultraware/whitespace v0.0.5 h1:hh+/cpIcopyMYbZNVov9iSxvJU3OYQg78Sfaqzi/CzI=
github.com/ultraware/whitespace v0.0.5/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA=
github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/uudashr/gocognit v1.0.5 h1:rrSex7oHr3/pPLQ0xoWq108XMU8s678FJcQ+aSfOHa4=