From the course: Node.js: Testing and Code Quality

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Where to go from here?

Where to go from here?

- [Instructor] Code quality is a moving target and I hope that you're interested in learning more. There's a lot of exciting directions that you can go in based on this experience. One of the easiest ways to start improving your code is to implement a coding standard. To save time, just extend an existing coding standard. Keep in mind the ultimate goal, which is to improve code quality. There are some different plugins that can be used with ESLint that I didn't include. For example, requiring valid JavaScript documentation on all functions. ESLint used to include it built-in, but now they've been replaced with a plugin called eslint-plugin-jsdoc that analyzes the contents of docs and makes some great suggestions. Also, consider implementing the Jest plugin, which is eslint-plugin-jest. It enforces best practices and provide some pretty opinionated configurations. Jest is not the only testing framework and there are many…

Contents