Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-07-30 00:25:19 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-07-30 01:20:11 +0300
commitf0c4296ff4b6b8e0f4b94a3cac411d75e2d62267 (patch)
tree6ec351ed5580f32a9b0988c1ef8310ecd3af505c /.eslintrc.json
parent468bbd3c38951b0b1a64d1501e80c40990660c5b (diff)
fix lintfix script, use flat ternaries
PR-URL: https://github.com/npm/cli/pull/1543 Credit: @isaacs Close: #1543 Reviewed-by: @ruyadorno
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 9d213d17c..9347c7d8e 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -62,7 +62,7 @@
"ArrayExpression": 1,
"ObjectExpression": 1,
"ImportDeclaration": 1,
- "flatTernaryExpressions": false,
+ "flatTernaryExpressions": true,
"ignoreComments": false,
"ignoredNodes": ["TemplateLiteral *"]
}],