x-stend / x

`x$` is a highly flexible and extendable utility library for JavaScript and TypeScript, designed to streamline the integration and extension of various utility libraries like lodash, moment, and ramda. With `x$`, developers can easily create custom higher-order functions, ensuring adaptability and maintainability in their codebase.
MIT License
0 stars 0 forks source link

[DEVOPS]: Add git hooks to prevent commit of branches with build or test issues #33

Open cstroliadavis opened 5 months ago

cstroliadavis commented 5 months ago

Description

Similar to linting, we want to ensure that code that is committed is of high quality before it is committed to the code base.

Proposed Solution

Add a git hook to prevent committing code that does not build or pass unit tests and unit test coverage successfully.

Benefits

Keeping the code base clean will help reduce bugs and tech debt from getting into the system. Running these checks locally will reduce the workload on the remote server and reduce costs.

Additional Context

n/a