-
Notifications
You must be signed in to change notification settings - Fork 749
🧹 Linting #1418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
🧹 Linting #1418
Changes from 11 commits
Commits
Show all changes
120 commits
Select commit
Hold shift + click to select a range
5d7da1c
update linters so we don't have deprecated linters, and fix linter er…
faddat 47b665d
Merge branch 'main' into linter
faddat bf04920
Update CHANGELOG.md
faddat 5501a2c
longer timeout
faddat adb6872
Merge branch 'main' into linter
faddat e80423a
Update golangci.yml
faddat 8f2ff17
fumpt
faddat 10838f9
Merge branch 'main' into linter
faddat 5ef98e4
Merge branch 'main' into linter
faddat e80a1c8
Merge branch 'main' into linter
faddat 2170acb
NewPacketId -> NewPacketID in keys_test.go
faddat ca3d343
Merge branch 'main' into linter
faddat 3b0b1f2
update changelog per feedback
faddat 23d559a
Merge branch 'main' into linter
faddat 882e9f1
Update modules/apps/29-fee/ibc_middleware.go
faddat 9261f37
Update modules/core/ante/ante.go
faddat e71e353
Merge branch 'main' into linter
faddat a950741
Revert "Update modules/apps/29-fee/ibc_middleware.go"
faddat f9519fa
add godoc linter
faddat 5b0e597
add golint (deprecated) to check for godocs
faddat 4e63e3e
alphebetize and add errcheck
faddat 8a879b4
fumpt
faddat 175e576
Added gofumpt linter
faddat 858e71e
some error checks and one docs fix
faddat 5157912
RedundancyDecorator
faddat 0cb39b4
added errors, resolved an issue with RedundancyDecorator
faddat bd3fce6
resolve unnecessary line blank
faddat e4b9076
moved comment text inside else if
faddat f206324
update store
faddat 72b9199
Update CHANGELOG.md
faddat b2a0824
Merge remote-tracking branch 'upstream/main' into linter
faddat 4a973b8
newpacketID in ica test
faddat 6829e91
gofumpt
faddat bda2873
assignOp: replace with
faddat eee47f1
Merge branch 'main' into linter
faddat 02e3ce9
Merge branch 'linter' of https://github.com/notional-labs/ibc-go into…
faddat 7c28fdb
merge main
faddat 2ded56c
Merge branch 'main' into linter
faddat 51b5cfc
Merge remote-tracking branch 'upstream/main' into linter
faddat 6a4e2e7
lint keeper_test.go
faddat 53a5ff5
Merge branch 'linter' of https://github.com/notional-labs/ibc-go into…
faddat d6ae552
Merge branch 'main' into linter
faddat ccf5754
Merge branch 'main' into linter
faddat cfa1f7d
fix error checking in client keeper
faddat 54cb8d7
"works on my pc" ;).
faddat 4a9f87c
use go1.18 for golangci-lint
faddat b125e45
Merge branch 'main' into linter
faddat 5866dc8
Merge branch 'main' into linter
faddat f634228
fumpt
faddat ec587aa
Merge branch 'main' into linter
faddat 9c4b820
Update modules/core/ante/ante.go
faddat efad5dc
Update testing/mock/ibc_app.go
faddat 75d595d
Update modules/light-clients/07-tendermint/types/update.go
faddat 0a1177b
Merge branch 'main' into linter
faddat ec8e88f
goimports
faddat 02e1399
fumpt
faddat 42c62d8
Update modules/core/02-client/abci.go
faddat bfb4cd1
goimports
faddat ea7dbba
Update golangci.yml
faddat 4ea11e8
Merge remote-tracking branch 'upstream/main' into linter
faddat b3eb288
Merge branch 'linter' of https://github.com/notional-labs/ibc-go into…
faddat 5f86b0d
Merge remote-tracking branch 'upstream/main' into linter
faddat adffa5b
fix newCosmosRelayer
faddat 3aec211
try to fix abci codeql flagging
faddat bf9832a
Merge branch 'main' into linter
faddat 1e1d59c
Merge remote-tracking branch 'upstream/main' into linter
faddat 51d4e20
Merge branch 'linter' of https://github.com/notional-labs/ibc-go into…
faddat 3dbed8c
Merge branch 'main' into linter
faddat cca4027
make ci same as main
faddat c290679
make format
faddat b34a460
make format
faddat ed8bac1
Merge branch 'linter' of https://github.com/notional-labs/ibc-go into…
faddat dfa1751
fmt and proto-gen
faddat 2933f75
update linter settings
faddat f6899df
omit unnecessary type declaration ibctmtypes.Fraction
faddat 4e8ec07
adjust golangci-lint timeout
faddat d14d530
use blank for SetUpgradedConsensusState
faddat 5be7cfd
remove sdk_test.go
faddat 2aaf670
Merge branch 'main' into linter
faddat 5dffad9
Update modules/apps/29-fee/ibc_middleware.go
faddat 980b3ff
Update CHANGELOG.md
faddat ac9e3cd
Update CHANGELOG.md
faddat 8fd5b4e
Merge branch 'main' into linter
faddat b69d9f3
use declaration
faddat 4b2e3a8
Update CHANGELOG.md
faddat fc15d16
remove unneded space
faddat 61700a4
update changelog
faddat c2e5e86
gofumpt
faddat b1eee6f
fix spelling and trace.go
faddat c05fdae
Merge branch 'main' into linter
faddat e95c649
Merge branch 'main' into linter
faddat 2e35554
Merge branch 'main' into linter
faddat 46d6a66
we win
faddat 9574847
Merge branch 'main' into linter
faddat 56a4174
Merge branch 'main' into linter
faddat c92f6e6
Update mock.go
faddat e44018c
fumpt
faddat 1d7f3a0
fumpt
faddat dbf4222
Merge branch 'main' into linter
faddat 6fdc51e
Merge branch 'main' into linter
faddat 19bce95
gofumpt -w -l -modpath github.com/cosmos/ibc-go/v4
faddat 10a5515
write files
faddat 9e60582
imports?
faddat bfe336b
Merge branch 'linter' of https://github.com/notional-labs/ibc-go into…
faddat efa7853
correct formatting of imports
faddat c022cb9
gofumpt
faddat 2da8f35
fix metrics issue
faddat 4b36cf6
add note about blank import of statik
faddat 26cb0af
added note for blank import so we don't need nolint
faddat db496c2
e2e imports
faddat 81cd7f0
give e2e a full module path
faddat 75d4f77
use goimports
faddat e42313d
goimports
faddat 144d5c7
Delete .gitpod.yml
faddat b204f86
Merge remote-tracking branch 'upstream/main' into linter
faddat 9837d0b
update module paths
faddat 5f7a2ac
linting
faddat 1b1cf3a
update proto
vuong177 7b440bb
*.go
faddat da21b1a
Merge branch 'main' into linter
faddat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: golangci-lint | ||
| on: | ||
| push: | ||
| tags: | ||
| - v* | ||
| branches: | ||
| - master | ||
| - main | ||
| pull_request: | ||
| permissions: | ||
| contents: read | ||
| # Optional: allow read access to pull request. Use with `only-new-issues` option. | ||
| # pull-requests: read | ||
| jobs: | ||
| golangci: | ||
| name: lint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/setup-go@v3 | ||
| with: | ||
| go-version: 1.17 | ||
| - uses: actions/checkout@v3 | ||
| - name: golangci-lint | ||
| uses: golangci/[email protected] | ||
| with: | ||
| # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | ||
| version: v1.46.2 | ||
|
|
||
| # Optional: working directory, useful for monorepos | ||
| # working-directory: somedir | ||
|
|
||
| # Optional: golangci-lint command line arguments. | ||
| args: --timeout 5m | ||
|
|
||
| # Optional: show only new issues if it's a pull request. The default value is `false`. | ||
| # only-new-issues: true | ||
|
|
||
| # Optional: if set to true then the all caching functionality will be complete disabled, | ||
| # takes precedence over all other caching options. | ||
| # skip-cache: true | ||
|
|
||
| # Optional: if set to true then the action don't cache or restore ~/go/pkg. | ||
| # skip-pkg-cache: true | ||
|
|
||
| # Optional: if set to true then the action don't cache or restore ~/.cache/go-build. | ||
| # skip-build-cache: true | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.