Skip to content

Commit 83ece2a

Browse files
docs: fix typo --rules -> --rule (#17806)
Fix typo: rules -> rule It seems `rules` flag doesn't exist.
1 parent bd8911d commit 83ece2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/use/command-line-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ This option specifies the rules to be used.
279279

280280
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 `/`.
281281

282-
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.
282+
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.
283283

284284
##### `--rule` example
285285

0 commit comments

Comments
 (0)