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

feat: 43 create a prettier code format configuration for the monorepo #44

Merged

Conversation

egenerse
Copy link
Collaborator

This PR solves #43

Introduces a project-wide Prettier configuration and integrates a pre-commit hook to ensure consistent code formatting.

Any unformatted changes cause the commit to fail, prompting developers to run npm run format. This ensures all team members maintain a uniform coding style, reducing unnecessary diffs and improving overall code quality.

@egenerse egenerse self-assigned this Dec 17, 2024
@egenerse egenerse linked an issue Dec 17, 2024 that may be closed by this pull request
@egenerse egenerse changed the title 43 create a prettier code format configuration for the monorepo feat: 43 create a prettier code format configuration for the monorepo Dec 17, 2024
Copy link
Collaborator

@kurunbelemir kurunbelemir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should include 'npm run format:check' in Readme file.

@egenerse egenerse merged commit 628072d into main Dec 17, 2024
1 check passed
@egenerse egenerse deleted the 43-create-a-prettier-code-format-configuration-for-the-monorepo branch December 17, 2024 14:13
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.

Create a Prettier code format configuration for the monorepo
2 participants