fix: minor typo in grayscale conversion (#17) #113
Annotations
30 errors and 6 warnings
lint / lint-soft (ubuntu-latest):
env.go#L167
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
|
lint / lint-soft (ubuntu-latest):
writer.go#L38
missing cases in switch of type colorprofile.Profile: colorprofile.ANSI256, colorprofile.ANSI, colorprofile.Ascii (exhaustive)
|
lint / lint-soft (ubuntu-latest):
env.go#L199
Magic number: 2, in <argument> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
profile.go#L86
Magic number: 40, in <argument> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
profile.go#L90
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
profile.go#L91
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
profile.go#L92
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
profile.go#L118
Magic number: 16, in <argument> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
profile.go#L120
Magic number: 232, in <argument> detected (mnd)
|
lint / lint-soft (ubuntu-latest):
writer.go#L98
Magic number: 30, in <argument> detected (mnd)
|
lint / lint-soft (macos-latest):
env.go#L167
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
|
lint / lint-soft (macos-latest):
writer.go#L38
missing cases in switch of type colorprofile.Profile: colorprofile.ANSI256, colorprofile.ANSI, colorprofile.Ascii (exhaustive)
|
lint / lint-soft (macos-latest):
env.go#L199
Magic number: 2, in <argument> detected (mnd)
|
lint / lint-soft (macos-latest):
profile.go#L86
Magic number: 40, in <argument> detected (mnd)
|
lint / lint-soft (macos-latest):
profile.go#L90
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (macos-latest):
profile.go#L91
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (macos-latest):
profile.go#L92
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (macos-latest):
profile.go#L118
Magic number: 16, in <argument> detected (mnd)
|
lint / lint-soft (macos-latest):
profile.go#L120
Magic number: 232, in <argument> detected (mnd)
|
lint / lint-soft (macos-latest):
writer.go#L98
Magic number: 30, in <argument> detected (mnd)
|
lint / lint-soft (windows-latest):
env.go#L167
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
|
lint / lint-soft (windows-latest):
writer.go#L38
missing cases in switch of type colorprofile.Profile: colorprofile.ANSI256, colorprofile.ANSI, colorprofile.Ascii (exhaustive)
|
lint / lint-soft (windows-latest):
env.go#L199
Magic number: 2, in <argument> detected (mnd)
|
lint / lint-soft (windows-latest):
profile.go#L86
Magic number: 40, in <argument> detected (mnd)
|
lint / lint-soft (windows-latest):
profile.go#L90
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (windows-latest):
profile.go#L91
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (windows-latest):
profile.go#L92
Magic number: 255.0, in <argument> detected (mnd)
|
lint / lint-soft (windows-latest):
profile.go#L118
Magic number: 16, in <argument> detected (mnd)
|
lint / lint-soft (windows-latest):
profile.go#L120
Magic number: 232, in <argument> detected (mnd)
|
lint / lint-soft (windows-latest):
writer.go#L98
Magic number: 30, in <argument> detected (mnd)
|
lint / lint-soft (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/colorprofile/colorprofile. Supported file pattern: go.sum
|
lint / lint (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/colorprofile/colorprofile. Supported file pattern: go.sum
|
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/colorprofile/colorprofile. Supported file pattern: go.sum
|
lint / lint-soft (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/colorprofile/colorprofile. Supported file pattern: go.sum
|
lint / lint-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\colorprofile\colorprofile. Supported file pattern: go.sum
|
lint / lint (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\colorprofile\colorprofile. Supported file pattern: go.sum
|