settings.json (解决.vue文件满屏红色波浪线)

{
    "workbench.colorTheme": "Bear Theme",
    "editor.fontSize": 18,
    "vetur.format.options.tabSize": 4,
    "editor.detectIndentation": false,
    "git.ignoreWindowsGit27Warning": true,
    "[vue]": {
        "editor.defaultFormatter": "octref.vetur"
    },
    "bracketPairColorizer.activeScopeCSS": [
        "borderStyle : solid",
        "borderWidth : 1px",
        "borderColor : {color}; opacity: 0.5"
    ],
    "bracketPairColorizer.scopeLineCSS": [
        "borderStyle : solid",
        "borderWidth : 1px",
        "borderColor : {color}; opacity: 0.5"
    ],
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "vetur.format.defaultFormatter.js": "vscode-typ=script",
    "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
            "wrap_attributes": "auto"
        },
        "prettyhtml": {
            "printWidth": 23000,
            "singleQuote": false,
            "wrapAttributes": false,
            "sortAttributes": false
        }
    },
    "editor.formatOnSave": true,
    "files.autoSave": "afterDelay",
    "files.associations": {
        "*.vue": "vue"
    },
    "vetur.ignoreProjectWarning": true,
    "js/ts.implicitProjectConfig.experimentalDecorators": true,
    "vetur.validation.template": false,
    "eslint.enable": false,
}

全部vue文件出现红色浪线的时候,加下面两行

  "vetur.validation.template": false,
    "eslint.enable": false,

你可能感兴趣的:(settings.json (解决.vue文件满屏红色波浪线))