Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: switch to wrench emoji for auto-fixable rules #16545

Merged
merged 1 commit into from Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/.eleventy.js
Expand Up @@ -247,7 +247,7 @@ module.exports = function(eleventyConfig) {

eleventyConfig.addShortcode("fixable", () => `
<div class="rule-category">
<span class="rule-category__icon">馃洜 <span class="visually-hidden">Fixable</span></span>
<span class="rule-category__icon">馃敡 <span class="visually-hidden">Fixable</span></span>
<p class="rule-category__description">
if some problems reported by the rule are automatically fixable by the <code>--fix</code> command line option
</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/src/_includes/components/rule-categories.macro.html
Expand Up @@ -11,7 +11,7 @@
{%- endif -%}
{%- if params.fixable -%}
<div class="rule-category">
<span class="rule-category__icon">馃洜 <span class="visually-hidden">Fixable</span></span>
<span class="rule-category__icon">馃敡 <span class="visually-hidden">Fixable</span></span>
<p class="rule-category__description">
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
</p>
Expand Down Expand Up @@ -39,7 +39,7 @@

{%- macro fixable() -%}
<div class="rule-category">
<span class="rule-category__icon">馃洜 <span class="visually-hidden">Fixable</span></span>
<span class="rule-category__icon">馃敡 <span class="visually-hidden">Fixable</span></span>
<p class="rule-category__description">
if some problems reported by the rule are automatically fixable by the <code>--fix</code> command line option
</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/_includes/components/rule.macro.html
Expand Up @@ -37,7 +37,7 @@
{%- endif -%}

<p class="rule__categories__type" {% if params.categories.fixable == false %}aria-hidden="true" {%- endif -%}>
馃洜 <span class="visually-hidden">Fix</span>
馃敡 <span class="visually-hidden">Fix</span>
</p>
<p class="rule__categories__type" {% if params.categories.hasSuggestions == false %}aria-hidden="true" {%- endif -%}>
馃挕 <span class="visually-hidden">Suggestions</span>
Expand Down