]> git.openstreetmap.org Git - rails.git/commitdiff
Disable no-else-return eslint rule
authorAnton Khorev <tony29@yandex.ru>
Sun, 9 Mar 2025 14:12:48 +0000 (17:12 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sun, 9 Mar 2025 14:16:05 +0000 (17:16 +0300)
config/eslint.config.mjs

index a24dc08f5e62ffb2727efcd3c05c07003a7ec82a..6d695bbf6c8690479b753687f96b9276fe6d4c2f 100644 (file)
@@ -102,7 +102,6 @@ export default [
       "no-caller": "error",
       "no-console": "warn",
       "no-div-regex": "error",
-      "no-else-return": ["error", { allowElseIf: false }],
       "no-eq-null": "error",
       "no-eval": "error",
       "no-extend-native": "error",