Bump prettier from 1.17.1 to 1.18.2 in /backend
Created by: Tirokk
Authored by dependabot-preview[bot] Merged
Bumps prettier from 1.17.1 to 1.18.2.
Changelog
Sourced from prettier's changelog.
1.18.2
TypeScript: only add trailing commas in tuples for
--trailing-comma=all(#6199 by [@duailibe])In Prettier 1.18 we added trailing commas in tuples when
--trailing-comma=all, but it was also adding for--trailing-comma=es5.#6199: #6199 [@duailibe]: https://github.com/duailibe
1.18.1
... (truncated)
TypeScript: Add trailing comma in tsx, only for arrow function (#6190 by [@sosukesuzuki])
Prettier inserts a trailing comma to single type parameter for arrow functions in tsx, since v 1.18. But, this feature inserts a trailing comma to type parameter for besides arrow functions too (e.g, function , interface). This change fix it.
// Input interface Interface1<T> { one: "one"; } function function1<T>() { return "one"; } // Output (Prettier stable) interface Interface1<T,> { one: "one"; } function function1<T,>() { return "one"; } // Output (Prettier master) interface Interface1<T> { one: "one"; } function function1<T>() { return "one"; }Config: Match dotfiles in config overrides (#6194 by [@duailibe])
When using
overridesin the config file, Prettier was not matching dotfiles (files that start with.). This was fixed in 1.18.1
Commits
-
f7fb04bRelease 1.18.2 -
a90adf4Fix adding trailing comma in TS tuples (#6199) -
f070f00Fix method name and missing curly brace (#6196) -
644b419fix typos and stuff in the 1.18 release blog post (#6191) -
57a93c4Release 1.18.1 -
277b92a[release script] Update changelog script -
4483282Support overrides for dotfiles (#6194) -
8812792[TypeScript] Add trailing comma for only arrow functions in tsx. (#6190) -
4cc9924Bump Prettier dependency to 1.18.0 -
3ac90b3Release 1.18.0 - Additional commits viewable in compare view
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.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill 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:
- 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.