Vue.js 模块警告(来自./node_modules/eslint loader/index.js):警告:解析错误:意外字符;EOF";(更漂亮/更漂亮)在

Vue.js 模块警告(来自./node_modules/eslint loader/index.js):警告:解析错误:意外字符;EOF";(更漂亮/更漂亮)在,vue.js,eol,prettier,Vue.js,Eol,Prettier,我在Visual Studio代码中编译vue模块时遇到问题。在编译过程中,它总是返回相同的警告,尽管我使用的是autoformat。我已经把CRLF改成了LF,但是没用。谁能帮帮我吗 Module Warning (from ./node_modules/eslint-loader/index.js): warning: Parsing error: Unexpected character "EOF" (prettier/prettier) at src\components\ViewEm

我在Visual Studio代码中编译vue模块时遇到问题。在编译过程中,它总是返回相同的警告,尽管我使用的是autoformat。我已经把CRLF改成了LF,但是没用。谁能帮帮我吗


Module Warning (from ./node_modules/eslint-loader/index.js):
warning: Parsing error: Unexpected character "EOF" (prettier/prettier) at src\components\ViewEmployees.vue:34:2:
  32 |   }
  33 | };
> 34 |
     | ^


1 warning found.
解决了的。我忘了在末尾添加标签和新行:-)