From: Anton Khorev Date: Sun, 9 Mar 2025 14:12:48 +0000 (+0300) Subject: Disable no-else-return eslint rule X-Git-Tag: live~26^2~5 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/53243a347f15f01181c0cfab5e034f9e2695831c?ds=sidebyside;hp=-c Disable no-else-return eslint rule --- 53243a347f15f01181c0cfab5e034f9e2695831c diff --git a/config/eslint.config.mjs b/config/eslint.config.mjs index a24dc08f5..6d695bbf6 100644 --- a/config/eslint.config.mjs +++ b/config/eslint.config.mjs @@ -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",