-
Notifications
You must be signed in to change notification settings - Fork 48
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
Declare prettier as dependency of pre-commit hook #641
Conversation
Signed-off-by: Bruce Becker <[email protected]>
Signed-off-by: Bruce Becker <[email protected]>
Signed-off-by: Bruce Becker <[email protected]>
Signed-off-by: Bruce Becker <[email protected]>
Signed-off-by: Bruce Becker <[email protected]>
Signed-off-by: Bruce Becker <[email protected]>
Signed-off-by: Bruce Becker <[email protected]>
Signed-off-by: Bruce Becker <[email protected]>
woops. Looks like I didn't discard the intermediate commits. Hope you squash this? |
Signed-off-by: Bruce Becker <[email protected]>
@sebastian-luna-valero ready for review. |
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.
Working for me, many thanks!
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.
Working locally so good to go
Summary
This adds prettier as a dependency of the prettier pre-commit hook.
Turns out that the prettier configuration wants to be exported as a module, so the
additional-dependencies
in the pre-commit config don't get picked up.I've declared explicit versions of Prettier for the pre-commit hook and added a
devDependencies
key in thepackage.json
which was missing.Related issue :
Closed #640