Husky hook for requiring name-indexed doc files.
First, install husky and init it using npx
:
npm i husky && npx husky init && npm run prepare
Then, install require-docs
and add the hook to husky configs:
npm i require-docs && npx require-docs init-hook