Update set.go #1806
Annotations
31 errors and 6 warnings
lint / lint-soft (ubuntu-latest):
set.go#L724
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L730
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L736
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L757
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L763
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L769
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L790
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L796
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L802
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
color.go#L69
Magic number: 16, in <condition> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L724
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L730
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L736
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L757
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L763
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L769
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L790
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L796
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L802
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
color.go#L69
Magic number: 16, in <condition> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L724
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L730
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L736
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L757
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L763
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L769
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L790
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L796
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L802
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
color.go#L69
Magic number: 16, in <condition> detected (mnd)
|
lint / lint (windows-latest)
issues found
|
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 (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-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\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
|