Skip to content

Commit f04bc0b

Browse files
committed
skip typecheck lint on problematic files
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.
1 parent 595f545 commit f04bc0b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.golangci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ issues:
3333
- path: 'cmd/access/node_build/*'
3434
linters:
3535
- typecheck
36+
- path: 'cmd/observer/node_builder/*'
37+
linters:
38+
- typecheck
39+
- path: 'follower/*'
40+
linters:
41+
- typecheck

0 commit comments

Comments
 (0)