golangci: Enable all supported linters #745
Annotations
11 errors and 1 warning
lint:
cmd/fakemachine/main.go#L37
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
cmd/fakemachine/main.go#L84
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
cmd/fakemachine/main.go#L156
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
machine_test.go#L17
don't use `init` function (gochecknoinits)
|
lint:
cpio/writerhelper.go#L178
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
decompressors.go#L28
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
machine.go#L425
assignOp: replace `m.count = m.count + 1` with `m.count++` (gocritic)
|
lint:
backend.go#L10
Comment should end in a period (godot)
|
lint:
machine.go#L52
Comment should end in a period (godot)
|
lint:
machine.go#L61
Comment should end in a period (godot)
|
allgreen
Process completed with exit code 1.
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/fakemachine/fakemachine. Supported file pattern: go.sum
|