Skip to content

Commit f743816

Browse files
authored
docs: switch to wrench emoji for auto-fixable rules (#16545)
1 parent bc0547e commit f743816

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

β€Ždocs/.eleventy.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ module.exports = function(eleventyConfig) {
247247

248248
eleventyConfig.addShortcode("fixable", () => `
249249
<div class="rule-category">
250-
<span class="rule-category__icon">πŸ›  <span class="visually-hidden">Fixable</span></span>
250+
<span class="rule-category__icon">πŸ”§ <span class="visually-hidden">Fixable</span></span>
251251
<p class="rule-category__description">
252252
if some problems reported by the rule are automatically fixable by the <code>--fix</code> command line option
253253
</p>

β€Ždocs/src/_includes/components/rule-categories.macro.htmlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{%- endif -%}
1212
{%- if params.fixable -%}
1313
<div class="rule-category">
14-
<span class="rule-category__icon">πŸ›  <span class="visually-hidden">Fixable</span></span>
14+
<span class="rule-category__icon">πŸ”§ <span class="visually-hidden">Fixable</span></span>
1515
<p class="rule-category__description">
1616
Some problems reported by this rule are automatically fixable by the <code>--fix</code> <a href="../user-guide/command-line-interface#--fix">command line</a> option
1717
</p>
@@ -39,7 +39,7 @@
3939

4040
{%- macro fixable() -%}
4141
<div class="rule-category">
42-
<span class="rule-category__icon">πŸ›  <span class="visually-hidden">Fixable</span></span>
42+
<span class="rule-category__icon">πŸ”§ <span class="visually-hidden">Fixable</span></span>
4343
<p class="rule-category__description">
4444
if some problems reported by the rule are automatically fixable by the <code>--fix</code> command line option
4545
</p>

β€Ždocs/src/_includes/components/rule.macro.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{%- endif -%}
3838

3939
<p class="rule__categories__type" {% if params.categories.fixable == false %}aria-hidden="true" {%- endif -%}>
40-
πŸ›  <span class="visually-hidden">Fix</span>
40+
πŸ”§ <span class="visually-hidden">Fix</span>
4141
</p>
4242
<p class="rule__categories__type" {% if params.categories.hasSuggestions == false %}aria-hidden="true" {%- endif -%}>
4343
πŸ’‘ <span class="visually-hidden">Suggestions</span>

0 commit comments

Comments
Β (0)