mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-11-08 19:11:31 +01:00
feat: add no-else-return
BREAKING CHANGE: New rule introduced
This commit is contained in:
parent
fce826e24a
commit
8585574a70
@ -137,6 +137,7 @@
|
|||||||
"no-useless-escape": "error",
|
"no-useless-escape": "error",
|
||||||
"no-useless-rename": "error",
|
"no-useless-rename": "error",
|
||||||
"no-useless-return": "error",
|
"no-useless-return": "error",
|
||||||
|
"no-else-return": ["error", { "allowElseIf": false }],
|
||||||
"no-var": "error",
|
"no-var": "error",
|
||||||
"no-void": "error",
|
"no-void": "error",
|
||||||
"no-with": "error",
|
"no-with": "error",
|
||||||
|
Loading…
Reference in New Issue
Block a user