ESLint: Too many blank lines at the end of file. Max of 0 allowed. (no-multiple-empty-lines)

在webstorm写.js文件时,出现错误:

ESLint: Too many blank lines at the end of file. Max of 0 allowed. (no-multiple-empty-lines)

 

解决办法:

安装 ESLint

命令:npm install -g eslint

你可能感兴趣的:(Web)