Skip to content
Permalink
Browse files
docs: fix warn severity description for new config files (#16324)
  • Loading branch information
snitin315 committed Sep 17, 2022
1 parent 504fe59 commit bf7bd885a92046a6b6bcbcaaa1e78e9f2c4b482f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -473,7 +473,7 @@ Each rule specifies its own options and can be any valid JSON data type. Please
There are three possible severities you can specify for a rule

* `"error"` (or `2`) - the reported problem should be treated as an error. When using the ESLint CLI, errors cause the CLI to exit with a nonzero code.
* `"warn"` (or `1`) - the reported problem should be treated as a warning. When using the ESLint CLI, warnings are reported but do not change the exit code. If only errors are reported, the exit code will be 0.
* `"warn"` (or `1`) - the reported problem should be treated as a warning. When using the ESLint CLI, warnings are reported but do not change the exit code. If only warnings are reported, the exit code will be 0.
* `"off"` (or `0`) - the rule should be turned off completely.

#### Rule configuration cascade

0 comments on commit bf7bd88

Please sign in to comment.