mirror of
https://github.com/containers/podman.git
synced 2025-06-19 16:33:24 +08:00
replace golint with revive linter
golint, scopelint and interfacer are deprecated. golint is replaced by revive. This linter is better because it will also check for our error style: `error strings should not be capitalized or end with punctuation or a newline` scopelint is replaced by exportloopref (already endabled) interfacer has no replacement but I do not think this linter is important. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -15,9 +15,9 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/containers/storage/pkg/parsers/kernel"
|
||||
. "github.com/onsi/ginkgo" //nolint:golint,stylecheck
|
||||
. "github.com/onsi/gomega" //nolint:golint,stylecheck
|
||||
. "github.com/onsi/gomega/gexec" //nolint:golint,stylecheck
|
||||
. "github.com/onsi/ginkgo" //nolint:revive,stylecheck
|
||||
. "github.com/onsi/gomega" //nolint:revive,stylecheck
|
||||
. "github.com/onsi/gomega/gexec" //nolint:revive,stylecheck
|
||||
)
|
||||
|
||||
type NetworkBackend int
|
||||
|
Reference in New Issue
Block a user