Skip to content

Commit

Permalink
chore(docs): Add legend on rules listing
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsnik committed Jan 4, 2019
1 parent 9edbf2f commit 9bf6098
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ sidebarDepth: 0

# Available rules

::: tip Legend
:wrench: Indicates that the rule is fixable, and using `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.
:::


## Base Rules (Enabling Correct ESLint Parsing)

Enforce all the rules in this category, as well as all higher priority rules, with:
Expand Down
5 changes: 5 additions & 0 deletions tools/update-docs-rules-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,10 @@ sidebarDepth: 0
<!-- This file is automatically generated in tools/update-docs-rules-index.js, do not change! -->
# Available rules
::: tip Legend
:wrench: Indicates that the rule is fixable, and using \`--fix\` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the reported problems.
:::
${rulesTableContent}`
)

0 comments on commit 9bf6098

Please sign in to comment.