refactor: unexport isDarkColor helper #1759
Annotations
36 errors and 5 warnings
lint / lint (ubuntu-latest):
tree/renderer.go#L133
function max has same name as predeclared identifier (predeclared)
|
lint / lint (ubuntu-latest)
issues found
|
lint / lint (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
lint / lint (windows-latest)
The operation was canceled.
|
lint / lint-soft (ubuntu-latest):
set.go#L708
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L714
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L720
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L741
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L747
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L753
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L774
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L780
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
set.go#L786
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#L708
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L714
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L720
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L741
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L747
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L753
Magic number: 4, in <case> detected (mnd)
|
lint / lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
lint / lint-soft (macos-latest):
set.go#L774
Magic number: 2, in <case> detected (mnd)
|
lint / lint (macos-latest)
The operation was canceled.
|
lint / lint-soft (macos-latest):
set.go#L780
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (macos-latest):
set.go#L786
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#L708
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L714
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L720
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L741
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L747
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L753
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L774
Magic number: 2, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L780
Magic number: 3, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
set.go#L786
Magic number: 4, in <case> detected (mnd)
|
lint / lint-soft (windows-latest):
color.go#L69
Magic number: 16, in <condition> detected (mnd)
|
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)
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
|