Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v3 (#7425)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency prettier to v3

* Updated for new API and re-ran format

* Updated snapshots

* lint --fix ish

* Fixed eslint-plugin tests

* 3.0.2

* Corrected prettier/sync dep and snapshots

* Deduplicated versions and removed stub types

* Fix an extraneous dependency

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
  • Loading branch information
renovate[bot] and JoshuaKGoldberg committed Oct 18, 2023
1 parent 34c23e0 commit 0f11c18
Show file tree
Hide file tree
Showing 56 changed files with 890 additions and 698 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"@nx/jest": "16.8.1",
"@nx/linter": "16.8.1",
"@nx/workspace": "16.8.1",
"@prettier/sync": "^0.3.0",
"@swc/core": "^1.3.68",
"@swc/jest": "^0.2.26",
"@types/babel__code-frame": "^7.0.3",
Expand All @@ -74,7 +75,6 @@
"@types/natural-compare": "^1.4.1",
"@types/ncp": "^2.0.5",
"@types/node": "^20.0.0",
"@types/prettier": "^2.7.2",
"@types/semver": "^7.5.0",
"@types/tmp": "^0.2.3",
"console-fail-test": "^0.2.3",
Expand Down Expand Up @@ -107,7 +107,7 @@
"netlify": "^13.1.9",
"nx": "16.8.1",
"nx-cloud": "16.4.0",
"prettier": "^2.8.4",
"prettier": "3.0.3",
"pretty-format": "^29.6.2",
"raw-loader": "^4.0.2",
"rimraf": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/ast-spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"jest-snapshot": "^29.6.2",
"jest-specific-snapshot": "^8.0.0",
"make-dir": "*",
"prettier": "^2.8.4",
"prettier": "^3.0.3",
"pretty-format": "*",
"rimraf": "*",
"typescript": "*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
module A {
export var x = 'hello world';
export class Point {
constructor(public x: number, public y: number) {}
constructor(
public x: number,
public y: number,
) {}
}
export module B {
export interface Id {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0f11c18

Please sign in to comment.