Introducing ESLint
In software development, linting is the identification of suspicious code usage using dedicated tools. In a MEAN application, linting can help you avoid common mistakes and coding errors in your daily development cycles; moreover, it will allow you to set a unified code styling across your team. The most commonly used linting tool in our ecosystem is called ESLint. ESLint is a pluggable linting utility originally created by Nicholas C. Zakas in 2013. It allows us to lint our JavaScript code using a set of rules and preset configurations. We'll begin by installing the ESLint package in our application.
Note
It is highly recommended that you learn more about ESLint by visiting the official project page at http://eslint.org/.
Installing ...
Get MEAN Web Development - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.