Skip to content

Commit

Permalink
style: update lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
shiron-dev committed Dec 17, 2024
1 parent c107e54 commit d49a450
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ linters:
disable:
- exportloopref
- depguard
- wrapcheck

issues:
exclude-rules:
Expand All @@ -12,3 +13,4 @@ issues:
- exhaustruct
- gochecknoglobals
- forbidigo
- revive
2 changes: 1 addition & 1 deletion internal/gen/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ type ColorsModel struct {
}

//nolint:funlen
func ColorsModelToJsonModel(model ColorsModel) ColorsJSONModel {
func ColorsModelToJSONModel(model ColorsModel) ColorsJSONModel {
foregroundBorder := model.Foreground + "12"

return ColorsJSONModel{
Expand Down

0 comments on commit d49a450

Please sign in to comment.