Skip to content

Commit dad089f

Browse files
authored
Revert prettier update from #25496 (#25606)
This broke the running of prettier on the json files in the repo because the prettier-swagger-plugin no longer compiles as there seems to be a breaking change between prettier 2.x and 3.x. We will need to further investigate this if we want to take this change.
1 parent 725d908 commit dad089f

File tree

2 files changed

+30
-7
lines changed

2 files changed

+30
-7
lines changed

package-lock.json

Lines changed: 28 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
"@azure-tools/typespec-azure-resource-manager": "0.33.0",
88
"@azure-tools/typespec-client-generator-core": "0.33.0",
99
"@azure-tools/typespec-providerhub": "0.33.0",
10+
"@types/prettier": "^2.7.2",
1011
"@typespec/compiler": "0.47.0",
1112
"@typespec/http": "0.47.0",
1213
"@typespec/openapi": "0.47.0",
1314
"@typespec/rest": "0.47.0",
1415
"@typespec/versioning": "0.47.0",
1516
"@azure/avocado": "^0.8.4",
1617
"azure-rest-api-specs-eng-tools": "file:eng/tools",
17-
"prettier": "~3.0.1",
18+
"prettier": "^2.8.8",
1819
"typescript": "~5.1.3"
1920
},
2021
"private": true

0 commit comments

Comments
 (0)