Skip to content

Commit 1610c9e

Browse files
authored
docs: add missing backticks to no-else-return (#19309)
1 parent df409d8 commit 1610c9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/rules/no-else-return.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ function foo() {
1919

2020
## Rule Details
2121

22-
This rule is aimed at highlighting an unnecessary block of code following an `if` containing a return statement. As such, it will warn when it encounters an `else` following a chain of `if`s, all of them containing a `return` statement.
22+
This rule is aimed at highlighting an unnecessary block of code following an `if` containing a `return` statement. As such, it will warn when it encounters an `else` following a chain of `if`s, all of them containing a `return` statement.
2323

2424
## Options
2525

2626
This rule has an object option:
2727

28-
* `allowElseIf: true` (default) allows `else if` blocks after a return
29-
* `allowElseIf: false` disallows `else if` blocks after a return
28+
* `allowElseIf: true` (default) allows `else if` blocks after a `return`
29+
* `allowElseIf: false` disallows `else if` blocks after a `return`
3030

3131
### allowElseIf: true
3232

0 commit comments

Comments
 (0)