官术网_书友最值得收藏!

Installation

First of all, we have to install ESLint as follows:

 npm install --global eslint 

Once the executable is installed, we can run it with the following command:

  eslint source.js

The output will tell us if there are errors within the file.

When we install and run it for the first time, we do not see any errors because it is completely configurable and it does not come with any default rules.

主站蜘蛛池模板: 周宁县| 新野县| 莱芜市| 南丰县| 宝应县| 田林县| 海晏县| 日照市| 明光市| 莱西市| 阜城县| 镇平县| 曲阜市| 广安市| 安顺市| 韶关市| 常山县| 乐山市| 彭泽县| 勐海县| 象山县| 饶阳县| 明光市| 甘泉县| 威信县| 海伦市| 柘荣县| 霍邱县| 东港市| 砀山县| 遂昌县| 金昌市| 富民县| 阳山县| 上蔡县| 南通市| 顺平县| 会理县| 溧阳市| 房山区| 塔城市|