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

vue启动的时候报错

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


解决方案

安装 ESLint

我用的开发工具vscode,直接安装插件ESLint

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

如果是其他的工具就使用npm install -g eslint