Skip to content

Commit 4dab772

Browse files
committed
docs: update rules.md
1 parent 7f5e609 commit 4dab772

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/use/configure/rules.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ ESLint comes with a large number of [built-in rules](../../rules/) and you can a
2020

2121
To change a rule's severity, set the rule ID equal to one of these values:
2222

23-
* `"off"` or `0` - turn the rule off
24-
* `"warn"` or `1` - turn the rule on as a warning (doesn't affect exit code)
25-
* `"error"` or `2` - turn the rule on as an error (exit code is 1 when triggered)
23+
* `"off"` or `0` - turn the rule off.
24+
* `"warn"` or `1` - turn the rule on as a warning (doesn't affect exit code).
25+
* `"error"` or `2` - turn the rule on as an error (exit code is 1 when triggered).
2626

2727
Rules are typically set to `"error"` to enforce compliance with the rule during continuous integration testing, pre-commit checks, and pull request merging because doing so causes ESLint to exit with a non-zero exit code.
2828

0 commit comments

Comments
 (0)