* 7920 run tests for trailingComma:es5 option as well
* 7920 example of wrong behavior - comma is always added at the end of the inexact object type
* 7920 add test cases for trailingComma: 'all'
* 7920 fix - do not force trailing comma on explicit inexact type if it has indexer or no properties
* 7920 add changelog
* Treat TSAsExpression as like BinaryishNode
* Change test file extension, as.js => as.ts
* Add tests
* Remove old case for TSAsExpression
* Remove unnecesary condition
* Fix by lint
* Update snapshots
* Add changelog
* Remove convetToBinaryishNode
* Fix comment
* Use getBinaryishNodeNames
* Modify to wrap TSAsExpression with parens
* Fix by lint
* Do not pass operator when node is TSAsExpression
* Refactor shouldNotIndent
* Update util.js
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* refactor css comments
* workarounds for postcss-less location bugs
* improve replaceQuotesInInlineComments
* update changelog
* fix comments in selectors
* fix comments in values
* use \ufffe instead of \0 because that's what these characters are for
see http://www.unicode.org/faq/private_use.html#nonchar6
* fix quoted urls
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* Modify to print dangling comment in type parameters
* Add changelog
* Fix changelog
* Modify to support line comment
* Fix changelog
* Change line to hardline
Previously whitespace strip characters ("~") were omitted after prettier
transformation on handlebars templates becuause the glimmer AST parser
did not expose when whitespace strip characters were used.
Update to the latest glimmer parser which exposes strip flags indicating
when whitespace strip characters are present. Update the glimmer printer
to preserve whitespace strip characters.
* Put space after generator star, not before
* remove pr-7516.md, edit pr-3903.md instead
Because the release blog post will be generated from these files.
* edit pr-3903.md
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* Rudimentary support for the most used directives of AngularJS 1.x
* add ng-class and ng-style
* add changelog entry in the new format
* Update pr-6869.md
* update snapshots
* Format HTML attribute `class` value
* Add more example
* Typo
* Don't break
* exclude mustache and multiparser
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* fix incorrect prettification of multi-line markdown footnote
* update test of footnoteDefinition
* add changelog_unreleased pr-7203
* fix changelog_unreleased
* fix pointed out
* update snapshot test of markdown for footnote
* Fix inconsistent self-closing tag in vue
* Update snap
* Add changelog
* More test
* reword changelog
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* Do not add hard linebreak for html template
* Collapse whitespaces to single space char
* restore line breaking
* use `line` and rename vars
* add test
* support htmlWhitespaceSensitivity
* indent if breakable
* add htmlWhitespaceSensitivity test
* indent only when multiple top levels
* add a changelog entry
* update snapshot
* replace match with test
* split tests into multiple files for better readability of snapshots
* fix an edge case with html-in-js-in-html
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* Remove `normalize-path` module
* Try run all tests on `standalone`
* Restore test
* Add `no-parser-tests`
* Fix issue with shim
* DRY
* Rename tests
* Use `endsWith`