mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00
golangci-lint: enable nolintlint
The nolintlint linter does not deny the use of `//nolint` Instead it allows us to enforce a common nolint style: - force that a linter name must be specified - do not add a space between `//` and `nolint` - make sure nolint is only used when there is actually a problem Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -41,7 +41,7 @@ var (
|
||||
CGROUP_MANAGER = "systemd" //nolint:revive,stylecheck
|
||||
RESTORE_IMAGES = []string{ALPINE, BB, nginx} //nolint:revive,stylecheck
|
||||
defaultWaitTimeout = 90
|
||||
CGROUPSV2, _ = cgroups.IsCgroup2UnifiedMode() //nolint:revive,stylecheck
|
||||
CGROUPSV2, _ = cgroups.IsCgroup2UnifiedMode()
|
||||
)
|
||||
|
||||
// PodmanTestIntegration struct for command line options
|
||||
|
Reference in New Issue
Block a user