diff --git a/.circleci/config.yml b/.circleci/config.yml index 10ad38c56..d2d6e997b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,8 @@ workflows: version: 2 ci: jobs: - - go/lint + - go/lint: + executor: go/circleci-golang - go/test: executor: go/circleci-golang codecov-upload: true diff --git a/.golangci.yml b/.golangci.yml index d40bbb3a1..6ffacd4b2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,14 +7,23 @@ linters: - goconst - golint - errcheck + - gosec - unconvert - staticcheck - varcheck - structcheck - deadcode + issues: + exclude: + - "func name will be used as test\\.Test.* by other packages, and that stutters; consider calling this" + exclude-use-default: false + exclude-rules: + - path: node/modules/lp2p + linters: + - golint linters-settings: goconst: