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

时间:2018-11-15 00:37:28

标签: vue.js visual-studio-code eslint prettier

错误:

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)未显示错误名称。我想禁用此规则,但是不能。

0 个答案:

没有答案