stylelint和eslint的VS插件配置

"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,

 

posted @ 2020-03-04 17:36  0恋晨曦0  Views(387)  Comments(0Edit  收藏  举报