Skip to content

Update linter.yml

Update linter.yml #3

Triggered via push February 6, 2025 19:59
Status Failure
Total duration 1m 30s
Artifacts

linter.yml

on: push
Run GolangCI-Lint
1m 20s
Run GolangCI-Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run GolangCI-Lint: addons/generic/generic.go#L20
string `reference` has 4 occurrences, make it a constant (goconst)
Run GolangCI-Lint: addons/intel/e810.go#L119
string `e810` has 4 occurrences, make it a constant (goconst)
Run GolangCI-Lint: pkg/daemon/config.go#L140
string `[global]` has 5 occurrences, make it a constant (goconst)
Run GolangCI-Lint: pkg/event/event.go#L567
cyclomatic complexity 57 of func `(*EventHandler).ProcessEvents` is high (> 45) (gocyclo)
Run GolangCI-Lint: pkg/daemon/daemon.go#L434
cyclomatic complexity 46 of func `(*Daemon).applyNodePtpProfile` is high (> 45) (gocyclo)
Run GolangCI-Lint: pkg/debug/debug.go#L9
exported: exported const DpllKey should have comment (or a comment on this block) or be unexported (revive)
Run GolangCI-Lint: pkg/debug/debug_test.go#L8
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Run GolangCI-Lint: pkg/protocol/type.go#L19
exported: exported type GrandmasterSettings should have comment or be unexported (revive)
Run GolangCI-Lint: pkg/protocol/type.go#L24
exported: exported type TimePropertiesDS should have comment or be unexported (revive)
Run GolangCI-Lint: pkg/protocol/type.go#L62
exported: exported method GrandmasterSettings.ValueRegEx should have comment or be unexported (revive)