Skip to content

Commit

Permalink
chore: replace emoji by icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jun 26, 2024
1 parent 3fcc9ef commit 2b8e3f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/docs/usage/linters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Linters
---

import { FaGithub, FaGitlab } from "react-icons/fa";
import { FaGithub, FaGitlab, FaArrowUp } from "react-icons/fa";

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

Expand Down
2 changes: 1 addition & 1 deletion scripts/website/expand_templates/linters.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func getLintersSettingSections(node, nextNode *yaml.Node) (string, error) {

_, _ = fmt.Fprintln(builder, "```")
_, _ = fmt.Fprintln(builder)
_, _ = fmt.Fprintf(builder, "[%s](#%s)\n\n", span("Back to the top", "🔼"), listItemPrefix+nextNode.Content[i].Value)
_, _ = fmt.Fprintf(builder, "[%s](#%s)\n\n", span("Back to the top", "<FaArrowUp />"), listItemPrefix+nextNode.Content[i].Value)
_, _ = fmt.Fprintln(builder)
}

Expand Down

0 comments on commit 2b8e3f0

Please sign in to comment.