簡體   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