diff --git a/docs/rules/index.liquid b/docs/rules/index.liquid index 3bbf0eb20a..9e4c1cf1cd 100644 --- a/docs/rules/index.liquid +++ b/docs/rules/index.liquid @@ -4,13 +4,13 @@ layout: doc ---

Rules

-

Rules in ESLint are grouped by category to help you understand their purpose. Each rule has emojis denoting:

+

Rules in ESLint are grouped by type to help you understand their purpose. Each rule has emojis denoting:

(recommended) if the "extends": "eslint:recommended" property in a configuration file enables the rule

(fixable) if some problems reported by the rule are automatically fixable by the --fix command line option

(hasSuggestions) if some problems reported by the rule are manually fixable by editor suggestions

-{% for category in rules.categories %} -

{{ category.name }}

- {{ category.description }} +{% for type in rules.types %} +

{{ type.displayName }}

+ {{ type.description }} @@ -20,7 +20,7 @@ layout: doc - {% for rule in category.rules %} + {% for rule in type.rules %}
{% if rule.recommended %}(recommended){% endif %} {% if rule.fixable %}(fixable){% endif %}