Skip to content

Commit

Permalink
Disable revive and contextcheck linters for browser code
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mstoykov committed Dec 12, 2024
1 parent 88f765b commit c4b2ca8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ issues:
- funlen
- lll
- forcetypeassert
- path: js\/modules\/k6\/browser\/.*\.go
linters:
- revive
- contextcheck
- path: js\/modules\/k6\/html\/.*\.go
text: "exported: exported "
linters:
Expand Down

0 comments on commit c4b2ca8

Please sign in to comment.