Commit 2e927a10 by Mario Trangoni

add ineffassign to circleci gometalinter check

parent b02a860e
...@@ -27,12 +27,13 @@ jobs: ...@@ -27,12 +27,13 @@ jobs:
steps: steps:
- checkout - checkout
- run: 'go get -u gopkg.in/alecthomas/gometalinter.v2' - run: 'go get -u gopkg.in/alecthomas/gometalinter.v2'
- run: 'go get -u github.com/gordonklaus/ineffassign'
- run: 'go get -u github.com/opennota/check/cmd/structcheck' - run: 'go get -u github.com/opennota/check/cmd/structcheck'
- run: 'go get -u github.com/mdempsky/unconvert' - run: 'go get -u github.com/mdempsky/unconvert'
- run: 'go get -u github.com/opennota/check/cmd/varcheck' - run: 'go get -u github.com/opennota/check/cmd/varcheck'
- run: - run:
name: run linters name: run linters
command: 'gometalinter.v2 --enable-gc --vendor --deadline 10m --disable-all --enable=structcheck --enable=unconvert --enable=varcheck ./...' command: 'gometalinter.v2 --enable-gc --vendor --deadline 10m --disable-all --enable=ineffassign --enable=structcheck --enable=unconvert --enable=varcheck ./...'
test-frontend: test-frontend:
docker: docker:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment