1

配置 Prettierrc VsCode 格式化

 2 years ago
source link: https://surest.cn/archives/181/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

配置 Prettierrc VsCode 格式化

图片描述...

图片描述...

选择 Prettierrc

自定义配置

> vim .prettierrc
{
    "printWidth": 800,
    "singleQuote": true,
    "semi": true,
    "arrowParens": "avoid",
    "tabWidth": 4,
    "useTabs": false,
    "disableLanguages": ["vue"],
} 

自动格式化

图片描述...

https://www.cnblogs.com/oneweek/p/11236515.html

本文由 邓尘锋 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: May 17, 2021 at 10:14 am


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK