From 83ece2afc2dc6c49efe82678663fe4cba590c0e5 Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Fri, 1 Dec 2023 18:38:19 +0900 Subject: [PATCH] docs: fix typo `--rules` -> `--rule` (#17806) Fix typo: rules -> rule It seems `rules` flag doesn't exist. --- docs/src/use/command-line-interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/use/command-line-interface.md b/docs/src/use/command-line-interface.md index 4749b7c19ec..d0100aae568 100644 --- a/docs/src/use/command-line-interface.md +++ b/docs/src/use/command-line-interface.md @@ -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