码迷,mamicode.com
首页 > 其他好文 > 详细

vscode下eslint代码规范

时间:2017-05-11 20:26:57      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:validate   mono   ons   format   lan   文件中   icon   profile   tab   

直接上规范吧:

// 将设置放入此文件中以覆盖默认设置
{
    "editor.fontSize": 17,
    "editor.tabSize": 2,
    "editor.formatOnSave": false,
    "files.associations": {
        "*.vue": "vue"
    },
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "html",
        "vue",
        {
            "language": "html",
            "autoFix": true
        }
    ],
    "emmet.syntaxProfiles": {
        "vue-html": "html",
        "vue": [
            "css",
            "html",
            "less"
        ]
    },
    "editor.fontFamily": "Source Code Pro, ‘Courier New‘, monospace",
    "files.autoSave": "off",
    "workbench.iconTheme": "vscode-icons"
}

  

vscode下eslint代码规范

标签:validate   mono   ons   format   lan   文件中   icon   profile   tab   

原文地址:http://www.cnblogs.com/vipzhou/p/6842404.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!