Skip to content

fix(lint): remove ineffectual assignment #1953

fix(lint): remove ineffectual assignment

fix(lint): remove ineffectual assignment #1953

Triggered via push December 12, 2024 16:38
Status Success
Total duration 1m 17s
Artifacts

lint.yml

on: push
Matrix: lint / lint-soft
Matrix: lint / lint
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 8 warnings
lint / lint-soft (ubuntu-latest): set.go#L713
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L719
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L725
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L746
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L752
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L758
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L779
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L785
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): set.go#L791
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): align.go#L33
Magic number: 2, in <operation> detected (mnd)
lint / lint-soft (macos-latest): set.go#L713
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L719
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L725
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L746
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L752
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L758
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L779
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L785
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (macos-latest): set.go#L791
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (macos-latest): align.go#L33
Magic number: 2, in <operation> detected (mnd)
lint / lint-soft (windows-latest): table/util.go#L48
Magic number: 2, in <operation> detected (mnd)
lint / lint-soft (windows-latest): table/util.go#L49
Magic number: 2, in <return> detected (mnd)
lint / lint-soft (windows-latest): set.go#L713
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L719
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L725
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L746
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L752
Magic number: 3, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L758
Magic number: 4, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L779
Magic number: 2, in <case> detected (mnd)
lint / lint-soft (windows-latest): set.go#L785
Magic number: 3, in <case> detected (mnd)
lint / lint (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint-soft (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / lint-soft (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint-soft (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\lipgloss\lipgloss. Supported file pattern: go.sum
lint / lint-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\lipgloss\lipgloss. Supported file pattern: go.sum