![]() This avoids making it seems like it is indented by 4 characters instead of two. The downside is that if the condition is multi-line it's not going to be properly aligned, but I feel it's a better trade-offs. If you are doing nested ternaries, you usually have small conditions. |
||
---|---|---|
.. | ||
__snapshots__ | ||
indent.js | ||
jsfmt.spec.js | ||
parenthesis.js | ||
test.js |