Skip to content

Commit c4b2ca8

Browse files
committed
Disable revive and contextcheck linters for browser code
See #4107 for contextcheck Revive also doesn't make as much sense for code that is not supposed to be used directly by third parties, especially given the size of the API.
1 parent 88f765b commit c4b2ca8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ issues:
2626
- funlen
2727
- lll
2828
- forcetypeassert
29+
- path: js\/modules\/k6\/browser\/.*\.go
30+
linters:
31+
- revive
32+
- contextcheck
2933
- path: js\/modules\/k6\/html\/.*\.go
3034
text: "exported: exported "
3135
linters:

0 commit comments

Comments
 (0)