Skip to content

new: driver command #568

new: driver command

new: driver command #568

Triggered via pull request November 3, 2023 14:49
Status Failure
Total duration 59s
Artifacts

lint.yaml

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

Annotations

12 errors and 8 warnings
Enforce go.mod tidiness
Process completed with exit code 1.
Enforce go.mod tidiness
Process completed with exit code 1.
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
error-naming: error var UnsupportedErr should have name of the form ErrFoo (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)