Skip to content
Permalink
Browse files
docs: Use string rule severity in CLI examples (#15253)
  • Loading branch information
platinumazure committed Nov 5, 2021
1 parent 796587a commit c415c041912a3abbf106cc5713bdcf4ef42590ac
Showing 1 changed file with 3 additions and 3 deletions.
@@ -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

0 comments on commit c415c04

Please sign in to comment.