15.Eslint检测错误提示及处理
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了15.Eslint检测错误提示及处理相关的知识,希望对你有一定的参考价值。
参考技术A 1.Trailing spaces not allowed2.Expected linebreaks to be "LF" but found "CRLF"
3.Missing semicolon
4.Missing trailing comma
5.Unexpected use of file extension "vue" for "./xxx/****.vue"
6.Unexpected use of file extension "js" for "./xxx/****.js"
7.Unexpected console statement
8.axios跨域问题
has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
9.Unexpected string concatenation
以上是关于15.Eslint检测错误提示及处理的主要内容,如果未能解决你的问题,请参考以下文章