diff --git a/Dependencies.md b/Dependencies.md index 7c4e704b2f6..7325929116a 100644 --- a/Dependencies.md +++ b/Dependencies.md @@ -33,7 +33,6 @@ We aim to support a building of the k6 binary with the two latest versions of go There are some dependencies that we really don't use all that much, intend on removing and as a general note don't need anything else from them. Given that we currently have no problems that updates will fix - we prefer to not update them as not to introduce bugs. Also, for some they bring additional dependencies that we do not want, which is just one more reason not to update them. List (as of March 2022): -- github.com/DataDog/datadog-go - newer versions have a lot more dependencies for functionality we don't need. Also in general a different library is probably going to be better in this case as it only supports UDP and no TCP. - github.com/andybalholm/cascadia - a dependency of `github.com/PuerkitoBio/goquery` - github.com/sirupsen/logrus - it's in maintenance mode and we want to remove it - also no update for a long time, but also no bugs. - github.com/spf13/afero - there are plans to be [replaced by io/fs](https://github.com/grafana/k6/issues/1079) and we don't need anything from it. We have already worked around some bugs so updating might break something diff --git a/modtools_frozen.yml b/modtools_frozen.yml index 6224f5ccb69..ebb119a3e15 100644 --- a/modtools_frozen.yml +++ b/modtools_frozen.yml @@ -1,6 +1,3 @@ -- path: github.com/DataDog/datadog-go - minVersion: v0.0.0-20180330214955-e67964b4021a - validUntil: 2029-08-04T16:27:45+03:00 - path: github.com/spf13/afero minVersion: v1.1.2 validUntil: 2029-08-04T16:29:18+03:00 diff --git a/vendor.linter.txt b/vendor.linter.txt deleted file mode 100644 index efdcb040b93..00000000000 --- a/vendor.linter.txt +++ /dev/null @@ -1,616 +0,0 @@ -vendor/github.com/grafana/xk6-browser/keyboardlayout/us.go:3 funlen Function 'initUS' is too long (383 > 80) -vendor/github.com/grafana/xk6-browser/keyboardlayout/layout.go:8:6 revive exported: exported type KeyInput should have comment or be unexported -vendor/github.com/grafana/xk6-browser/keyboardlayout/layout.go:10:6 revive exported: exported type KeyDefinition should have comment or be unexported -vendor/github.com/grafana/xk6-browser/keyboardlayout/layout.go:21:6 revive exported: exported type KeyboardLayout should have comment or be unexported -vendor/github.com/grafana/xk6-browser/keyboardlayout/layout.go:1:1 revive package-comments: should have a package comment -vendor/github.com/grafana/xk6-browser/keyboardlayout/us.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/log/logger.go:1:1 revive package-comments: should have a package comment -vendor/github.com/grafana/xk6-browser/log/logger.go:17:6 revive exported: exported type Logger should have comment or be unexported -vendor/github.com/grafana/xk6-browser/log/logger.go:6:2 staticcheck SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. -vendor/github.com/grafana/xk6-redis/redis/client.go:348 gofmt File is not `gofmt`-ed with `-s` -vendor/github.com/grafana/xk6-browser/api/browser.go:1:1 revive package-comments: should have a package comment -vendor/github.com/grafana/xk6-browser/api/types.go:20:6 revive exported: exported type Rect should have comment or be unexported -vendor/github.com/grafana/xk6-browser/api/browser_context.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/browser_type.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/cdp_session.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/element_handle.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/frame.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/js_handle.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/keyboard.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/locator.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/mouse.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/page.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/request.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/response.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/route.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/touchscreen.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/types.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/video.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/api/worker.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-output-prometheus-remote/pkg/remotewrite/config.go:266:6 unused func `parseArg` is unused -vendor/github.com/grafana/xk6-browser/k6ext/cloud.go:7:11 forbidigo use of `os.LookupEnv` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/k6ext/panic.go:41:12 forbidigo use of `os.FindProcess` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/common/browser.go:507:2 dogsled declaration has 4 blank identifiers -vendor/github.com/grafana/xk6-browser/common/browser.go:517:2 dogsled declaration has 4 blank identifiers -vendor/github.com/grafana/xk6-browser/common/browser_process.go:23:11 forbidigo use of `os.Process` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/common/browser_process.go:147:20 forbidigo use of `os.Environ` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/common/browser_process.go:153:5 forbidigo use of `os.IsNotExist` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:182:13 forbidigo use of `os.MkdirAll` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/common/browser.go:202 funlen Function 'onAttachedToTarget' has too many statements (62 > 60) -vendor/github.com/grafana/xk6-browser/common/browser_context_options.go:51 funlen Function 'Parse' has too many statements (70 > 60) -vendor/github.com/grafana/xk6-browser/common/connection.go:283 funlen Function 'recvLoop' is too long (91 > 80) -vendor/github.com/grafana/xk6-browser/common/device.go:14 funlen Function 'GetDevices' is too long (783 > 80) -vendor/github.com/grafana/xk6-browser/common/execution_context.go:156 funlen Function 'eval' is too long (81 > 80) -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:220 funlen Function 'frameNavigated' is too long (102 > 80) -vendor/github.com/grafana/xk6-browser/common/network_manager.go:167 funlen Function 'emitResponseMetrics' is too long (94 > 80) -vendor/github.com/grafana/xk6-browser/common/selectors.go:68:1 gocognit cognitive complexity 50 of func `(*Selector).parse` is high (> 30) -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:264:1 gocognit cognitive complexity 36 of func `(*screenshotter).screenshotPage` is high (> 30) -vendor/github.com/grafana/xk6-browser/common/browser_context.go:85:5 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/element_handle.go:305:2 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/element_handle.go:414:2 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/element_handle.go:576:2 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/element_handle.go:599:2 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:282:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:389:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:413:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:471:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/errors.go:40:2 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:445:2 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_options.go:181:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_options.go:205:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_options.go:229:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_options.go:253:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_options.go:306:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_options.go:460:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_options.go:569:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/frame_options.go:630:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/keyboard_options.go:26:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:127:4 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/page.go:227:2 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/remote_object.go:112:30 gocritic wrapperFunc: use strings.ReplaceAll method in `strings.Replace(val, "n", "", -1)` -vendor/github.com/grafana/xk6-browser/common/response.go:94:3 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:246:2 gocritic singleCaseSwitch: should rewrite switch statement to if statement -vendor/github.com/grafana/xk6-browser/common/selectors.go:74:3 gocritic ifElseChain: rewrite if-else to switch statement -vendor/github.com/grafana/xk6-browser/common/selectors.go:118:3 gocritic ifElseChain: rewrite if-else to switch statement -vendor/github.com/grafana/xk6-browser/common/browser.go:26 gofumpt File is not `gofumpt`-ed -vendor/github.com/grafana/xk6-browser/common/browser_context.go:23 gofumpt File is not `gofumpt`-ed -vendor/github.com/grafana/xk6-browser/common/connection.go:28 gofumpt File is not `gofumpt`-ed -vendor/github.com/grafana/xk6-browser/common/element_handle.go:25 gofumpt File is not `gofumpt`-ed -vendor/github.com/grafana/xk6-browser/common/session.go:17 gofumpt File is not `gofumpt`-ed -vendor/github.com/grafana/xk6-browser/common/touchscreen.go:14 gofumpt File is not `gofumpt`-ed -vendor/github.com/grafana/xk6-browser/common/worker.go:18 gofumpt File is not `gofumpt`-ed -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:185:13 gosec G306: Expect WriteFile permissions to be 0600 or less -vendor/github.com/grafana/xk6-browser/common/browser.go:271 lll line is 127 characters -vendor/github.com/grafana/xk6-browser/common/browser.go:278 lll line is 122 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:217 lll line is 121 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:223 lll line is 134 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:228 lll line is 155 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:343 lll line is 124 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:351 lll line is 147 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:354 lll line is 144 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:372 lll line is 130 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:377 lll line is 132 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:422 lll line is 131 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:428 lll line is 124 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:431 lll line is 126 characters -vendor/github.com/grafana/xk6-browser/common/connection.go:497 lll line is 125 characters -vendor/github.com/grafana/xk6-browser/common/device.go:18 lll line is 138 characters -vendor/github.com/grafana/xk6-browser/common/device.go:29 lll line is 138 characters -vendor/github.com/grafana/xk6-browser/common/device.go:40 lll line is 124 characters -vendor/github.com/grafana/xk6-browser/common/device.go:51 lll line is 124 characters -vendor/github.com/grafana/xk6-browser/common/device.go:62 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:73 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:84 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:95 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:106 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:117 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:128 lll line is 151 characters -vendor/github.com/grafana/xk6-browser/common/device.go:139 lll line is 151 characters -vendor/github.com/grafana/xk6-browser/common/device.go:150 lll line is 145 characters -vendor/github.com/grafana/xk6-browser/common/device.go:161 lll line is 145 characters -vendor/github.com/grafana/xk6-browser/common/device.go:172 lll line is 145 characters -vendor/github.com/grafana/xk6-browser/common/device.go:183 lll line is 145 characters -vendor/github.com/grafana/xk6-browser/common/device.go:194 lll line is 145 characters -vendor/github.com/grafana/xk6-browser/common/device.go:205 lll line is 145 characters -vendor/github.com/grafana/xk6-browser/common/device.go:216 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:227 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:238 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:249 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:260 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:271 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:282 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:293 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:304 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:315 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:326 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:337 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:348 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:359 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:370 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:381 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:392 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:403 lll line is 154 characters -vendor/github.com/grafana/xk6-browser/common/device.go:414 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:425 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:436 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:447 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:458 lll line is 128 characters -vendor/github.com/grafana/xk6-browser/common/device.go:469 lll line is 128 characters -vendor/github.com/grafana/xk6-browser/common/device.go:480 lll line is 151 characters -vendor/github.com/grafana/xk6-browser/common/device.go:491 lll line is 151 characters -vendor/github.com/grafana/xk6-browser/common/device.go:502 lll line is 183 characters -vendor/github.com/grafana/xk6-browser/common/device.go:513 lll line is 183 characters -vendor/github.com/grafana/xk6-browser/common/device.go:524 lll line is 179 characters -vendor/github.com/grafana/xk6-browser/common/device.go:535 lll line is 179 characters -vendor/github.com/grafana/xk6-browser/common/device.go:546 lll line is 179 characters -vendor/github.com/grafana/xk6-browser/common/device.go:557 lll line is 146 characters -vendor/github.com/grafana/xk6-browser/common/device.go:568 lll line is 146 characters -vendor/github.com/grafana/xk6-browser/common/device.go:579 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:590 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:601 lll line is 150 characters -vendor/github.com/grafana/xk6-browser/common/device.go:612 lll line is 150 characters -vendor/github.com/grafana/xk6-browser/common/device.go:623 lll line is 162 characters -vendor/github.com/grafana/xk6-browser/common/device.go:634 lll line is 162 characters -vendor/github.com/grafana/xk6-browser/common/device.go:645 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:656 lll line is 152 characters -vendor/github.com/grafana/xk6-browser/common/device.go:667 lll line is 162 characters -vendor/github.com/grafana/xk6-browser/common/device.go:678 lll line is 162 characters -vendor/github.com/grafana/xk6-browser/common/device.go:689 lll line is 145 characters -vendor/github.com/grafana/xk6-browser/common/device.go:700 lll line is 145 characters -vendor/github.com/grafana/xk6-browser/common/device.go:711 lll line is 129 characters -vendor/github.com/grafana/xk6-browser/common/device.go:722 lll line is 129 characters -vendor/github.com/grafana/xk6-browser/common/device.go:733 lll line is 124 characters -vendor/github.com/grafana/xk6-browser/common/device.go:744 lll line is 124 characters -vendor/github.com/grafana/xk6-browser/common/device.go:755 lll line is 159 characters -vendor/github.com/grafana/xk6-browser/common/device.go:766 lll line is 159 characters -vendor/github.com/grafana/xk6-browser/common/device.go:777 lll line is 164 characters -vendor/github.com/grafana/xk6-browser/common/device.go:788 lll line is 164 characters -vendor/github.com/grafana/xk6-browser/common/element_handle.go:360 lll line is 150 characters -vendor/github.com/grafana/xk6-browser/common/element_handle.go:637 lll line is 133 characters -vendor/github.com/grafana/xk6-browser/common/element_handle.go:692 lll line is 141 characters -vendor/github.com/grafana/xk6-browser/common/frame_session.go:55 lll line is 122 characters -vendor/github.com/grafana/xk6-browser/common/helpers.go:16 lll line is 138 characters -vendor/github.com/grafana/xk6-browser/common/network_manager.go:264 lll line is 128 characters -vendor/github.com/grafana/xk6-browser/common/page_options.go:35 lll line is 150 characters -vendor/github.com/grafana/xk6-browser/common/response.go:67 lll line is 121 characters -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:252 lll line is 139 characters -vendor/github.com/grafana/xk6-browser/common/session.go:114 lll line is 122 characters -vendor/github.com/grafana/xk6-browser/common/session.go:141 lll line is 123 characters -vendor/github.com/grafana/xk6-browser/common/session.go:174 lll line is 147 characters -vendor/github.com/grafana/xk6-browser/common/session.go:181 lll line is 132 characters -vendor/github.com/grafana/xk6-browser/common/session.go:192 lll line is 135 characters -vendor/github.com/grafana/xk6-browser/common/browser_context.go:239:11 makezero append to slice `pages` with non-zero initialized length -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:279:2 nestif `if opts.FullPage` has complex nested blocks (complexity: 11) -vendor/github.com/grafana/xk6-browser/common/browser_context_options.go:53:2 nestif `if opts != nil && !goja.IsUndefined(opts) && !goja.IsNull(opts)` has complex nested blocks (complexity: 5) -vendor/github.com/grafana/xk6-browser/common/network_manager.go:362:2 nestif `if req == nil` has complex nested blocks (complexity: 5) -vendor/github.com/grafana/xk6-browser/common/page_options.go:102:2 nestif `if opts != nil && !goja.IsUndefined(opts) && !goja.IsNull(opts)` has complex nested blocks (complexity: 5) -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:218:2 nestif `if !fitsViewport` has complex nested blocks (complexity: 5) -vendor/github.com/grafana/xk6-browser/common/types.go:376:16 revive var-naming: method toApiRect should be toAPIRect -vendor/github.com/grafana/xk6-browser/common/element_handle.go:442:2 revive var-naming: var frameId should be frameID -vendor/github.com/grafana/xk6-browser/common/browser_context_options.go:21:2 revive var-naming: struct field HttpCredentials should be HTTPCredentials -vendor/github.com/grafana/xk6-browser/common/page.go:190:2 revive var-naming: var backendNodeId should be backendNodeID -vendor/github.com/grafana/xk6-browser/common/page.go:334:16 revive var-naming: method updateHttpCredentials should be updateHTTPCredentials -vendor/github.com/grafana/xk6-browser/common/barrier.go:1:1 revive package-comments: should have a package comment -vendor/github.com/grafana/xk6-browser/common/mouse.go:101:12 revive var-declaration: should omit type float64 from declaration of var fromX; it will be inferred from the right-hand side -vendor/github.com/grafana/xk6-browser/common/mouse.go:102:12 revive var-declaration: should omit type float64 from declaration of var fromY; it will be inferred from the right-hand side -vendor/github.com/grafana/xk6-browser/common/selectors.go:26:19 revive var-declaration: should omit type *regexp.Regexp from declaration of var reQueryEngine; it will be inferred from the right-hand side -vendor/github.com/grafana/xk6-browser/common/selectors.go:29:21 revive var-declaration: should omit type *regexp.Regexp from declaration of var reXPathSelector; it will be inferred from the right-hand side -vendor/github.com/grafana/xk6-browser/common/worker.go:21:6 revive exported: exported type Worker should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/request.go:151:1 revive exported: exported method Request.AllHeaders should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/errors.go:29:6 revive exported: exported type BigIntParseError should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/consts.go:8:2 revive exported: exported const DefaultLocale should have comment (or a comment on this block) or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse.go:143:1 revive exported: exported method Mouse.DblClick should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/request.go:160:1 revive exported: exported method Request.Failure should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/errors.go:52:6 revive exported: exported type UnserializableValueError should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/request.go:170:1 revive exported: exported method Request.HeaderValue should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/request.go:189:1 revive exported: exported method Request.HeadersArray should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/request.go:226:1 revive exported: exported method Request.RedirectedFrom should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/request.go:231:1 revive exported: exported method Request.RedirectedTo should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/request.go:246:1 revive exported: exported method Request.Size should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/request.go:253:1 revive exported: exported method Request.Timing should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page_options.go:15:6 revive exported: exported type PageEmulateMediaOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:13:6 revive exported: exported type ElementHandleBaseOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page_options.go:21:6 revive exported: exported type PageReloadOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page_options.go:26:6 revive exported: exported type PageScreenshotOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:19:6 revive exported: exported type ElementHandleBasePointerOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:53:6 revive exported: exported type ElementHandleCheckOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/selectors.go:31:6 revive exported: exported type SelectorPart should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page_options.go:43:1 revive exported: exported method PageEmulateMediaOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:57:6 revive exported: exported type ElementHandleClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page_options.go:61:1 revive exported: exported function NewPageReloadOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/selectors.go:36:6 revive exported: exported type Selector should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:65:6 revive exported: exported type ElementHandleDblclickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page_options.go:68:1 revive exported: exported method PageReloadOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:72:6 revive exported: exported type ElementHandleHoverOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/selectors.go:46:1 revive exported: exported function NewSelector should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:77:6 revive exported: exported type ElementHandlePressOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page_options.go:89:1 revive exported: exported function NewPageScreenshotOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:83:6 revive exported: exported type ElementHandleScreenshotOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:91:6 revive exported: exported type ElementHandleSetCheckedOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page_options.go:100:1 revive exported: exported method PageScreenshotOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:96:6 revive exported: exported type ElementHandleTapOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:101:6 revive exported: exported type ElementHandleTypeOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:107:6 revive exported: exported type ElementHandleWaitForElementStateOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:111:1 revive exported: exported function NewElementHandleBaseOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:119:1 revive exported: exported method ElementHandleBaseOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:138:1 revive exported: exported function NewElementHandleBasePointerOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:146:1 revive exported: exported method ElementHandleBasePointerOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/barrier.go:9:6 revive exported: exported type Barrier should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/barrier.go:15:1 revive exported: exported function NewBarrier should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:170:1 revive exported: exported function NewElementHandleCheckOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/barrier.go:23:1 revive exported: exported method Barrier.AddFrameNavigation should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/barrier.go:44:1 revive exported: exported method Barrier.Wait should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:176:1 revive exported: exported method ElementHandleCheckOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:180:1 revive exported: exported function NewElementHandleClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:190:1 revive exported: exported method ElementHandleClickOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:217:1 revive exported: exported method ElementHandleClickOptions.ToMouseClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:225:1 revive exported: exported function NewElementHandleDblclickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:234:1 revive exported: exported method ElementHandleDblclickOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:259:1 revive exported: exported method ElementHandleDblclickOptions.ToMouseClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:267:1 revive exported: exported function NewElementHandleHoverOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:274:1 revive exported: exported method ElementHandleHoverOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:295:1 revive exported: exported function NewElementHandlePressOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:303:1 revive exported: exported method ElementHandlePressOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:321:1 revive exported: exported method ElementHandlePressOptions.ToBaseOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:329:1 revive exported: exported function NewElementHandleScreenshotOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:339:1 revive exported: exported method ElementHandleScreenshotOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:372:1 revive exported: exported function NewElementHandleSetCheckedOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:379:1 revive exported: exported method ElementHandleSetCheckedOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:398:1 revive exported: exported function NewElementHandleTapOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:405:1 revive exported: exported method ElementHandleTapOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:426:1 revive exported: exported function NewElementHandleTypeOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:434:1 revive exported: exported method ElementHandleTypeOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:452:1 revive exported: exported method ElementHandleTypeOptions.ToBaseOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:460:1 revive exported: exported function NewElementHandleWaitForElementStateOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:466:1 revive exported: exported method ElementHandleWaitForElementStateOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/keyboard_options.go:11:6 revive exported: exported type KeyboardOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/keyboard_options.go:15:1 revive exported: exported function NewKeyboardOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/keyboard_options.go:21:1 revive exported: exported method KeyboardOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/browser.go:30:2 revive exported: exported const BrowserStateOpen should have comment (or a comment on this block) or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:11:6 revive exported: exported type MouseClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/context.go:15:1 revive exported: exported function WithHooks should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:17:6 revive exported: exported type MouseDblClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:22:6 revive exported: exported type MouseDownUpOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/context.go:19:1 revive exported: exported function GetHooks should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/context.go:38:1 revive exported: exported function WithLaunchOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:27:6 revive exported: exported type MouseMoveOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:31:1 revive exported: exported function NewMouseClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/context.go:42:1 revive exported: exported function GetLaunchOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/response.go:151:1 revive exported: exported method Response.AllHeaders should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:39:1 revive exported: exported method MouseClickOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:57:1 revive exported: exported method MouseClickOptions.ToMouseDownUpOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/response.go:203:1 revive exported: exported method Response.HeaderValue should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/response.go:213:1 revive exported: exported method Response.HeaderValues should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:64:1 revive exported: exported function NewMouseDblClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:71:1 revive exported: exported method MouseDblClickOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/response.go:242:1 revive exported: exported method Response.HeadersArray should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/response.go:284:1 revive exported: exported method Response.SecurityDetails should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:87:1 revive exported: exported method MouseDblClickOptions.ToMouseDownUpOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:93:1 revive exported: exported function NewMouseDownUpOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/response.go:295:1 revive exported: exported method Response.Size should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:100:1 revive exported: exported method MouseDownUpOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:116:1 revive exported: exported function NewMouseMoveOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:122:1 revive exported: exported method MouseMoveOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/event_emitter.go:14:2 revive exported: exported const EventBrowserDisconnected should have comment (or a comment on this block) or be unexported -vendor/github.com/grafana/xk6-browser/common/keyboard.go:21:2 revive exported: exported const ModifierKeyAlt should have comment (or a comment on this block) or be unexported -vendor/github.com/grafana/xk6-browser/common/network_manager.go:397:33 revive var-declaration: should drop = nil from declaration of var redirectChain; it is the zero value -vendor/github.com/grafana/xk6-browser/common/network_manager.go:412:21 revive var-declaration: should drop = nil from declaration of var frame; it is the zero value -vendor/github.com/grafana/xk6-browser/common/types.go:119:6 revive exported: exported type EmulatedSize should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:124:1 revive exported: exported function NewEmulatedSize should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:131:6 revive exported: exported type Geolocation should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:137:1 revive exported: exported function NewGeolocation should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:141:1 revive exported: exported method Geolocation.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:220:6 revive exported: exported type LifecycleEvent should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:223:2 revive exported: exported const LifecycleEventLoad should have comment (or a comment on this block) or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:305:6 revive exported: exported type MediaType should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:308:2 revive exported: exported const MediaTypeScreen should have comment (or a comment on this block) or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:312:6 revive exported: exported type PollingType should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:315:2 revive exported: exported const PollingRaf should have comment (or a comment on this block) or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:356:6 revive exported: exported type Position should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:361:6 revive exported: exported type Rect should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:423:6 revive exported: exported type ResourceTiming should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:441:1 revive exported: exported method Screen.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:457:6 revive exported: exported type SelectOption should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:463:6 revive exported: exported type Size should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:475:1 revive exported: exported method Size.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:547:1 revive exported: exported function NewCredentials should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/types.go:551:1 revive exported: exported method Credentials.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:14:6 revive exported: exported type FrameBaseOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:19:6 revive exported: exported type FrameCheckOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:24:6 revive exported: exported type FrameClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:29:6 revive exported: exported type FrameDblclickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:34:6 revive exported: exported type FrameFillOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:39:6 revive exported: exported type FrameGotoOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:45:6 revive exported: exported type FrameHoverOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:50:6 revive exported: exported type FrameInnerHTMLOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:54:6 revive exported: exported type FrameInnerTextOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:58:6 revive exported: exported type FrameInputValueOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:62:6 revive exported: exported type FrameIsCheckedOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:66:6 revive exported: exported type FrameIsDisabledOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:70:6 revive exported: exported type FrameIsEditableOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:74:6 revive exported: exported type FrameIsEnabledOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:78:6 revive exported: exported type FrameIsHiddenOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:82:6 revive exported: exported type FrameIsVisibleOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:86:6 revive exported: exported type FramePressOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:91:6 revive exported: exported type FrameSelectOptionOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:96:6 revive exported: exported type FrameSetContentOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:101:6 revive exported: exported type FrameTapOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:107:6 revive exported: exported type FrameTextContentOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:111:6 revive exported: exported type FrameTypeOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:116:6 revive exported: exported type FrameUncheckOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:121:6 revive exported: exported type FrameWaitForFunctionOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:127:6 revive exported: exported type FrameWaitForLoadStateOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:131:6 revive exported: exported type FrameWaitForNavigationOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:137:6 revive exported: exported type FrameWaitForSelectorOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:143:1 revive exported: exported function NewFrameBaseOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:150:1 revive exported: exported method FrameBaseOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:166:1 revive exported: exported function NewFrameCheckOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:173:1 revive exported: exported method FrameCheckOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:190:1 revive exported: exported function NewFrameClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:197:1 revive exported: exported method FrameClickOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:214:1 revive exported: exported function NewFrameDblClickOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:221:1 revive exported: exported method FrameDblclickOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:238:1 revive exported: exported function NewFrameFillOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:245:1 revive exported: exported method FrameFillOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:262:1 revive exported: exported function NewFrameGotoOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:270:1 revive exported: exported method FrameGotoOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:291:1 revive exported: exported function NewFrameHoverOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:298:1 revive exported: exported method FrameHoverOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:315:1 revive exported: exported function NewFrameInnerHTMLOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:321:1 revive exported: exported method FrameInnerHTMLOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:328:1 revive exported: exported function NewFrameInnerTextOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:334:1 revive exported: exported method FrameInnerTextOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:341:1 revive exported: exported function NewFrameInputValueOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:347:1 revive exported: exported method FrameInputValueOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:354:1 revive exported: exported function NewFrameIsCheckedOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:360:1 revive exported: exported method FrameIsCheckedOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:367:1 revive exported: exported function NewFrameIsDisabledOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:373:1 revive exported: exported method FrameIsDisabledOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:380:1 revive exported: exported function NewFrameIsEditableOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:386:1 revive exported: exported method FrameIsEditableOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:393:1 revive exported: exported function NewFrameIsEnabledOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:399:1 revive exported: exported method FrameIsEnabledOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:406:1 revive exported: exported function NewFrameIsHiddenOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:412:1 revive exported: exported method FrameIsHiddenOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:419:1 revive exported: exported function NewFrameIsVisibleOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:425:1 revive exported: exported method FrameIsVisibleOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:432:1 revive exported: exported function NewFramePressOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:439:1 revive exported: exported method FramePressOptions.ToKeyboardOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:445:1 revive exported: exported function NewFrameSelectOptionOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:452:1 revive exported: exported method FrameSelectOptionOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:469:1 revive exported: exported function NewFrameSetContentOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:476:1 revive exported: exported method FrameSetContentOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:497:1 revive exported: exported function NewFrameTapOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:505:1 revive exported: exported method FrameTapOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:528:1 revive exported: exported function NewFrameTextContentOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:534:1 revive exported: exported method FrameTextContentOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:541:1 revive exported: exported function NewFrameTypeOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:548:1 revive exported: exported method FrameTypeOptions.ToKeyboardOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:554:1 revive exported: exported function NewFrameUncheckOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:561:1 revive exported: exported method FrameUncheckOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:578:1 revive exported: exported function NewFrameWaitForFunctionOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:619:1 revive exported: exported function NewFrameWaitForLoadStateOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:625:1 revive exported: exported method FrameWaitForLoadStateOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:639:1 revive exported: exported function NewFrameWaitForNavigationOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:647:1 revive exported: exported method FrameWaitForNavigationOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:668:1 revive exported: exported function NewFrameWaitForSelectorOptions should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame_options.go:676:1 revive exported: exported method FrameWaitForSelectorOptions.Parse should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/hooks.go:9:6 revive exported: exported type HookID should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/hooks.go:12:2 revive exported: exported const HookApplySlowMo should have comment (or a comment on this block) or be unexported -vendor/github.com/grafana/xk6-browser/common/hooks.go:15:6 revive exported: exported type Hook should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/hooks.go:17:6 revive exported: exported type Hooks should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/hooks.go:43:1 revive exported: exported function NewHooks should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/hooks.go:55:1 revive exported: exported method Hooks.Get should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/hooks.go:61:1 revive exported: exported method Hooks.Register should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/connection.go:65:1 revive exported: comment on exported type Connection should be of the form "Connection ..." (with optional leading article) -vendor/github.com/grafana/xk6-browser/common/browser_process.go:18:6 revive exported: exported type BrowserProcess should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/browser_process.go:39:1 revive exported: exported function NewBrowserProcess should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:429:1 revive exported: exported method Page.DispatchEvent should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:440:1 revive exported: exported method Page.EmulateMedia should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:493:1 revive exported: exported method Page.EvaluateHandle should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:509:1 revive exported: exported method Page.Fill should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:515:1 revive exported: exported method Page.Focus should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:532:1 revive exported: exported method Page.GetAttribute should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:573:1 revive exported: exported method Page.Hover should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:579:1 revive exported: exported method Page.InnerHTML should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:585:1 revive exported: exported method Page.InnerText should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:591:1 revive exported: exported method Page.InputValue should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:597:1 revive exported: exported method Page.IsClosed should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:604:1 revive exported: exported method Page.IsDisabled should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:610:1 revive exported: exported method Page.IsEditable should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:616:1 revive exported: exported method Page.IsEnabled should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:622:1 revive exported: exported method Page.IsHidden should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:628:1 revive exported: exported method Page.IsVisible should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:672:1 revive exported: exported method Page.Press should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:678:1 revive exported: exported method Page.Query should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:684:1 revive exported: exported method Page.QueryAll should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:786:1 revive exported: exported method Page.SelectOption should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:792:1 revive exported: exported method Page.SetContent should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:840:1 revive exported: exported method Page.Tap should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:846:1 revive exported: exported method Page.TextContent should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:852:1 revive exported: exported method Page.Title should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/page.go:859:1 revive exported: exported method Page.Type should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:758:1 revive exported: exported method ElementHandle.ContentFrame should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:774:1 revive exported: exported method ElementHandle.Dblclick should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:790:1 revive exported: exported method ElementHandle.DispatchEvent should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:803:1 revive exported: exported method ElementHandle.Fill should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:899:1 revive exported: exported method ElementHandle.InputValue should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1008:1 revive exported: exported method ElementHandle.Press should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1168:1 revive exported: exported method ElementHandle.Screenshot should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1183:1 revive exported: exported method ElementHandle.ScrollIntoViewIfNeeded should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1195:1 revive exported: exported method ElementHandle.SelectOption should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1219:1 revive exported: exported method ElementHandle.SelectText should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1241:1 revive exported: exported method ElementHandle.Tap should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1259:1 revive exported: exported method ElementHandle.TextContent should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1291:1 revive exported: exported method ElementHandle.WaitForElementState should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1303:1 revive exported: exported method ElementHandle.WaitForSelector should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame.go:29:6 revive exported: exported type DocumentInfo should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame.go:827:1 revive exported: exported method Frame.FrameElement should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/frame.go:1321:1 revive exported: exported method Frame.QueryAll should have comment or be unexported -vendor/github.com/grafana/xk6-browser/common/browser.go:97:29 unconvert unnecessary conversion -vendor/github.com/grafana/xk6-browser/common/browser_process.go:130:23 unparam `execute` - `ctxCancel` is unused -vendor/github.com/grafana/xk6-browser/common/element_handle.go:327:31 unparam `(*ElementHandle).hover` - `apiCtx` is unused -vendor/github.com/grafana/xk6-browser/common/element_handle.go:608:29 unparam `(*ElementHandle).tap` - `apiCtx` is unused -vendor/github.com/grafana/xk6-browser/common/frame_session.go:881:41 unparam `(*FrameSession).onTargetCrashed` - `event` is unused -vendor/github.com/grafana/xk6-browser/common/frame_session.go:893:44 unparam `(*FrameSession).updateEmulateMedia` - `initial` is unused -vendor/github.com/grafana/xk6-browser/common/mouse.go:88:22 unparam `(*Mouse).down` - `x` is unused -vendor/github.com/grafana/xk6-browser/common/mouse.go:118:20 unparam `(*Mouse).up` - `x` is unused -vendor/github.com/grafana/xk6-browser/common/connection.go:216:22 unused func `(*Connection).createSession` is unused -vendor/github.com/grafana/xk6-browser/common/frame.go:139:17 unused func `(*Frame).inflightRequestsLen` is unused -vendor/github.com/grafana/xk6-browser/common/element_handle.go:572:52 asasalint pass []any as any to func h.evalWithScript func(ctx context.Context, opts github.com/grafana/xk6-browser/common.evalOptions, js string, args ...any) (any, error) -vendor/github.com/grafana/xk6-browser/common/connection.go:136:37 bodyclose response body must be closed -vendor/github.com/grafana/xk6-browser/common/browser.go:79:21 contextcheck Function `connect->initEvents` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/browser_context.go:60:21 contextcheck Function `GrantPermissions` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/connection.go:544:15 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/element_handle.go:67:38 contextcheck Function `FrameElement->getFrameElement` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:93:33 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/element_handle.go:73:34 contextcheck Function `boundingBox->position->FrameElement->getFrameElement` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:130:33 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/element_handle.go:260:28 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/element_handle.go:275:33 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/element_handle.go:328:32 contextcheck Function `move` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:429:22 contextcheck Function `BoundingBox->boundingBox->position->FrameElement->getFrameElement` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:479:40 contextcheck Function `comboPress->down` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:609:37 contextcheck Function `tap` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:630:33 contextcheck Function `typ->press->down` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:652:16 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/element_handle.go:746:28 contextcheck Function `click->click->move` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:780:30 contextcheck Function `dblClick->click->move` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1152:15 contextcheck Function `click->click->move` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1323:44 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1427:29 contextcheck Function `clickablePoint` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/execution_context.go:234:20 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/frame.go:531:27 contextcheck Function `click->click->move` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/frame.go:677:26 contextcheck Function `dblClick->click->move` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/frame.go:1942:35 contextcheck Function `waitForSelector->Dispose->dispose` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/frame.go:1975:35 contextcheck Function `waitForSelector->Dispose->dispose` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/frame_session.go:108:36 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/frame_session.go:117:15 contextcheck Function `initEvents->initEvents$1->onFrameDetached->frameDetached->removeChildFramesRecursively->removeFramesRecursively->detach->Dispose->dispose` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/frame_session.go:118:27 contextcheck Function `initFrameTree->handleFrameTree->onFrameNavigated->frameNavigated->removeFramesRecursively->detach->Dispose->dispose` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/frame_session.go:126:31 contextcheck Function `initIsolatedWorld` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/frame_session.go:134:25 contextcheck Function `initOptions->updateViewport` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/frame_session.go:142:25 contextcheck Function `initDomains` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/network_manager.go:87:14 contextcheck Function `initEvents->initEvents$1->handleEvents->onLoadingFinished->emitResponseMetrics->Size->bodySize->fetchBody` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/network_manager.go:88:25 contextcheck Function `initDomains` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/page.go:133:21 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/page.go:244:24 contextcheck Non-inherited new context, use function like `context.WithXXX` instead -vendor/github.com/grafana/xk6-browser/common/page.go:251:25 contextcheck Function `Dispose->dispose` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/worker.go:40:24 contextcheck Function `initEvents` should pass the context parameter -vendor/github.com/grafana/xk6-browser/common/browser.go:236:16 errorlint type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors -vendor/github.com/grafana/xk6-browser/common/browser.go:276:16 errorlint type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors -vendor/github.com/grafana/xk6-browser/common/browser.go:415:15 errorlint type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors -vendor/github.com/grafana/xk6-browser/common/element_handle.go:498:3 exhaustive missing cases in switch of type reflect.Kind: reflect.Invalid, reflect.Bool, reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr, reflect.Float32, reflect.Float64, reflect.Complex64, reflect.Complex128, reflect.Array, reflect.Chan, reflect.Func, reflect.Interface, reflect.Pointer|reflect.Ptr, reflect.Slice, reflect.Struct, reflect.UnsafePointer -vendor/github.com/grafana/xk6-browser/common/element_handle.go:503:5 exhaustive missing cases in switch of type reflect.Kind: reflect.Invalid, reflect.Bool, reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr, reflect.Float32, reflect.Float64, reflect.Complex64, reflect.Complex128, reflect.Array, reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Pointer|reflect.Ptr, reflect.Slice, reflect.Struct, reflect.UnsafePointer -vendor/github.com/grafana/xk6-browser/common/remote_object.go:108:2 exhaustive missing cases in switch of type runtime.Type: runtime.TypeNumber, runtime.TypeBoolean -vendor/github.com/grafana/xk6-browser/common/browser.go:359:38 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/browser.go:362:11 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/connection.go:315:4 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/connection.go:329:4 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/context.go:24:9 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/context.go:47:9 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/element_handle.go:507:6 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/element_handle.go:532:4 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/element_handle.go:552:4 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/element_handle.go:990:2 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1049:3 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/execution_context.go:115:9 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/execution_context.go:324:9 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:242:30 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:400:29 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:410:29 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/page.go:233:2 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/page.go:744:3 forcetypeassert type assertion must be checked -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:48:5 gochecknoglobals frameManagerID is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:32:5 gochecknoglobals colorSchemeToString is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:38:5 gochecknoglobals colorSchemeToID is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:85:5 gochecknoglobals domElementStateToString is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:92:5 gochecknoglobals domElementStateToID is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:190:5 gochecknoglobals imageFormatToString is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:195:5 gochecknoglobals imageFormatToID is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:232:5 gochecknoglobals lifecycleEventToString is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:238:5 gochecknoglobals lifecycleEventToID is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:324:5 gochecknoglobals pollingTypeToString is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:330:5 gochecknoglobals pollingTypeToID is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:393:5 gochecknoglobals reducedMotionToString is a global variable -vendor/github.com/grafana/xk6-browser/common/types.go:398:5 gochecknoglobals reducedMotionToID is a global variable -vendor/github.com/grafana/xk6-browser/common/connection.go:401:7 govet shadow: declaration of "msg" shadows declaration at line 377 -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1435:11 govet shadow: declaration of "err" shadows declaration at line 1392 -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:448:4 govet shadow: declaration of "req" shadows declaration at line 432 -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:223:6 govet shadow: declaration of "err" shadows declaration at line 195 -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:280:17 govet shadow: declaration of "err" shadows declaration at line 274 -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:294:7 govet shadow: declaration of "err" shadows declaration at line 280 -vendor/github.com/grafana/xk6-browser/common/element_handle.go:718:3 nilnil return both the `nil` error and invalid value: use a sentinel error instead -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:623:3 nilnil return both the `nil` error and invalid value: use a sentinel error instead -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:7:2 staticcheck SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. -vendor/github.com/grafana/xk6-browser/common/browser.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/browser_context.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/browser_context_options.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/browser_options.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/browser_process.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/connection.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/consts.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/context.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/device.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/errors.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/event_emitter.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/execution_context.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/frame.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/frame_options.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/frame_session.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/helpers.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/hooks.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/js_handle.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/keyboard.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/keyboard_options.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/kill_linux.go:4:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/locator.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/mouse.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/mouse_options.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/network_manager.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/options.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/page.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/page_options.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/remote_object.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/request.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/response.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/selectors.go:17:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/session.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/timeout.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/touchscreen.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/types.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/worker.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/browser/mapping.go:226:4 govet shadow: declaration of "eh" shadows declaration at line 178 -vendor/github.com/grafana/xk6-browser/browser/mapping.go:232:3 govet shadow: declaration of "eh" shadows declaration at line 178 -vendor/github.com/grafana/xk6-browser/common/js/actions.go:1:1 revive package-comments: should have a package comment -vendor/github.com/grafana/xk6-browser/common/js/selectors.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/storage/storage.go:41:19 forbidigo use of `os.MkdirTemp` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/storage/storage.go:74:19 forbidigo use of `os.RemoveAll` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/storage/storage.go:1:1 revive package-comments: should have a package comment -vendor/github.com/grafana/xk6-browser/chromium/browser_type.go:97:17 forbidigo use of `os.Getenv` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/chromium/browser_type.go:260:42 forbidigo use of `os.Getuid` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/chromium/browser_type.go:402:15 forbidigo use of `os.LookupEnv` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/chromium/browser_type.go:410:14 forbidigo use of `os.LookupEnv` forbidden because "Using anything except Signal and SyscallError from the os package is forbidden" -vendor/github.com/grafana/xk6-browser/chromium/browser.go:1:1 revive package-comments: should have a package comment -vendor/github.com/grafana/xk6-browser/chromium/browser_type.go:129:5 govet shadow: declaration of "err" shadows declaration at line 124 -vendor/github.com/grafana/xk6-browser/chromium/browser_type.go:163:5 govet shadow: declaration of "err" shadows declaration at line 158 -vendor/github.com/grafana/xk6-browser/chromium/browser_type.go:170:7 govet shadow: declaration of "err" shadows declaration at line 158 -vendor/github.com/grafana/xk6-browser/chromium/browser_type.go:1:1 stylecheck ST1000: at least one file in a package should have a package comment -vendor/github.com/grafana/xk6-browser/common/browser_options.go:56:97 nolintlint directive `//nolint:cyclop` is unused for linter "cyclop" -vendor/github.com/grafana/xk6-browser/common/element_handle.go:486:1 nolintlint directive `//nolint:funlen,gocognit,cyclop` is unused for linter "cyclop" -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1382:1 nolintlint directive `//nolint:funlen,gocognit,cyclop` is unused for linter "cyclop" -vendor/github.com/grafana/xk6-browser/common/element_handle.go:1442:20 nolintlint directive `//nolint:nilnil` is unused for linter "nilnil" -vendor/github.com/grafana/xk6-browser/common/element_handle_options.go:128:23 nolintlint directive `//nolint:goconst` is unused for linter "goconst" -vendor/github.com/grafana/xk6-browser/common/frame.go:1736:1 nolintlint directive `//nolint:funlen,cyclop` is unused for linter "cyclop" -vendor/github.com/grafana/xk6-browser/common/frame_manager.go:565:1 nolintlint directive `//nolint:funlen,cyclop` is unused for linter "cyclop" -vendor/github.com/grafana/xk6-browser/common/frame_options.go:598:36 nolintlint directive `//nolint: exhaustive` is unused for linter "exhaustive" -vendor/github.com/grafana/xk6-browser/common/frame_session.go:72:1 nolintlint directive `//nolint:funlen` is unused for linter "funlen" -vendor/github.com/grafana/xk6-browser/common/helpers.go:34:1 nolintlint directive `// nolint: cyclop` should be written without leading space as `//nolint: cyclop` -vendor/github.com/grafana/xk6-browser/common/helpers.go:61:22 nolintlint directive `//nolint: goconst` is unused for linter "goconst" -vendor/github.com/grafana/xk6-browser/common/remote_object.go:106:1 nolintlint directive `//nolint:cyclop` is unused for linter "cyclop" -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:101:1 nolintlint directive `//nolint:funlen,cyclop` is unused for linter "cyclop" -vendor/github.com/grafana/xk6-browser/common/screenshotter.go:122:2 nolintlint directive `// nolint:exhaustive` should be written without leading space as `//nolint:exhaustive` -vendor/github.com/grafana/xk6-browser/browser/mapping.go:177:1 nolintlint directive `//nolint:funlen` is unused for linter "funlen"