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

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.

主站蜘蛛池模板: 新田县| 利津县| 聂荣县| 易门县| 贵阳市| 西华县| 治县。| 嘉善县| 兴和县| 元阳县| 长泰县| 永清县| 阆中市| 通辽市| 田东县| 乐陵市| 南投县| 邵阳市| 碌曲县| 喀喇沁旗| 兴安县| 同心县| 萝北县| 乐安县| 日喀则市| 项城市| 罗定市| 万山特区| 巍山| 宜良县| 桃源县| 虞城县| 偃师市| 多伦县| 韩城市| 万源市| 来凤县| 禹州市| 罗田县| 台州市| 辽宁省|