frjo / hugo-theme-zen

A fast and clean Hugo base theme with css-grid and Hugo pipes support.
https://zen-demo.xdeb.org/
GNU General Public License v2.0
264 stars 75 forks source link

Adding pre-commit (ensuring linting on commit)? #91

Closed danielfdickinson closed 1 year ago

danielfdickinson commented 1 year ago

In my forked version of this theme I have a pre-commit configuration that enforces the existing linting on commit and adds more checks.

Would you be interested in a PR implementing a subset of this for this repo/theme?

frjo commented 1 year ago

Thanks for the offer but I do not think I will add it to the theme. Personally I prefer to have the editor nag me to the the right thing from the start and then run checks in CI to make sure when I feel that is needed.

danielfdickinson commented 1 year ago

Ok. I understand. Glad I asked 🙂