1. Install ESLint extension
  2. Open settings.json by pressing Ctrl,
  3. Add following setting

    1
    2
    3
    "eslint.validate": [
    { "language": "vue", "autoFix": true }
    ]
  4. (Optional) Add "eslint.autoFixOnSave": true for autofix on save.

  5. It should work now, enjoy :)