Skip to content

Commit

Permalink
docs: fix typo --rules -> --rule (#17806)
Browse files Browse the repository at this point in the history
Fix typo: rules -> rule

It seems `rules` flag doesn't exist.
  • Loading branch information
okuramasafumi committed Dec 1, 2023
1 parent bd8911d commit 83ece2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/use/command-line-interface.md
Expand Up @@ -279,7 +279,7 @@ This option specifies the rules to be used.

These rules are merged with any rules specified with configuration files. If the rule is defined in a plugin, you have to prefix the rule ID with the plugin name and a `/`.

To ignore rules in `.eslintrc` configuration files and only run rules specified in the command line, use the `--rules` flag in combination with the [`--no-eslintrc`](#--no-eslintrc) flag.
To ignore rules in `.eslintrc` configuration files and only run rules specified in the command line, use the `--rule` flag in combination with the [`--no-eslintrc`](#--no-eslintrc) flag.

##### `--rule` example

Expand Down

0 comments on commit 83ece2a

Please sign in to comment.