EnergySystemsModellingLab / MUSE_OS

Welcome to the MUSE-OS repository
https://muse-os.readthedocs.io/en/latest/
GNU General Public License v3.0
22 stars 8 forks source link

Change to using node-based `markdownlint` `pre-commit` hook #271

Closed alexdewar closed 2 months ago

alexdewar commented 2 months ago

This is what we've done elsewhere, e.g.: https://github.com/ImperialCollegeLondon/poetry_template_2/blob/main/.pre-commit-config.yaml

The problem with using a Ruby-based hook is that developers need to have Ruby installed in order to use it, which is particularly irksome for Windows users. Node-based hooks can be installed without any extra steps though (pre-commit will automatically download it).

alexdewar commented 2 months ago

My bad, this has already been implemented on develop. I didn't notice because I was looking at main.