Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to support prettier 3.0 #2157

Merged
merged 30 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
6055a9a
Update to support prettier 3.0.0
timotheeguerin Jul 7, 2023
2f15150
.
timotheeguerin Jul 7, 2023
0cd428c
Fix perf issue
timotheeguerin Jul 7, 2023
0875f97
.
timotheeguerin Jul 7, 2023
d5acc9d
format
timotheeguerin Jul 7, 2023
14cbea3
Fix tests
timotheeguerin Jul 7, 2023
896e464
.
timotheeguerin Jul 7, 2023
ebe2b5c
Fix broken ide
timotheeguerin Jul 7, 2023
aac2398
Merge branch 'main' into prettier-3.0.0
timotheeguerin Jul 7, 2023
e42d28d
tweaks
timotheeguerin Jul 7, 2023
aae7a34
Merge
timotheeguerin Jul 7, 2023
2e59d71
Add test to make sure it works with prettier 2.0
timotheeguerin Jul 7, 2023
0323455
.
timotheeguerin Jul 7, 2023
f4e1c98
wip
timotheeguerin Jul 8, 2023
846a239
wip
timotheeguerin Jul 8, 2023
2c2f0e2
works now
timotheeguerin Jul 8, 2023
df53192
regen third party
timotheeguerin Jul 8, 2023
6a50639
fix migration package
timotheeguerin Jul 10, 2023
2a01160
Deal with crlf in licenses
timotheeguerin Jul 10, 2023
9e9f989
Merge branch 'main' into prettier-3.0.0
timotheeguerin Jul 10, 2023
0d4841a
Merge with main
timotheeguerin Jul 24, 2023
76762ac
Merge branch 'main' of https://github.com/Microsoft/typespec into pre…
timotheeguerin Jul 24, 2023
7ab5a60
Changelog
timotheeguerin Jul 24, 2023
8cee8e8
Merge branch 'main' into prettier-3.0.0
timotheeguerin Jul 27, 2023
9ca4a58
Merge branch 'main' into prettier-3.0.0
timotheeguerin Jul 31, 2023
cfd1491
Merge with main
timotheeguerin Aug 3, 2023
9241dc6
update to 3.0.1 and remove temp types
timotheeguerin Aug 3, 2023
e31df68
format
timotheeguerin Aug 3, 2023
a1b1fb8
Fix eslint
timotheeguerin Aug 3, 2023
fb7ef1a
Changelog
timotheeguerin Aug 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .prettierrc.json
timotheeguerin marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"arrowParens": "always",
"trailingComma": "es5",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filed #2159 to change to the new default of all

"bracketSpacing": true,
"endOfLine": "lf",
"printWidth": 100,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"pluginSearchDirs": ["./packages/compiler"],
"plugins": [
"./packages/prettier-plugin-typespec",
"./packages/compiler/node_modules/prettier-plugin-organize-imports"
"./packages/prettier-plugin-typespec/dist/index.js",
"./packages/compiler/node_modules/prettier-plugin-organize-imports/index.js"
],
"overrides": [
{
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"TYPESPEC_VERBOSE_TEST_OUTPUT": "true",
"NODE_OPTIONS": "--stack-trace-limit=50"
},
"prettier.prettierPath": "./packages/compiler/node_modules/prettier",
"prettier.prettierPath": "./packages/compiler/node_modules/prettier/index.cjs",
"prettier.documentSelectors": ["**/*.tsp"],
"testExplorer.errorDecoration": false,
"typespec.tsp-server.path": "${workspaceFolder}/packages/compiler"
Expand Down
Loading