Closed fcard closed 7 years ago
This is a fairly simple non-disruptive change so I was thinking of just merging it, but I want to know if you're down for making this an official policy, @coderofsalvation (I don't mind reinforcing it by myself)
(also sorry if I am distracting you from your work, feel free to take your time)
good idea! I like 'householding' githooks as well.
Not allowing trailing whitespace is a habit I got from other projects... And because of those projects I have my editor configured to show me an annoying red highlight every time there is any left over whitespace. I imagine that to be true of many other people as well. (and since powscript is indent based I think the ideal is to have our editors detect trailing whitespace anyway)
This can probably be automated with a git hook as well. Maybe we should have a
.tools/hooks
directory with a few useful git hooks and a.tools/install_hooks
script to install them.