September 2017
Intermediate to advanced
450 pages
11h 24m
English
Let's explore how to add ESLint to our Express web server application. We'll start by installing ESLint globally to NPM as well as the mocha-eslint library to our project's package.json file:
npm install mocha-eslint --save-dev
The mocha-eslint library allows us to integrate ESLint directly into our Mocha test runner as its own suite. This way, our linter will automatically run whenever we run our other test suites.
Read now
Unlock full access