Release notes
*Sourced from [prettier's releases](https://github.com/prettier/prettier/releases).*
> ## 1.15.2
> 🔗 [**Changelog**](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1152)
Changelog
*Sourced from [prettier's changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md).*
> # 1.15.2
>
> [diff](https://github.com/prettier/prettier/compare/1.15.1...1.15.2)
>
> - CLI: allow flag overriding ([#5390](https://github-redirect.dependabot.com/prettier/prettier/pull/5390))
> - JavaScript: do not apply test call formatting to arrow function without body ([#5366](https://github-redirect.dependabot.com/prettier/prettier/pull/5366))
> - JavaScript: do not duplicate comments in styled-components ([#5416](https://github-redirect.dependabot.com/prettier/prettier/pull/5416))
> - JavaScript: do not indent comments behind variable declarations ([#5434](https://github-redirect.dependabot.com/prettier/prettier/pull/5434))
> - JavaScript: inline property decorator should stay inline ([#5364](https://github-redirect.dependabot.com/prettier/prettier/pull/5364), [#5423](https://github-redirect.dependabot.com/prettier/prettier/pull/5423))
> - JavaScript: treat `createSelector` as function composition ([#5430](https://github-redirect.dependabot.com/prettier/prettier/pull/5430))
> - Flow: do not move flow comment for function argument to its body ([#5435](https://github-redirect.dependabot.com/prettier/prettier/pull/5435))
> - Flow: force-break interface body to be consistent with TypeScript interface ([#5432](https://github-redirect.dependabot.com/prettier/prettier/pull/5432))
> - Flow/TypeScript: remove extra indentation for `extends` ([#5432](https://github-redirect.dependabot.com/prettier/prettier/pull/5432))
> - TypeScript: distinguish `module` and `namespace` correctly ([#5432](https://github-redirect.dependabot.com/prettier/prettier/pull/5432))
> - HTML: handle CRLF correctly ([#5393](https://github-redirect.dependabot.com/prettier/prettier/pull/5393))
> - HTML: handle `
` with interpolation ([#5400](https://github-redirect.dependabot.com/prettier/prettier/pull/5400))
> - HTML: preserve content for `\` with unknown `lang` ([#5388](https://github-redirect.dependabot.com/prettier/prettier/pull/5388))
> - HTML: preserve incomplete IE conditional comments ([#5429](https://github-redirect.dependabot.com/prettier/prettier/pull/5429))
> - HTML: preserve unterminated IE conditional comments ([#5424](https://github-redirect.dependabot.com/prettier/prettier/pull/5424))
> - HTML: treat capital element as custom element ([#5395](https://github-redirect.dependabot.com/prettier/prettier/pull/5395))
> - Angular: add missing parens for pipe in ternary ([#5397](https://github-redirect.dependabot.com/prettier/prettier/pull/5397))
> - Angular: correctly print unary expression with operator `+` ([#5405](https://github-redirect.dependabot.com/prettier/prettier/pull/5405))
> - Angular: correctly handle parens ([#5387](https://github-redirect.dependabot.com/prettier/prettier/pull/5387))
> - Angular/Vue: whitespaces between interpolation and text are sensitive ([#5396](https://github-redirect.dependabot.com/prettier/prettier/pull/5396))
> - Vue: do not add invalid semicolon for `v-on` attribute value ([#5418](https://github-redirect.dependabot.com/prettier/prettier/pull/5418))
> - SCSS: do not crash on grid value ([#5394](https://github-redirect.dependabot.com/prettier/prettier/pull/5394))
> - Markdown: handle CRLF correctly ([#5414](https://github-redirect.dependabot.com/prettier/prettier/pull/5414))
> - Markdown: identify CJK correctly ([#5402](https://github-redirect.dependabot.com/prettier/prettier/pull/5402))
> - MDX: treat JSX code block same as in Markdown ([#5391](https://github-redirect.dependabot.com/prettier/prettier/pull/5391))
Commits
- [`4b2d8c1`](https://github.com/prettier/prettier/commit/4b2d8c1b5f0c54b18a3f78809c71d1d864816704) Release 1.15.2
- [`56dc7b0`](https://github.com/prettier/prettier/commit/56dc7b03ec54236587a5ee11487167b57b7eb892) Mention new 1.15 options in the option philosophy ([#5419](https://github-redirect.dependabot.com/prettier/prettier/issues/5419))
- [`7e72889`](https://github.com/prettier/prettier/commit/7e72889ac1344720819fe850c77b1b0c95256f8f) fix(javascript): fix locEnd for VariableDeclaration caused by --no-semi ([#5434](https://github-redirect.dependabot.com/prettier/prettier/issues/5434))
- [`1ce7629`](https://github.com/prettier/prettier/commit/1ce76290c04c7425534e211ecdf4a860b07bf6a8) fix(vue): do not add invalid semicolon for event attr ([#5418](https://github-redirect.dependabot.com/prettier/prettier/issues/5418))
- [`2bb95d8`](https://github.com/prettier/prettier/commit/2bb95d89244eb158317911f2bb81fed272d51ef1) fix(markdown): handle CRLF correctly ([#5414](https://github-redirect.dependabot.com/prettier/prettier/issues/5414))
- [`6cedf7d`](https://github.com/prettier/prettier/commit/6cedf7d5d9770847c1427c8e792b752c2fc3f6f4) fix(flow,ts): consistent interface and remove unnecessary indent for extends ...
- [`e0f74cb`](https://github.com/prettier/prettier/commit/e0f74cb94dd88cef07a525205de2175c7eca6a2d) fix(javascript): do not attach to block if it's not behind right func paren (...
- [`182a92e`](https://github.com/prettier/prettier/commit/182a92eb281f866e53b8e2439ddab124bbe310ca) fix(html): preserve incomplete ie conditional comment ([#5429](https://github-redirect.dependabot.com/prettier/prettier/issues/5429))
- [`8b1260a`](https://github.com/prettier/prettier/commit/8b1260a7704d9b522752b53d7a1c95e1e7a85769) fix(javascript): inline property decorator should stay inline (part 2) ([#5423](https://github-redirect.dependabot.com/prettier/prettier/issues/5423))
- [`cc6899e`](https://github.com/prettier/prettier/commit/cc6899e5c53858ea0b7a2c87ea075dca1166a2d5) fix(css-in-js): do not duplicate comments ([#5416](https://github-redirect.dependabot.com/prettier/prettier/issues/5416))
- Additional commits viewable in [compare view](https://github.com/prettier/prettier/compare/1.15.1...1.15.2)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps prettier from 1.15.1 to 1.15.2.
Release notes
*Sourced from [prettier's releases](https://github.com/prettier/prettier/releases).* > ## 1.15.2 > 🔗 [**Changelog**](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1152)Changelog
*Sourced from [prettier's changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md).* > # 1.15.2 > > [diff](https://github.com/prettier/prettier/compare/1.15.1...1.15.2) > > - CLI: allow flag overriding ([#5390](https://github-redirect.dependabot.com/prettier/prettier/pull/5390)) > - JavaScript: do not apply test call formatting to arrow function without body ([#5366](https://github-redirect.dependabot.com/prettier/prettier/pull/5366)) > - JavaScript: do not duplicate comments in styled-components ([#5416](https://github-redirect.dependabot.com/prettier/prettier/pull/5416)) > - JavaScript: do not indent comments behind variable declarations ([#5434](https://github-redirect.dependabot.com/prettier/prettier/pull/5434)) > - JavaScript: inline property decorator should stay inline ([#5364](https://github-redirect.dependabot.com/prettier/prettier/pull/5364), [#5423](https://github-redirect.dependabot.com/prettier/prettier/pull/5423)) > - JavaScript: treat `createSelector` as function composition ([#5430](https://github-redirect.dependabot.com/prettier/prettier/pull/5430)) > - Flow: do not move flow comment for function argument to its body ([#5435](https://github-redirect.dependabot.com/prettier/prettier/pull/5435)) > - Flow: force-break interface body to be consistent with TypeScript interface ([#5432](https://github-redirect.dependabot.com/prettier/prettier/pull/5432)) > - Flow/TypeScript: remove extra indentation for `extends` ([#5432](https://github-redirect.dependabot.com/prettier/prettier/pull/5432)) > - TypeScript: distinguish `module` and `namespace` correctly ([#5432](https://github-redirect.dependabot.com/prettier/prettier/pull/5432)) > - HTML: handle CRLF correctly ([#5393](https://github-redirect.dependabot.com/prettier/prettier/pull/5393)) > - HTML: handle `Commits
- [`4b2d8c1`](https://github.com/prettier/prettier/commit/4b2d8c1b5f0c54b18a3f78809c71d1d864816704) Release 1.15.2 - [`56dc7b0`](https://github.com/prettier/prettier/commit/56dc7b03ec54236587a5ee11487167b57b7eb892) Mention new 1.15 options in the option philosophy ([#5419](https://github-redirect.dependabot.com/prettier/prettier/issues/5419)) - [`7e72889`](https://github.com/prettier/prettier/commit/7e72889ac1344720819fe850c77b1b0c95256f8f) fix(javascript): fix locEnd for VariableDeclaration caused by --no-semi ([#5434](https://github-redirect.dependabot.com/prettier/prettier/issues/5434)) - [`1ce7629`](https://github.com/prettier/prettier/commit/1ce76290c04c7425534e211ecdf4a860b07bf6a8) fix(vue): do not add invalid semicolon for event attr ([#5418](https://github-redirect.dependabot.com/prettier/prettier/issues/5418)) - [`2bb95d8`](https://github.com/prettier/prettier/commit/2bb95d89244eb158317911f2bb81fed272d51ef1) fix(markdown): handle CRLF correctly ([#5414](https://github-redirect.dependabot.com/prettier/prettier/issues/5414)) - [`6cedf7d`](https://github.com/prettier/prettier/commit/6cedf7d5d9770847c1427c8e792b752c2fc3f6f4) fix(flow,ts): consistent interface and remove unnecessary indent for extends ... - [`e0f74cb`](https://github.com/prettier/prettier/commit/e0f74cb94dd88cef07a525205de2175c7eca6a2d) fix(javascript): do not attach to block if it's not behind right func paren (... - [`182a92e`](https://github.com/prettier/prettier/commit/182a92eb281f866e53b8e2439ddab124bbe310ca) fix(html): preserve incomplete ie conditional comment ([#5429](https://github-redirect.dependabot.com/prettier/prettier/issues/5429)) - [`8b1260a`](https://github.com/prettier/prettier/commit/8b1260a7704d9b522752b53d7a1c95e1e7a85769) fix(javascript): inline property decorator should stay inline (part 2) ([#5423](https://github-redirect.dependabot.com/prettier/prettier/issues/5423)) - [`cc6899e`](https://github.com/prettier/prettier/commit/cc6899e5c53858ea0b7a2c87ea075dca1166a2d5) fix(css-in-js): do not duplicate comments ([#5416](https://github-redirect.dependabot.com/prettier/prettier/issues/5416)) - Additional commits viewable in [compare view](https://github.com/prettier/prettier/compare/1.15.1...1.15.2)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.