1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-12-18 21:45:04 +01:00

feat: add no-else-return

BREAKING CHANGE: New rule introduced
This commit is contained in:
Théo LUDWIG 2024-02-08 22:24:19 +01:00
parent fce826e24a
commit 8585574a70
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -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",