1. Problem description:
First, the error message is:
Trailing spaces not allowed
andNewline required at end of file but not found
Chinese is:
尾随空格不允许
and文件末尾需要换行但未找到
Second, the error page is displayed as:
2. Problem analysis:
Warnings generated when using ESLint
the checksum projectVue
3. Problem solving:
1. Modify the code in the .editorconfig file to: insert_final_newline = false
2. Check the rule for canceling the last blank line in the .eslintrc.js file as: 'eol-last': 0
3. Recompile, there is ESLint
no verification problem;
4. Summary:
First, where there is something wrong or inappropriate, please give me some pointers and exchanges!
Second, if you are interested, you can pay more attention to this column (Vue (Vue2+Vue3) interview must-have column):https://blog.csdn.net/weixin_43405300/category_11525646.html?spm=1001.2014.3001.5482