From c9155da0e4aa580bdc102967a1a3fb51775e25e8 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Wed, 14 Feb 2024 08:42:58 +0000 Subject: [PATCH] Fix lint --- .golangci.yml | 3 +-- scripts/go-lint-all.bash | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 37d5c4b41d..8ea09b0436 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -52,8 +52,7 @@ issues: - text: "SA1019: codec.NewAminoCodec is deprecated" # TODO remove once migration path is set out linters: - staticcheck - - path: "client/cli" # TODO(@0Tech): remove after foundation exec proposal removed - text: "SA1019: govcli.FlagDescription is deprecated" + - text: "SA1019: govcli.FlagDescription is deprecated" # TODO(@0Tech): remove after foundation exec proposal removed linters: - staticcheck - text: "leading space" diff --git a/scripts/go-lint-all.bash b/scripts/go-lint-all.bash index 8850c65cd1..decaaa8287 100755 --- a/scripts/go-lint-all.bash +++ b/scripts/go-lint-all.bash @@ -31,7 +31,7 @@ else for f in $(dirname $(echo "$GIT_DIFF" | tr -d "'") | uniq); do echo "linting $f [$(date -Iseconds -u)]" && cd $f && - golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" && + golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" cd $REPO_ROOT done -fi \ No newline at end of file +fi