Linting: allow nested ternaries
authorRaphaël Jakse <raphael.jakse@univ-grenoble-alpes.fr>
Sun, 5 Apr 2020 18:57:13 +0000 (20:57 +0200)
committerRaphaël Jakse <raphael.jakse@univ-grenoble-alpes.fr>
Sun, 5 Apr 2020 18:57:13 +0000 (20:57 +0200)
.eslintrc.json

index 988e72a6a62ad675dae7f6bf58a05ab61d85e447..c89b2bb1875acbd8d63b14a195371971ac7497a7 100644 (file)
         "no-native-reassign": "off",
         "no-negated-condition": "error",
         "no-negated-in-lhs": "error",
-        "no-nested-ternary": "error",
+        "no-nested-ternary": "off",
         "no-new": "error",
         "no-new-func": "error",
         "no-new-object": "error",