Some checks are pending
Docs Deploy / build_and_deploy (push) Waiting to run
Generate Docs / cli (push) Waiting to run
Generate Config Doc / cli (push) Waiting to run
Go formatting / go-formatting (push) Waiting to run
Check links / markdown-link-check (push) Waiting to run
Integration / pre-test (push) Waiting to run
Integration / test on (push) Blocked by required conditions
Integration / status (push) Blocked by required conditions
Lint / Lint Go code (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
71 lines
1.5 KiB
YAML
71 lines
1.5 KiB
YAML
run:
|
|
tests: false
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- copyloopvar
|
|
- decorder
|
|
- depguard
|
|
- dogsled
|
|
- dupword
|
|
- errcheck
|
|
- errchkjson
|
|
- errorlint
|
|
- exhaustive
|
|
- gci
|
|
- goconst
|
|
- gocritic
|
|
- godot
|
|
- gofumpt
|
|
- revive
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- grouper
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- nolintlint
|
|
- staticcheck
|
|
- reassign
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- usetesting
|
|
- thelper
|
|
- unused
|
|
- unparam
|
|
- misspell
|
|
- forbidigo
|
|
|
|
linters-settings:
|
|
gci:
|
|
custom-order: true
|
|
sections:
|
|
- standard # Standard section: captures all standard packages.
|
|
- default # Default section: contains all imports that could not be matched to another section type.
|
|
- prefix(cosmossdk.io)
|
|
- prefix(github.com/cosmos/cosmos-sdk)
|
|
- prefix(github.com/cosmos/ibc-go
|
|
- prefix(github.com/cometbft/cometbft)
|
|
- prefix(github.com/ignite/cli)
|
|
forbidigo:
|
|
forbid:
|
|
- p: ^fmt\.Errorf$
|
|
msg: fmt.Errorf should be replaced by '"github.com/ignite/cli/ignite/pkg/errors"'
|
|
depguard:
|
|
rules:
|
|
main:
|
|
deny:
|
|
- pkg: "errors"
|
|
desc: Should be replaced by '"github.com/ignite/cli/ignite/pkg/errors"'
|
|
- pkg: "github.com/pkg/errors"
|
|
desc: Should be replaced by '"github.com/ignite/cli/ignite/pkg/errors"'
|
|
|
|
issues:
|
|
exclude-dirs:
|
|
- ignite/ui
|
|
max-issues-per-linter: 0
|
|
max-same-issues: 0
|