stylelint和eslint的VS插件配置

时间:2020-03-04 17:50:03   收藏:0   阅读:120
"editor.tabSize": 2,
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "html",
        "vue"
    ],
    "eslint.format.enable": true,
    "vetur.format.defaultFormatter.js": "none",
    // stylelint配置
    "stylelint.enable": true,
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    "[scss]": {
        "editor.formatOnSave": true
    },
    "stylelint.autoFixOnSave": true,

 

原文:https://www.cnblogs.com/lianchenxi/p/12410841.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!