summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 22:44:27 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 22:44:27 +0300
commit91b3361884b78b5024bf7b4815009aab8e80fb89 (patch)
treeca2bd67a5752a33a2ed7684a47860814999c298e /src/rules
parent5b981c978875f8dd9f4be091631f38783d973eff (diff)
downloadeslint-config-91b3361884b78b5024bf7b4815009aab8e80fb89.tar.xz
eslint-config-91b3361884b78b5024bf7b4815009aab8e80fb89.zip
feat(eslint): Rule "no-nested-ternary"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index dd4523a..dc3a90a 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -227,6 +227,9 @@
"no-negated-in-lhs": [
"off"
],
+ "no-nested-ternary": [
+ "error"
+ ],
"no-spaced-func": [
"off"
],