vuejs / vetur

Vue tooling for VS Code.
https://vuejs.github.io/vetur/
MIT License
5.75k stars 594 forks source link

prettyhtml eslint rules #983

Open cannap opened 5 years ago

cannap commented 5 years ago

Problem

How can i use eslint config for prettyhtml?

eslint settings

 "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "autoFix": true,
      "language": "vue"
    }
  ],
octref commented 5 years ago

You can't, I don't think you even get linting errors in the JS in templates part, right?

If you are talking about formatting, you should open issues at prettyhtml repo.