vscode settings文件配置

{

    "vetur.format.defaultFormatterOptions": {

      "js-beautify-html": {

        // force-aligned | force-expand-multiline

        "wrap_attributes": "force-aligned"

      },

      // --- 解决问题 ---

      "prettier": {

        "semi": true,

        "singleQuote": true

      }

      // --- 解决问题 ---

    },

    "editor.tabSize": 2,

    "prettier.semi": false,

    "beautify.config": {

      "indent_size": 2,

      "brace-style": "collapse,preserve-inline",

      "js": {

        "end_with_newline": true

      }

    },

    "emmet.syntaxProfiles": {

      "vue-html": "html",

      "vue": "html"

    },

    "vetur.validation.template": false,

    "eslint.options": {

      "plugins": ["html"]

    },

    "eslint.validate": [

      "javascript",

      "javascriptreact",

      "html",

      "vue"

    ],

    "typescript.preferences.quoteStyle": "single",

    "javascript.preferences.quoteStyle": "single",

    "prettier.singleQuote": false,

    "files.associations": {

      "*.vue": "vue"

    },

    "window.zoomLevel": 0,

    "prettier.jsxBracketSameLine": true,

    "javascript.implicitProjectConfig.experimentalDecorators": true,

    "git.confirmSync": false,

    "git.enableSmartCommit": true,

    "workbench.activityBar.visible": true

  }

你可能感兴趣的:(vscode settings文件配置)