Skip to content

Commit d1248f1

Browse files
committed
docs: without icon
1 parent 8f7a72b commit d1248f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/docs/usage/linters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Linters
33
---
44

5-
import { FaGithub, FaGitlab, FaLink } from "react-icons/fa";
5+
import { FaGithub, FaGitlab } from "react-icons/fa";
66

77
To see a list of supported linters and which linters are enabled/disabled:
88

scripts/website/expand_templates/linters.go

Lines changed: 1 addition & 1 deletion
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](#%[2]s \"%[1]s configuration\")", name, lc.Name)
9797
} else {
98-
name = fmt.Sprintf("%s&nbsp;%s", lc.Name, "[<FaLink size={'0.8rem'} />](#"+listItemPrefix+lc.Name+")")
98+
name = fmt.Sprintf("%s [%s](#%s)", spanWithID(lc.Name, "", ""), name, lc.Name)
9999
}
100100

101101
if lc.OriginalURL != "" {

0 commit comments

Comments
 (0)