From 6dabb60b910d5aa31b83a66f4afe1a7286d1fcca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Sat, 4 Jan 2025 20:47:17 +0900 Subject: [PATCH] docs: add missing backticks to `no-else-return.md` --- docs/src/rules/no-else-return.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/rules/no-else-return.md b/docs/src/rules/no-else-return.md index 379de922b321..a41336553f79 100644 --- a/docs/src/rules/no-else-return.md +++ b/docs/src/rules/no-else-return.md @@ -19,14 +19,14 @@ function foo() { ## Rule Details -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. +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. ## Options This rule has an object option: -* `allowElseIf: true` (default) allows `else if` blocks after a return -* `allowElseIf: false` disallows `else if` blocks after a return +* `allowElseIf: true` (default) allows `else if` blocks after a `return` +* `allowElseIf: false` disallows `else if` blocks after a `return` ### allowElseIf: true pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy