-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
MEAN Web Development - Second Edition
By :
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.
It is highly recommended that you learn more about ESLint by visiting the official project page at http://eslint.org/.
Before we can start configuring our ESLint execution, we will need to install the ESLint package using npm. To do that, change your package.json file as follows:
{
"name": "MEAN",
"version": "0.0.11",
"scripts": {
"tsc": "tsc"...