Skip to content

Commit

Permalink
docs: Use string rule severity in CLI examples (#15253)
Browse files Browse the repository at this point in the history
  • Loading branch information
platinumazure committed Nov 5, 2021
1 parent 796587a commit c415c04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user-guide/command-line-interface.md
Expand Up @@ -211,9 +211,9 @@ If the rule is defined within a plugin, you have to prefix the rule ID with the

Examples:

eslint --rule 'quotes: [2, double]'
eslint --rule 'guard-for-in: 2' --rule 'brace-style: [2, 1tbs]'
eslint --rule 'jquery/dollar-sign: 2'
eslint --rule 'quotes: [error, double]'
eslint --rule 'guard-for-in: error' --rule 'brace-style: [error, 1tbs]'
eslint --rule 'jquery/dollar-sign: error'

### Fixing problems

Expand Down

0 comments on commit c415c04

Please sign in to comment.