Skip to content

Commit

Permalink
docs: add title when no configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jun 24, 2024
1 parent e8fdfca commit e804e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/website/expand_templates/linters.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func getName(lc *types.LinterWrapper) string {
if hasSettings(lc.Name) {
name += fmt.Sprintf("[%[1]s](#%[1]s \"%[1]s configuration\")", lc.Name)
} else {
name += fmt.Sprintf("%[1]s[%[2]s](#%[2]s)", spanWithID(lc.Name, "", ""), lc.Name)
name += fmt.Sprintf("%[1]s[%[2]s](#%[2]s \"%[2]s has no configuration\")", spanWithID(lc.Name, "", ""), lc.Name)
}

if lc.OriginalURL != "" {
Expand Down

0 comments on commit e804e7f

Please sign in to comment.