Annotations
10 errors
lint:
pkg/plugin/resources.go#L32
cognitive complexity 38 of func `(*App).handleReport` is high (> 30) (gocognit)
|
lint:
pkg/plugin/chrome/helpers.go#L54
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
pkg/plugin/dashboard/browser.go#L41
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
pkg/plugin/dashboard/browser.go#L55
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
pkg/plugin/dashboard/browser.go#L58
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
pkg/plugin/dashboard/browser.go#L216
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
pkg/plugin/config/settings.go#L17
Comment should end in a period (godot)
|
lint:
pkg/plugin/config/settings.go#L44
Comment should end in a period (godot)
|
lint:
pkg/plugin/config/settings.go#L87
Comment should end in a period (godot)
|
lint:
pkg/plugin/report/report.go#L152
G203: The used method does not auto-escape HTML. This can potentially lead to 'Cross-site Scripting' vulnerabilities, in case the attacker controls the input. (gosec)
|