Skip to content

Comment on How I over-engineered my book

Comments

Custom linting is so cheap and easy, why not!

"Please add in this repo, a pre-commit hook in the form of a script that prints all filenames and line numbers on which the hyphenated "open-source" string exists, and if any instances are found, will exit nonzero. Then please install it in `.git/hooks` so commits are blocked until me or an agent removes all the instances, so we never again commit the string "open-source"."

1 minute after hitting enter you've created yourself a guarantee your repo will never again see the string "open-source".

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.