Skip to content

Commit fe48648

Browse files
authored
[lint] exclude typecheck error by regex (#17299)
1 parent 73f98a0 commit fe48648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WORKSPACE.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defaultVariant:
3434
- "**/node_modules/**"
3535
config:
3636
go:
37-
lintCommand: ["sh", "-c", "golangci-lint run --disable govet,errcheck,typecheck,staticcheck,structcheck --allow-parallel-runners --timeout 15m"]
37+
lintCommand: ["sh", "-c", "golangci-lint run --disable govet,errcheck,typecheck,staticcheck,structcheck -e '.*declared but not used.*' --allow-parallel-runners --timeout 15m"]
3838
variants:
3939
- name: oss
4040
srcs:

0 commit comments

Comments
 (0)