prettier/tests/ternaries
Malcolm Groves d480858f01 Fix ternary format in function call (#4368)
* Fix ternary format in fn call

* Formatted to align with linter

* Update jsfmt.spec.js.snap

* Update jsfmt.spec.js.snap

* test: remove obsolete snapshot
2018-08-15 13:29:04 -04:00
..
__snapshots__ Fix ternary format in function call (#4368) 2018-08-15 13:29:04 -04:00
binary.js Handle conditions inside of a ternary (#2228) 2017-06-21 18:17:30 -07:00
func-call.js Fix ternary format in function call (#4368) 2018-08-15 13:29:04 -04:00
indent.js fix(javascript): ternary with `--use-tabs` (#3745) 2018-01-26 10:02:42 +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