chore: update examples to remove deprecated Copy() #1067
Annotations
10 errors and 1 warning
lint-soft:
style.go#L20
Comment should end in a period (godot)
|
lint-soft:
style.go#L32
Comment should end in a period (godot)
|
lint-soft:
style.go#L400
`if !inline` has complex nested blocks (complexity: 8) (nestif)
|
lint-soft:
set.go#L69
`if ok` has complex nested blocks (complexity: 5) (nestif)
|
lint-soft:
get.go#L435
missing cases in switch of type lipgloss.propKey: lipgloss.boldKey, lipgloss.italicKey, lipgloss.underlineKey, lipgloss.strikethroughKey, lipgloss.reverseKey, lipgloss.blinkKey, lipgloss.faintKey, lipgloss.underlineSpacesKey, lipgloss.strikethroughSpacesKey, lipgloss.colorWhitespaceKey, lipgloss.widthKey, lipgloss.heightKey, lipgloss.alignHorizontalKey, lipgloss.alignVerticalKey, lipgloss.paddingTopKey, lipgloss.paddingRightKey, lipgloss.paddingBottomKey, lipgloss.paddingLeftKey, lipgloss.marginTopKey, lipgloss.marginRightKey, lipgloss.marginBottomKey, lipgloss.marginLeftKey, lipgloss.borderStyleKey, lipgloss.borderTopKey, lipgloss.borderRightKey, lipgloss.borderBottomKey, lipgloss.borderLeftKey, lipgloss.inlineKey, lipgloss.maxWidthKey, lipgloss.maxHeightKey, lipgloss.tabWidthKey, lipgloss.transformKey (exhaustive)
|
lint-soft:
get.go#L471
missing cases in switch of type lipgloss.propKey: lipgloss.boldKey, lipgloss.italicKey, lipgloss.underlineKey, lipgloss.strikethroughKey, lipgloss.reverseKey, lipgloss.blinkKey, lipgloss.faintKey, lipgloss.underlineSpacesKey, lipgloss.strikethroughSpacesKey, lipgloss.colorWhitespaceKey, lipgloss.foregroundKey, lipgloss.backgroundKey, lipgloss.alignHorizontalKey, lipgloss.alignVerticalKey, lipgloss.marginBackgroundKey, lipgloss.borderStyleKey, lipgloss.borderTopKey, lipgloss.borderRightKey, lipgloss.borderBottomKey, lipgloss.borderLeftKey, lipgloss.borderTopForegroundKey, lipgloss.borderRightForegroundKey, lipgloss.borderBottomForegroundKey, lipgloss.borderLeftForegroundKey, lipgloss.borderTopBackgroundKey, lipgloss.borderRightBackgroundKey, lipgloss.borderBottomBackgroundKey, lipgloss.borderLeftBackgroundKey, lipgloss.inlineKey, lipgloss.transformKey (exhaustive)
|
lint-soft:
get.go#L506
missing cases in switch of type lipgloss.propKey: lipgloss.boldKey, lipgloss.italicKey, lipgloss.underlineKey, lipgloss.strikethroughKey, lipgloss.reverseKey, lipgloss.blinkKey, lipgloss.faintKey, lipgloss.underlineSpacesKey, lipgloss.strikethroughSpacesKey, lipgloss.colorWhitespaceKey, lipgloss.foregroundKey, lipgloss.backgroundKey, lipgloss.widthKey, lipgloss.heightKey, lipgloss.paddingTopKey, lipgloss.paddingRightKey, lipgloss.paddingBottomKey, lipgloss.paddingLeftKey, lipgloss.marginTopKey, lipgloss.marginRightKey, lipgloss.marginBottomKey, lipgloss.marginLeftKey, lipgloss.marginBackgroundKey, lipgloss.borderStyleKey, lipgloss.borderTopKey, lipgloss.borderRightKey, lipgloss.borderBottomKey, lipgloss.borderLeftKey, lipgloss.borderTopForegroundKey, lipgloss.borderRightForegroundKey, lipgloss.borderBottomForegroundKey, lipgloss.borderLeftForegroundKey, lipgloss.borderTopBackgroundKey, lipgloss.borderRightBackgroundKey, lipgloss.borderBottomBackgroundKey, lipgloss.borderLeftBackgroundKey, lipgloss.inlineKey, lipgloss.maxWidthKey, lipgloss.maxHeightKey, lipgloss.tabWidthKey, lipgloss.transformKey (exhaustive)
|
lint-soft:
set.go#L9
missing cases in switch of type lipgloss.propKey: lipgloss.boldKey, lipgloss.italicKey, lipgloss.underlineKey, lipgloss.strikethroughKey, lipgloss.reverseKey, lipgloss.blinkKey, lipgloss.faintKey, lipgloss.underlineSpacesKey, lipgloss.strikethroughSpacesKey, lipgloss.colorWhitespaceKey, lipgloss.borderTopKey, lipgloss.borderRightKey, lipgloss.borderBottomKey, lipgloss.borderLeftKey, lipgloss.inlineKey (exhaustive)
|
lint-soft:
set.go#L91
missing cases in switch of type lipgloss.propKey: lipgloss.boldKey, lipgloss.italicKey, lipgloss.underlineKey, lipgloss.strikethroughKey, lipgloss.reverseKey, lipgloss.blinkKey, lipgloss.faintKey, lipgloss.underlineSpacesKey, lipgloss.strikethroughSpacesKey, lipgloss.colorWhitespaceKey, lipgloss.borderTopKey, lipgloss.borderRightKey, lipgloss.borderBottomKey, lipgloss.borderLeftKey, lipgloss.inlineKey (exhaustive)
|
lint-soft:
style.go#L570
directive `// nolint:unparam` should be written without leading space as `//nolint:unparam` (nolintlint)
|
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
|