Skip to content

Commit

Permalink
Revert prettier update from #25496 (#25606)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
weshaggard authored and jnlycklama committed Nov 8, 2023
1 parent fd539f7 commit 86ac60a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
34 changes: 28 additions & 6 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
"@azure-tools/typespec-azure-resource-manager": "0.33.0",
"@azure-tools/typespec-client-generator-core": "0.33.0",
"@azure-tools/typespec-providerhub": "0.33.0",
"@types/prettier": "^2.7.2",
"@typespec/compiler": "0.47.0",
"@typespec/http": "0.47.0",
"@typespec/openapi": "0.47.0",
"@typespec/rest": "0.47.0",
"@typespec/versioning": "0.47.0",
"@azure/avocado": "^0.8.4",
"azure-rest-api-specs-eng-tools": "file:eng/tools",
"prettier": "~3.0.1",
"prettier": "^2.8.8",
"typescript": "~5.1.3"
},
"private": true
Expand Down

0 comments on commit 86ac60a

Please sign in to comment.