linche0859
10/27/2019 - 3:07 PM

local settins

{
  // spacing
  "editor.insertSpaces": true,
  "editor.tabSize": 2,
  "editor.trimAutoWhitespace": true,
  "editor.rulers": [80, 120],
  "editor.wordWrapColumn": 120,
  "editor.wordWrap": "wordWrapColumn",
  "files.trimTrailingWhitespace": true,
  "files.eol": "\n",
  "files.insertFinalNewline": true,
  "files.trimFinalNewlines": true,

  // event triggers
  "editor.formatOnSave": false,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true,
    "source.fixAll.stylelint": true,
    "source.fixAll.markdownlint": true
  },
  "eslint.format.enable": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "vue",
    "vue-html",
    "html"
  ],
  "vetur.format.enable": false,
  "vetur.completion.scaffoldSnippetSources": {
    "user": "🗒️",
    "workspace": "💼",
    "vetur": ""
  },
  "prettier.disableLanguages": [],

  // html
  "html.format.enable": false,
  "html.format.wrapLineLength": 120,
  "html.format.wrapAttributes": "force-aligned",
  "vetur.validation.template": false,
  "emmet.triggerExpansionOnTab": true,
  "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "vue-html": "html",
    "razor": "html",
    "plaintext": "jade"
  },
  "vetur.completion.tagCasing": "initial",

  // javascript
  "javascript.format.enable": false,
  "json.format.enable": false,
  "vetur.validation.script": false
}