Skip to content
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

docs: Use string rule severity in CLI examples #15253

Merged
merged 1 commit into from Nov 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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