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

🔧 Tech/add husky #176

Merged
merged 6 commits into from
Jan 7, 2025
Merged

🔧 Tech/add husky #176

merged 6 commits into from
Jan 7, 2025

Conversation

Carolinedanslesnuages
Copy link
Collaborator

No description provided.

@Carolinedanslesnuages Carolinedanslesnuages linked an issue Dec 23, 2024 that may be closed by this pull request
4 tasks
@Baboulinet-33
Copy link
Collaborator

J'ai l'impression qu'il teste le message de commit précédent:

$ git commit -m 'ceci est un message de commit'
[...]

$ git commit -m 'ceci est un message de commit bis'
Running pre-commit checks...
Validating commit message...
⧗   input: ceci est un message de commit
✖   subject may not be empty [subject-empty]
✖   type may not be empty [type-empty]

✖   found 2 problems, 0 warnings
ⓘ   Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint

@thomashbrnrd
Copy link
Collaborator

D'après https://commitlint.js.org/guides/local-setup.html il semblerait qu'il ne faille pas utiliser le hook pre-commitmais plutôt le hook commit-msg de husky. Cela expliquerait pourquoi cela ne semble pas fonctionner.

@Carolinedanslesnuages Carolinedanslesnuages merged commit 595f546 into main Jan 7, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installer Husky
3 participants