-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
docs: clarify frozen rule description #19351
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,8 @@ | |
<div class="rule-category"> | ||
<span class="rule-category__icon">❄️ <span class="visually-hidden">Frozen</span></span> | ||
<p class="rule-category__description"> | ||
This rule is currently frozen and is not accepting changes. | ||
This rule is currently frozen and is not accepting <a | ||
href="https://github.com/eslint/eslint/#frozen-rule-updates">feature requests</a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
[Accessibility] From Understanding SC 2.4.4 Link Purpose (In Context): links need to have text that makes sense on their own. This one reads as the text "feature requests" which isn't a very helpful description or title for the page it links to. Two common ways of fixing this are to either:
I'd personally use the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Suggestion] I do find it a little odd to have the eslint.org website link to the GitHub repository. That's not common on rule pages, and certainly not this high up in the page. How about instead linking to a good resource on the website, maybe https://eslint.org/docs/latest/use/core-concepts/glossary#stylistic-rule? |
||
</p> | ||
</div> | ||
{%- endif -%} | ||
|
@@ -70,7 +71,7 @@ | |
<div class="rule-category"> | ||
<span class="rule-category__icon">❄️ <span class="visually-hidden">Frozen</span></span> | ||
<p class="rule-category__description"> | ||
if the rule is currently frozen and not accepting changes. | ||
if the rule is currently frozen and not accepting feature requests. | ||
</p> | ||
</div> | ||
{%- endmacro -%} |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Suggestion] I don't think this change is for the better. My assumption is explicitly making the section about "stylistic" rules better surfaces what they're for. Someone skimming through the ToC and seeing a "frozen rule updates" point won't be informed about why the rules are frozen.