Skip to content

new: driver command #571

new: driver command

new: driver command #571

Triggered via pull request November 3, 2023 15:30
Status Failure
Total duration 55s
Artifacts

lint.yaml

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

Annotations

10 errors and 9 warnings
Lint golang files: pkg/driver/kernel/kernel.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/kernel/kernel.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/kernel/kernel.go#L1
Missed header for check (goheader)
Lint golang files: pkg/driver/kernel/kernel.go#L9
exported: exported type Info should have comment or be unexported (revive)
Lint golang files: pkg/driver/kernel/kernel.go#L16
exported: exported function FetchKernelInfo should have comment or be unexported (revive)
Lint golang files: internal/config/config.go#L21
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/ubuntu.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/ubuntu.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/amzn.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/amzn.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/type/type.go#L7
exported: exported type DriverType should have comment or be unexported (revive)
Lint golang files: pkg/driver/type/type.go#L14
exported: exported function Parse should have comment or be unexported (revive)
Lint golang files: internal/config/config.go#L529
exported: exported function SelectDriver should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/ubuntu.go#L17
var-naming: var ubuntuTargetIdRegex should be ubuntuTargetIDRegex (revive)
Lint golang files: pkg/driver/distro/distro.go#L15
exported: exported var UnsupportedErr should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/distro.go#L17
exported: exported type Distro should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/distro.go#L30
exported: exported function DiscoverDistro should have comment or be unexported (revive)
Lint golang files: cmd/driver/select/doc.go#L17
var-naming: don't use an underscore in package name (revive)
Lint golang files: cmd/driver/driver_linux.go#L3
package-comments: should have a package comment (revive)