From fcf6af97ad03b996dc97a06a421dce7797138957 Mon Sep 17 00:00:00 2001 From: Khanh Hoa Date: Tue, 26 Mar 2024 15:16:30 +0700 Subject: [PATCH] refactor golangci --- .golangci.yml | 6 +----- app/app.go | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index ca33e01c..bea16f24 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,11 +4,7 @@ run: sort-results: true allow-parallel-runners: true exclude-dir: testutil/testdata - skip-files: - - server/grpc/gogoreflection/fix_registration.go - - ".*\\.pb\\.go$" - - ".*\\.pb\\.gw\\.\\.go$" - - ".*\\.pulsar\\.go$" + linters: disable-all: true diff --git a/app/app.go b/app/app.go index 793daa6c..b91e643c 100644 --- a/app/app.go +++ b/app/app.go @@ -9,8 +9,6 @@ import ( "sort" "sync" - "github.com/cosmos/cosmos-sdk/x/staking" - wasmvm "github.com/CosmWasm/wasmvm/v2" abci "github.com/cometbft/cometbft/abci/types" tmproto "github.com/cometbft/cometbft/proto/tendermint/types" @@ -140,6 +138,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/slashing" slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/cosmos/cosmos-sdk/x/staking" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"