Skip to content

Commit

Permalink
skip typecheck lint on problematic files
Browse files Browse the repository at this point in the history
When there are "real" lint errors, the linter will flood the output with
spurious errors from the typecheck linter (which is not a real linter:
golangci/golangci-lint#2177).

typecheck errors are triggered when the Go compilation frontend fails -
it's not clear why a compilation error elsewhere triggers all the
spurious errors from AccessNodeBuilder etc. But disabling these makes it
easier to find the real comppilation error.
  • Loading branch information
jordanschalm committed Mar 3, 2023
1 parent 595f545 commit f04bc0b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .golangci.yml
Expand Up @@ -33,3 +33,9 @@ issues:
- path: 'cmd/access/node_build/*'
linters:
- typecheck
- path: 'cmd/observer/node_builder/*'
linters:
- typecheck
- path: 'follower/*'
linters:
- typecheck

0 comments on commit f04bc0b

Please sign in to comment.