prettier/tests/template
Christopher Chedeau 13f05fb763 Proper indentation for template literals (#1385)
Right now, expressions inside of template literals are have the level of indentation of the start of the template literal. But oftentimes, expressions are nested inside of template literals and therefore the expression should have this level of nesting.

The heuristic i'm using to decide when to use the template literal nesting is if it's not the first line and if there isn't another expression before on the same line.
2017-05-01 14:28:11 -07:00
..
__snapshots__ Proper indentation for template literals (#1385) 2017-05-01 14:28:11 -07:00
call.js [RFC] Do not indent calls with a single template literal argument (#873) 2017-05-01 14:27:00 -07:00
comment.js Fix template literal comments (#1296) 2017-04-17 11:35:12 -04:00
faulty-locations.js Remove faulty location check on template literals that throws in Nuclide (#218) 2017-01-15 23:46:05 -05:00
graphql.js Proper indentation for template literals (#1385) 2017-05-01 14:28:11 -07:00
jsfmt.spec.js Feature/verify against same snapshot (#1087) 2017-03-25 08:10:17 -07:00
parenthesis.js Fix various parenthesis issues on the left side of template (#404) 2017-01-22 15:43:57 -08:00