繁体   English   中英

此eslint规则的名称是:用`替换`⏎·········?

[英]What is the name of this eslint rule: Replace `⏎········ with `?

错误:

https://google.com/#q=prettier%2Fprettier  Replace `⏎················<router-view></router-view>⏎···········` with `·<router-view></router-view>`
[1]   src/assets/views/layouts/App.vue:6:32

该错误显示我的Vue HTML代码的格式如下:

<v-container fluid>
    <router-view></router-view>
</v-container>

像这样格式化代码时,它会通过以下规则:

<v-container fluid> <router-view></router-view> </v-container>

编辑器(VSCode)不显示错误的名称。 我想禁用此规则,但不能。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM