moby/hack/validate
Sebastiaan van Stijn f66374f6a8
golangci-lint: enable importas linter to force consistent aliases
This enforces the github.com/containerd/containerd/errdefs package to
be aliased as "cerrdefs". Any other alias (or no alias used) results
in a linting failure:

    integration/container/pause_test.go:9:2: import "github.com/containerd/containerd/errdefs" imported as "c8derrdefs" but must be "cerrdefs" according to config (importas)
        c8derrdefs "github.com/containerd/containerd/errdefs"
        ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-08 20:03:27 +02:00
..
.validate hack: no need to git fetch in CI 2019-02-05 02:54:50 +00:00
all validate: address SC2155 (shellcheck) 2022-08-29 19:53:04 +02:00
dco validate: address SC2155 (shellcheck) 2022-08-29 19:53:04 +02:00
default hack/validate: drop changelog-related steps 2022-11-15 01:59:01 -07:00
default-seccomp validate: address SC2155 (shellcheck) 2022-08-29 19:53:04 +02:00
deprecate-integration-cli validate: address SC2155 (shellcheck) 2022-08-29 19:53:04 +02:00
golangci-lint logger/journald: remove journald_compat (for systemd < 209) 2022-07-20 18:48:00 +02:00
golangci-lint.yml golangci-lint: enable importas linter to force consistent aliases 2023-04-08 20:03:27 +02:00
no-module hack: introduce validate/no-module 2022-12-12 18:39:06 -07:00
pkg-imports Merge pull request #44296 from corhere/narrow-pkg-imports-validator 2022-10-14 12:30:57 -04:00
shfmt Fixup libnetwork lint errors 2021-06-01 23:48:32 +00:00
swagger validate: address SC2155 (shellcheck) 2022-08-29 19:53:04 +02:00
swagger-gen validate: address SC2155 (shellcheck) 2022-08-29 19:53:04 +02:00
toml validate: address SC2155 (shellcheck) 2022-08-29 19:53:04 +02:00
vendor hack/validate/vendor: clean up license validation step 2022-11-18 08:18:10 -07:00
yamllint validate: add yamllint validation 2022-08-29 19:52:56 +02:00
yamllint.yaml validate: yamllint: ignore "truthy value should be one of" warnings 2022-08-29 19:51:43 +02:00