prettier/tests/ternaries
Ika 2dd311d554
fix(javascript): indentation for sub-ternaries (#3747)
* test: add test cases

* test: add test cases

* fix(javascript): indentation for sub-ternaries

* test: update test cases

* fix: no extra tab for `tabWidth: 4`
2018-01-16 11:32:25 +08:00
..
__snapshots__ fix(javascript): indentation for sub-ternaries (#3747) 2018-01-16 11:32:25 +08:00
binary.js Handle conditions inside of a ternary (#2228) 2017-06-21 18:17:30 -07:00
indent.js fix(javascript): indentation for sub-ternaries (#3747) 2018-01-16 11:32:25 +08:00
jsfmt.spec.js fix(javascript): indentation for sub-ternaries (#3747) 2018-01-16 11:32:25 +08:00
nested.js Add test for nested ternary with arrow func (#3039) 2017-10-16 09:09:57 +11: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