Skip to content

Commit

Permalink
Require indentation for values of ternary expressions (indent)
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 22, 2020
1 parent 022e671 commit efc8318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
"ImportDeclaration": 1,
"flatTernaryExpressions": false,
"ignoreComments": false,
"ignoredNodes": ["TemplateLiteral *"]
"ignoredNodes": ["TemplateLiteral *"],
"offsetTernaryExpressions": true
}],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
"keyword-spacing": ["error", { "before": true, "after": true }],
Expand Down

0 comments on commit efc8318

Please sign in to comment.