Commit Graph
7 Commits
Author SHA1 Message Date
Zaven Muradyan 4e46f92b86 Add formatting for i18n attributes. (#6695)
* Add formatting for i18n attributes.

Previously, Prettier would largely ignore i18n attributes, not even
wrapping their content, which wasn't ideal since i18n descriptive text
can sometimes get long.

After this, Prettier will auto-wrap the contents of i18n attributes once
they exceed the line length.

Fixes #5875.
2019-10-25 22:10:43 +03:00
Zaven Muradyan 887f800651 fix(angular): don't add unnecessary parentheses to pipes (#5929) 2019-03-13 09:02:36 +08:00
Ika 2247ce1aab feat(angular): support interpolation in attributes (#5573) 2018-11-30 09:28:54 +08:00
Ika 66ada24961 feat(angular): do not print colon for ngIf (#5542) 2018-11-25 15:43:40 +08:00
Ika 6fafd0a48d fix(angular): correctly print unary expression with + (#5405) 2018-11-10 01:01:18 +08:00
Ika 7f472d72ae fix(angular): handle parens in ng expression correctly (#5387) 2018-11-09 00:06:16 +08:00
Ika 5e8a4a115a feat: support HTML/Vue/Angular (#5259) 2018-11-04 23:03:07 +08:00