Add Prettier

This adds Prettier and makes it replace tsfmt. VSCode is set to use
Prettier for formatting TypeScript/TSX files and format on save since
Prettier is very fast and does not cause any noticeable delay.
This commit is contained in:
Koen Vlaswinkel
2022-10-25 17:10:19 +02:00
parent 6219b43051
commit f41ca1a330
10 changed files with 1639 additions and 1506 deletions

3
.gitattributes vendored
View File

@@ -23,3 +23,6 @@ CHANGELOG.md merge=union
# Mark some JSON files containing test data as generated so they are not included
# as part of diffs or language statistics.
extensions/ql-vscode/src/stories/remote-queries/data/*.json linguist-generated
# Always use LF line endings, also on Windows
* text=auto eol=lf