Sing's Log

Knowledge worth sharing


  • Home

  • Tags

  • Timeline

  • Portfolio

  • Service

  • Search

VSCode - Fix eslint autofix not work in .vue file

Posted on 2017-06-13 | Edited on 2024-07-16 |
  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 :)

# vscode # IDE # debug # eslint # autofix
What is reverse proxy
Git - Create empty branch
Sing Ming Chen

Sing Ming Chen

Sing's log, a developer's blog

90 posts
259 tags
GitHub E-Mail Linkedin Facebook
© 2024 Sing Ming Chen
Powered by Hexo v3.9.0
|
Theme — NexT.Gemini v6.3.0