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
overrides
in the config file, Prettier was not matching dotfiles (files that start with.
). This was fixed in 1.18.1
Commits
-
f7fb04b
Release 1.18.2 -
a90adf4
Fix adding trailing comma in TS tuples (#6199) -
f070f00
Fix method name and missing curly brace (#6196) -
644b419
fix typos and stuff in the 1.18 release blog post (#6191) -
57a93c4
Release 1.18.1 -
277b92a
[release script] Update changelog script -
4483282
Support overrides for dotfiles (#6194) -
8812792
[TypeScript] Add trailing comma for only arrow functions in tsx. (#6190) -
4cc9924
Bump Prettier dependency to 1.18.0 -
3ac90b3
Release 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 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 squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@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:
- 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.