EGI-Federation / documentation

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

Prettier should be declared as pre-commit dependency #640

Closed brucellino closed 4 months ago

brucellino commented 4 months ago

Add prettier as extra dependency of pre-commit

The prettier pre-commit hook which formats code requires the prettier executable to be present. Typically this can be run retrieving prettier on the fly npx prettier but pre-commit doesn't know about that.

So, we need to declare it as additional_dependencies in .pre-commit-config.yaml