-
Notifications
You must be signed in to change notification settings - Fork 3
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
build(npm): fix husky et applique format #198
Conversation
✅ Deploy Preview for ecospheres ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est-ce que ce changement n'applique pas le formatage à tous les fichiers ? L'idée originale était de ne changer que les fichiers staged. Ce qui marche chez moi mais j'ai pu oublier de commiter une conf.
Effectivement ! C'est réglé avec le dernier commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎂
Relates to #191
Amélioration technique
Contexte
Lorsque je commit,
je m'attends à ce que le pre-commit hook applique
npm run format
.Problème
Ce n'est pas le cas, cf. #191
Solution
Quand je commit, tout es bien formatté.
Qu'est-ce qui change ?
Modifications techniques
.
) danslint-staged
.