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

APPT-108: Pre-commit hook and pipeline checks #100

Merged
merged 13 commits into from
Aug 9, 2024

Conversation

sambiramairelogic
Copy link
Contributor

@sambiramairelogic sambiramairelogic commented Aug 8, 2024

Creates a husky pre-commit hook which runs lint-staged on commit.
This will run ES Lint and Prettier only over Javascript/Typescript files and only over those which are staged for commit. This avoids running costly commands over the entire codebase on each commit. Husky is configured by the prepare script in package.json, so this hook will be automatically enabled the next time you run npm i.

Also adds ES Lint/Prettier checks to the azure pipelines

@sambiramairelogic sambiramairelogic changed the title APPT-108: Pre-commit hook and github actions APPT-108: Pre-commit hook and pipeline checks Aug 8, 2024
@vicr1 vicr1 merged commit a88b04c into main Aug 9, 2024
1 check passed
@vicr1 vicr1 deleted the APPT-108/pre-commit-and-actions branch August 9, 2024 08:46
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.

2 participants