Skip to content

Commit e804e7f

Browse files
committed
docs: add title when no configuration
1 parent e8fdfca commit e804e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/website/expand_templates/linters.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func getName(lc *types.LinterWrapper) string {
9595
if hasSettings(lc.Name) {
9696
name += fmt.Sprintf("[%[1]s](#%[1]s \"%[1]s configuration\")", lc.Name)
9797
} else {
98-
name += fmt.Sprintf("%[1]s[%[2]s](#%[2]s)", spanWithID(lc.Name, "", ""), lc.Name)
98+
name += fmt.Sprintf("%[1]s[%[2]s](#%[2]s \"%[2]s has no configuration\")", spanWithID(lc.Name, "", ""), lc.Name)
9999
}
100100

101101
if lc.OriginalURL != "" {

0 commit comments

Comments
 (0)