To make sure we all keep the same configurations while coding, we need to:
After installing Prettier on your extensions, check if you have those configurations activated by going to File-> Preferences -> Settings and using the search bar to define:
- The Default Formatter to Prettier
- To set Format On Save as the default
- Check if you have Tab Size to 4 to prevent any indentation issues



Finally :), let's add a .prettierrc file to define the use of single quotes and no arrow on single parameter functions.
Go to your local master branch and run git pull to ensure your local project is in sync with the remote repository. Then, branch out from master by using git checkout -b chore/add-prettier-config and submit a PR where this issue will be linked.
Acceptance Criteria:
After setting Prettier as your default code formatter, follow this example to add the .prettierrc configuration file into the project.
To make sure we all keep the same configurations while coding, we need to:
After installing Prettier on your extensions, check if you have those configurations activated by going to
File-> Preferences -> Settingsand using the search bar to define:Finally :), let's add a
.prettierrcfile to define the use of single quotes and no arrow on single parameter functions.Go to your local master branch and run git pull to ensure your local project is in sync with the remote repository. Then, branch out from master by using git checkout -b
chore/add-prettier-configand submit a PR where this issue will be linked.Acceptance Criteria:
After setting Prettier as your default code formatter, follow this example to add the
.prettierrcconfiguration file into the project.