6. Code Quality
By the end of this chapter, you will be able to:
- Perform linting and add a lint command to your node project
- Use unit, integration, and end-to-end testing methods on your code
- Automate linting and tests using Git hooks
In this chapter, we will focus on improving code quality, setting up tests, and automating tests to run before a Git commit. These techniques can be used to ensure that mistakes or errors are found early on and never make it to production.