Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true
}
8 changes: 0 additions & 8 deletions backend/.prettierrc.js

This file was deleted.

8 changes: 0 additions & 8 deletions frontend/.prettierrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion wiki/Onboarding/Testing and CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is information about running unit-tests on your code, and linting your code
1. Open terminal and `cd frontend` or `cd backend` depending on which folder you are testing
2. Run `yarn run test` to run unit tests
3. Run `yarn run lint` to lint; Run `yarn run lint:fix` to fix linting;
4. Run `yarn run prettier` to test for prettier; Run `yarn run prettify` to fix prettier issues;
4. Run `yarn run prettier` to test for prettier; Run `yarn run prettier:write` to fix prettier issues;

To update the Jest snapshots (e.g. when updating the UI) and pass all the frontend tests:

Expand Down
Loading