Skip to content
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

Install and Configure Prettier #31

Merged
merged 6 commits into from
May 24, 2024
Merged

Install and Configure Prettier #31

merged 6 commits into from
May 24, 2024

Conversation

callumforrester
Copy link
Contributor

@callumforrester callumforrester commented May 24, 2024

Fixes #28

Add prettier as a dev dependency and add two scripts:

  • yarn format: formats files
  • yarn format-check: reports if files need formatting

Add the latter to CI (part of the lint job), add vscode config for formatting on save.

Run prettier on all relevant files.

@TBThomas56 TBThomas56 merged commit dff2708 into main May 24, 2024
5 checks passed
@callumforrester callumforrester deleted the prettier branch May 24, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code format and styling
2 participants