]> git.proxmox.com Git - pve-eslint.git/commitdiff
disable 'no-else-return' rule
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 12:04:10 +0000 (14:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 12:53:28 +0000 (14:53 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/app.js

index 903e8345e7105349a782f6481e4dad343c93b140..509bfad3e76c794a6f586b219d6c2e65b1e3f093 100644 (file)
@@ -138,7 +138,7 @@ const defaultConfig = {
        "no-caller": "error",
        "no-constructor-return": "error",
        "no-div-regex": "error",
-       "no-else-return": "error",
+       //"no-else-return": "warn", // not a real style problem, both can be OK
        "no-empty-function": "error",
        "no-eq-null": "error",
        "no-eval": "error",