Skip to content

new: driver command #577

new: driver command

new: driver command #577

Triggered via pull request November 6, 2023 10:01
Status Failure
Total duration 1m 5s
Artifacts

lint.yaml

on: pull_request
Lint golang files
50s
Lint golang files
Enforce go.mod tidiness
53s
Enforce go.mod tidiness
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Lint golang files: pkg/driver/type/kmod.go#L69
sprintfQuotedString: use %q instead of "%s" for quoted strings (gocritic)
Lint golang files: pkg/driver/type/kmod.go#L101
sprintfQuotedString: use %q instead of "%s" for quoted strings (gocritic)
Lint golang files: pkg/driver/type/kmod.go#L114
sprintfQuotedString: use %q instead of "%s" for quoted strings (gocritic)
Lint golang files: pkg/driver/distro/debian.go#L35
regexpSimplify: can re-write `[0-9]+\.[0-9]+\.[0-9]+\-[0-9]+` as `\d+\.\d+\.\d+\-\d+` (gocritic)
Lint golang files: pkg/driver/distro/minikube.go#L56
commentedOutCode: may want to remove commented-out code (gocritic)
Lint golang files: pkg/driver/distro/minikube.go#L36
regexpSimplify: can re-write `([0-9]+(\.[0-9]+){2})` as `(\d+(\.\d+){2})` (gocritic)
Lint golang files: pkg/driver/distro/ubuntu.go#L34
regexpSimplify: can re-write `^\#[0-9]+\~[^-]*-Ubuntu .*$` as `^#\d+\~[^-]*-Ubuntu .*$` (gocritic)
Lint golang files: pkg/driver/kernel/kernel.go#L33
Comment should end in a period (godot)
Lint golang files: pkg/driver/distro/minikube.go#L39
Comment should end in a period (godot)
Lint golang files: pkg/driver/kernel/kernel.go#L2
Actual: 2023 The Falco Authors
Lint golang files: pkg/driver/kernel/kernel.go#L16
package-comments: should have a package comment (revive)
Lint golang files: pkg/driver/type/bpf.go#L16
package-comments: should have a package comment (revive)
Lint golang files: pkg/driver/type/kmod.go#L32
exported: exported type ErrorMissingDep should have comment or be unexported (revive)
Lint golang files: pkg/driver/type/modernbpf.go#L30
unused-parameter: parameter 'printer' seems to be unused, consider removing or renaming it as _ (revive)
Lint golang files: pkg/driver/distro/amzn.go#L16
package-comments: should have a package comment (revive)
Lint golang files: pkg/driver/distro/distro.go#L31
exported: exported const DefaultFalcoRepo should have comment (or a comment on this block) or be unexported (revive)
Lint golang files: cmd/driver/driver_linux.go#L18
package-comments: should have a package comment (revive)