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

Introduce husky and prettier #4

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Introduce husky and prettier #4

merged 2 commits into from
Oct 22, 2024

Conversation

shaavan
Copy link
Owner

@shaavan shaavan commented Oct 22, 2024

Summary:
This pull request adds lint-staged, Husky, and Prettier to ensure consistent formatting and streamlined pre-commit checks for Markdown files. The existing .yml CI scripts for Markdown linting and spell checking remain unchanged.

Changes:
Husky and lint-staged:

  • Added Husky with a pre-commit hook to automatically run lint-staged.
  • Configured lint-staged to run Prettier on staged Markdown files before each commit.

Prettier:

  • Introduced Prettier for consistent Markdown formatting.
  • Prettier is configured to format Markdown files (.md) according to the project’s style rules.

@shaavan shaavan merged commit 17686f6 into main Oct 22, 2024
2 checks passed
@shaavan shaavan deleted the 241022-prettier branch October 22, 2024 17:59
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.

1 participant