diff options
author | isaacs <i@izs.me> | 2020-07-30 00:25:19 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-07-30 01:20:11 +0300 |
commit | f0c4296ff4b6b8e0f4b94a3cac411d75e2d62267 (patch) | |
tree | 6ec351ed5580f32a9b0988c1ef8310ecd3af505c /.eslintrc.json | |
parent | 468bbd3c38951b0b1a64d1501e80c40990660c5b (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.json | 2 |
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 *"] }], |