[Vuejs]-How to solve a formating conflicts between VS Code auto-format(alt+shift+F) and VueJs default formating(npm run lint) rules?

0👍

You need to set your default formatter in VS Code. Here is how to do it:

  1. Install the ESLint extension
  2. Go to settings and search for "Default formatter"
  3. Select ESLint

VS Code then automatically reads your ESLint configuration from your project and formats the code accordingly

Leave a comment