prettier/tests/ternaries
Christopher Chedeau 3097f9b2fe Do not indent nested ternaries (#1822)
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.
2017-05-30 10:08:06 -07:00
..
__snapshots__ Do not indent nested ternaries (#1822) 2017-05-30 10:08:06 -07:00
indent.js Do not indent nested ternaries (#1822) 2017-05-30 10:08:06 -07:00
jsfmt.spec.js Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
parenthesis.js Only add parenthesis on ternaries inside of arrow functions if doesn't break (#1450) 2017-05-01 14:32:52 -07:00
test.js Indent ternaries (#484) 2017-01-26 11:58:40 -08:00