最終更新:2023-09-14 (木) 15:49:02 (280d)  

no-lonely-if
Top / no-lonely-if

Disallow if statements as the only statement in else blocks

https://eslint.org/docs/latest/rules/no-lonely-if

https://github.com/eslint/eslint/blob/main/lib/rules/no-lonely-if.js