update golangci configuration #72
Annotations
10 errors and 10 warnings
lint:
app/params/proto.go#L19
import-shadowing: The name 'codec' shadows an import name (revive)
|
lint:
x/staking/keeper/common_test.go#L1
: # github.com/iqlusioninc/liquidity-staking-module/x/staking/keeper_test [github.com/iqlusioninc/liquidity-staking-module/x/staking/keeper.test]
|
lint:
x/staking/keeper/validator_test.go#L45
undefined: t
|
lint:
x/staking/simulation/genesis_test.go#L104
G601: Implicit memory aliasing in for loop. (gosec)
|
lint:
x/distribution/simulation/genesis_test.go#L80
G601: Implicit memory aliasing in for loop. (gosec)
|
lint:
x/slashing/simulation/genesis_test.go#L82
G601: Implicit memory aliasing in for loop. (gosec)
|
lint:
x/staking/keeper/grpc_query.go#L544
ST1003: method TokenizeShareRecordById should be TokenizeShareRecordByID (stylecheck)
|
lint:
x/staking/keeper/grpc_query.go#L609
ST1003: method LastTokenizeShareRecordId should be LastTokenizeShareRecordID (stylecheck)
|
lint:
x/staking/types/keys_test.go#L112
ST1003: var rTs should be rTS (stylecheck)
|
lint:
x/slashing/keeper/keeper.go#L46
ST1016: methods on the same type should have the same receiver name (seen 2x "keeper", 33x "k") (stylecheck)
|
lint:
x/staking/types/tokenize_share_record.go#L4
redundant-import-alias: Import alias "fmt" is redundant (revive)
|
lint:
x/staking/types/keys.go#L259
unexported-naming: the symbol REDSFromValsSrcKey is local, its name should start with a lowercase letter (revive)
|
lint:
x/staking/types/keys.go#L276
unexported-naming: the symbol REDSToValsDstKey is local, its name should start with a lowercase letter (revive)
|
lint:
x/staking/keeper/slash.go#L9
redundant-import-alias: Import alias "types" is redundant (revive)
|
lint:
x/staking/keeper/test_common.go#L34
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (revive)
|
lint:
x/staking/keeper/grpc_query.go#L676
import-shadowing: The name 'status' shadows an import name (revive)
|
lint:
x/genutil/collect.go#L138
unchecked-type-assertion: type cast result is unchecked in msgs[0].(*stakingtypes.MsgCreateValidator) - type assertion will panic if not matched (revive)
|
lint:
x/slashing/module.go#L78
import-shadowing: The name 'mux' shadows an import name (revive)
|
lint:
x/slashing/module.go#L105
import-shadowing: The name 'keeper' shadows an import name (revive)
|
lint:
x/genutil/client/cli/gentx.go#L237
import-shadowing: The name 'tx' shadows an import name (revive)
|