chore(lint): fix and suppress all soft lint issues; update directives

This commit is contained in:
Christian Rocha
2024-10-24 12:35:42 -04:00
parent 7525b8c853
commit 358a6c58c8
11 changed files with 46 additions and 42 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ func (m Model) percentageView(percent float64) string {
return ""
}
percent = math.Max(0, math.Min(1, percent))
percentage := fmt.Sprintf(m.PercentFormat, percent*100) //nolint:gomnd
percentage := fmt.Sprintf(m.PercentFormat, percent*100) //nolint:mnd
percentage = m.PercentageStyle.Inline(true).Render(percentage)
return percentage
}