Prettier Setup (Merge to Service Rewrite Branch) #1094
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR follows #1068 #1084.
To review all the discussions regarding the formatting, please refer to the previous PR.
I created a new PR to maintain a clean and readable branch.
This will be merged to service_rewrite_2023.
Related Issue
For considerations regarding Prettier, please refer to the following GitHub issue: Prettier Issue #1014.
Configuration Options
Our team has carefully chosen these configuration options, which are based on discussions.
To explore more details, please visit the Prettier documentation on options.
How to Run Prettier
You can format your code using Prettier by running the following command:
Auto-Saving
If you wish to enable auto-saving locally, please follow these steps:
Prettier - Code formatter
VSCode extension.The next PR will set up GitHub Actions for Prettier and merge it to
master
branch.