Closed mucrow closed 1 year ago
this PR installs a dev dependency called husky which automatically configures git hooks for new contributors.
it also adds a pre-push git hook that runs npm run lint and prevents the push if there are linter errors.
npm run lint
note: people with an existing clone of the repository will not have this git hook. they need to run npm install for this system to be configured.
npm install
this PR installs a dev dependency called husky which automatically configures git hooks for new contributors.
it also adds a pre-push git hook that runs
npm run lint
and prevents the push if there are linter errors.note: people with an existing clone of the repository will not have this git hook. they need to run
npm install
for this system to be configured.