我有
<p>
"error Irregular whitespace not allowed no-irregular-whitespace"
我该如何修复?
<div> <p>Ankjjdhd asas a sds qwe vsdf fsf ewth lioy nfhfgh</p> <p>sdfsdf ytjyj rtyrty ddgf gsdfgsf in asdsadbfd</p> </div>
这是一个 Eslint 错误,可以通过在 Eslint 插件配置文件中添加
"extends": "eslint:recommended"
这里是Eslint官方网页错误页面的链接。