Skip to content

fix: linter errors (#263) #310

fix: linter errors (#263)

fix: linter errors (#263) #310

Triggered via push October 3, 2023 02:28
Status Success
Total duration 42s
Artifacts

lint.yml

on: push
lint-soft
31s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint-soft: ansi/style.go#L141
`cascadeStyles` - `toBlock` always receives `true` (unparam)
lint-soft: ansi/templatehelper.go#L32
mnd: Magic number: 2, in <condition> detected (gomnd)
lint-soft: dracula.go#L12
mnd: Magic number: 2, in <argument> detected (gomnd)
lint-soft: dracula.go#L19
mnd: Magic number: 2, in <argument> detected (gomnd)
lint-soft: dracula.go#L118
mnd: Magic number: 2, in <argument> detected (gomnd)
lint-soft: dracula.go#L22
mnd: Magic number: 2, in <assign> detected (gomnd)
lint-soft: styles.go#L34
mnd: Magic number: 4, in <assign> detected (gomnd)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/glamour/glamour. Supported file pattern: go.sum