1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-09-19 01:25:53 +02: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-rename": "error",
"no-useless-return": "error",
"no-else-return": ["error", { "allowElseIf": false }],
"no-var": "error",
"no-void": "error",
"no-with": "error",