Repository navigation
ci: use prettier on all types of files it supports - #11842
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
commit: |
PR Code Suggestions ✨Latest suggestions up to 6e9c64a
Previous suggestionsSuggestions up to commit c3a5ab2
Suggestions up to commit 1f4f2e2
Suggestions up to commit dc0d373
✅ Suggestions up to commit 34e4963
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨No code suggestions found for the PR. |
| "prettier": "^2.8.8", | ||
| "prettier": "^3.7.4", | ||
| "prettier-plugin-packagejson": "^2.5.20", | ||
| "prettier-plugin-toml": "^2.0.6", |
There was a problem hiding this comment.
Do we need an entire package for a single toml file which is actually temporary (let's see how long Qodo will last) and rarely updated?
I would not add it for one file.
| @@ -12,7 +8,6 @@ charset = utf-8 | |||
| indent_style = space | |||
| indent_size = 4 | |||
There was a problem hiding this comment.
Since we are changing this file - there's something I wanted to do for quite some time, but didn't want to it until the we made more progress on 1.0: markdown lists are formatted with a lot of space because we didn't set up indent_size = 2 for *.md files.
For sure we want 4 spaces for *.{c,m,}{js,ts}{x,} (all TS/JS extensions - react too in docs), but for all the others, I think we might want 2 - basically for *.{json,md,yml} (we don't have yaml anymore AFAIK).
Deploying typeorm with
|
| Latest commit: |
6e9c64a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://25595acb.typeorm.pages.dev |
| Branch Preview URL: | https://ci-prettier-all.typeorm.pages.dev |
PR Code Suggestions ✨No code suggestions found for the PR. |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more Previous review resultsReview updated until commit 6e9c64a Results up to commit 419df24
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewResults up to commit c2a8131
Great, no issues found!Qodo reviewed your code and found no material issues that require review |
# Conflicts: # .github/copilot-instructions.md # .gitignore # .pr_agent.toml # .prettierrc.json # DEVELOPER.md # docs/docs/data-source/2-data-source-options.md # docs/docs/drivers/mysql.md # docs/docs/drivers/postgres.md # docs/docs/drivers/sap.md # docs/docs/migrations/02-setup.md # docs/src/css/custom.css # package-lock.json # package.json # src/driver/cockroachdb/CockroachQueryRunner.ts # src/driver/mysql/MysqlQueryRunner.ts
PR Code Suggestions ✨No code suggestions found for the PR. |
|
Persistent review updated to latest commit 419df24 |
|
Persistent review updated to latest commit 6e9c64a |
Prettier support many files, and even more with plugins. There is no reason why we should not laverage the full power of it.
How the new setup would affect current code can be seen in #11843 (which should be merged first)