-
Notifications
You must be signed in to change notification settings - Fork 0
chore!: migrate to prettier 3 and updated plugins (#754) #755
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
Conversation
2771133 to
79c3e1c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR migrates the project from Prettier 2 to Prettier 3, along with updated plugin versions. The changes consist entirely of formatting updates—specifically adding trailing commas to function parameters and multi-line expressions—as required by the updated Prettier configuration.
Key Changes
- Upgraded
prettierfrom v2.8.8 to v3.7.4 - Upgraded
prettier-plugin-organize-importsfrom v3.2.4 to v4.3.0 - Upgraded
eslint-plugin-prettierfrom v4.2.5 to v5.5.4 - Applied consistent trailing comma formatting across all TypeScript files
- Removed extraneous blank line in documentation
Reviewed changes
Copilot reviewed 297 out of 365 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updated prettier and related plugin dependencies to latest versions |
| docs/TRUSTED_PUBLISHING.md | Removed unnecessary blank line |
| Multiple .ts/.tsx files | Applied trailing comma formatting to function parameters and multi-line expressions per Prettier 3 defaults |
* chore!: upgrade non-breaking dependencies compatible with next.js 14 and react 18 (#752) (#753) * chore!: update tanstack packages to latest (#752) * chore!: update isomorphic-dompurify to latest (#752) * chore!: update mui/material to latest (#752) * chore!: update copy-to-clipboard, react-dropzone, react-window, yup (#752) * chore!: update @commitlint/cli, @commitlint/config-conventional (#752) * chore!: updated @emotion/react, @emotion/styled, @emotion/jest to latest (#752) * chore: update @testing-library/react to latest (#742) * chore: update storybook (#752) * chore: update @typescript-eslint/eslint-plugin to latest (#752) * chore: update eslint and eslint-config-prettier (#752) * chore: update eslint-related packages (#752) * chore: minor bump prettier (#752) * chore!: update package-lock (#752) * chore: udpate package-lock (#752) --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com> * chore!: migrate to prettier 3 and updated plugins (#754) (#755) * chore!: update tanstack packages to latest (#752) * chore!: update isomorphic-dompurify to latest (#752) * chore!: update mui/material to latest (#752) * chore!: update copy-to-clipboard, react-dropzone, react-window, yup (#752) * chore!: update @commitlint/cli, @commitlint/config-conventional (#752) * chore!: updated @emotion/react, @emotion/styled, @emotion/jest to latest (#752) * chore: update @testing-library/react to latest (#742) * chore: update storybook (#752) * chore: update @typescript-eslint/eslint-plugin to latest (#752) * chore: update eslint and eslint-config-prettier (#752) * chore: update eslint-related packages (#752) * chore: minor bump prettier (#752) * chore!: update package-lock (#752) * chore: udpate package-lock (#752) * chore: migrate to prettier 3 and updated plugins (#754) --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com> * chore!: update jest v29 (#756) (#757) * chore: update jest v29 (#756) * chore!: rebased (#756) --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com> * chore!: next.js to v15.x (step towards v16) (#714) (#758) * chore!: next.js to v15.x (step towards v16) (#714) * Update src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Closes #754.
This pull request primarily updates dependencies and improves code consistency by ensuring trailing commas are present in function parameter lists and object literals throughout the codebase. These changes help maintain consistent code formatting and reduce potential merge conflicts. Additionally, there are minor documentation and code style improvements.
Dependency updates:
eslint-plugin-prettierto version5.5.4,prettierto3.7.4, andprettier-plugin-organize-importsto4.3.0inpackage.jsonto keep code formatting and linting tools up to date. [1] [2]Code consistency and style:
Documentation:
docs/TRUSTED_PUBLISHING.mdfor clarity in the trusted publishing instructions.