Skip to content

fix: lint issues

fix: lint issues #338

Triggered via push February 7, 2024 14:12
Status Success
Total duration 43s
Artifacts

lint.yml

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

Annotations

7 errors and 2 warnings
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/glamour/glamour. Supported file pattern: go.sum