EGI-Federation / documentation

Sources to build EGI documentation site.
https://docs.egi.eu/
MIT License
13 stars 46 forks source link

Declare prettier as dependency of pre-commit hook #641

Closed brucellino closed 4 months ago

brucellino commented 4 months ago

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 the package.json which was missing.

Related issue :

Closed #640

brucellino commented 4 months ago

woops. Looks like I didn't discard the intermediate commits. Hope you squash this?

brucellino commented 4 months ago

@sebastian-luna-valero ready for review.