Skip to content

Commit

Permalink
feat: add golangci-lint to makefile (#819)
Browse files Browse the repository at this point in the history
* add linter to makefile

* update changelog
  • Loading branch information
AgentSmithMatrix authored Aug 11, 2022
1 parent 208a102 commit 8ec477a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* [#788](https://github.com/NibiruChain/nibiru/pull/788) - add --overwrite flag to the nibid init call of localnet.sh
* [#804](https://github.com/NibiruChain/nibiru/pull/804) - bump ibc-go to v3.1.1
* [#818](https://github.com/NibiruChain/nibiru/pull/818) - fix(localnet.sh): add max leverage to vpools in genesis to fix open-position
* [#819](https://github.com/NibiruChain/nibiru/pull/819) - add golangci-linter using docker in Makefile

### Features

Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@ test-sim-benchmark-invariants:
-Enabled=true -NumBlocks=1000 -BlockSize=200 \
-Period=1 -Commit=true -Seed=57 -v -timeout 24h

###############################################################################
### Lint ###
###############################################################################

lint:
docker run -v $(CURDIR):/code -w /code golangci/golangci-lint:v1.47.3-alpine golangci-lint run

.PHONY: \
test-sim-nondeterminism \
test-sim-custom-genesis-fast \
Expand Down

0 comments on commit 8ec477a

Please sign in to comment.