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

Prettier added to the project #55

Merged
merged 4 commits into from
Dec 21, 2024
Merged

Prettier added to the project #55

merged 4 commits into from
Dec 21, 2024

Conversation

Brayden
Copy link
Member

@Brayden Brayden commented Dec 21, 2024

Purpose

Adding .prettierrc.json file to standardize the code style throughout the project. Below are the settings that are being presented in this PR to be used:

{
    "trailingComma": "es5",
    "tabWidth": 4,
    "semi": false,
    "singleQuote": true
}

Also included is a lint-staged step to automatically trigger prettier formatting on the git commit hook.

Tasks

  • Add prettier rules
  • Automatically apply rules on git hook
  • Format existing files

Verify

Before

After

@Brayden Brayden marked this pull request as ready for review December 21, 2024 17:28
@Brayden Brayden added the enhancement New feature or request label Dec 21, 2024
@Brayden Brayden self-assigned this Dec 21, 2024
@Brayden Brayden merged commit 9a6d997 into main Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant