Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add .prettierrc configuration file #67

Closed
mariana-caldas opened this issue Jan 7, 2022 · 1 comment · Fixed by #69
Closed

Add .prettierrc configuration file #67

mariana-caldas opened this issue Jan 7, 2022 · 1 comment · Fixed by #69
Assignees

Comments

@mariana-caldas
Copy link
Member

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

1

2

3

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.

@mariana-caldas mariana-caldas added the help wanted Extra attention is needed label Jan 7, 2022
@mariana-caldas mariana-caldas pinned this issue Jan 8, 2022
@mariana-caldas mariana-caldas self-assigned this Jan 31, 2022
@mariana-caldas
Copy link
Member Author

Working on it ;)

@mariana-caldas mariana-caldas removed the help wanted Extra attention is needed label Jan 31, 2022
@mariana-caldas mariana-caldas linked a pull request Jan 31, 2022 that will close this issue
@mariana-caldas mariana-caldas unpinned this issue Jan 31, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant