Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Document configuration for .vue files #16

Open
fabd opened this issue Aug 16, 2019 · 0 comments
Open

[Suggestion] Document configuration for .vue files #16

fabd opened this issue Aug 16, 2019 · 0 comments

Comments

@fabd
Copy link

fabd commented Aug 16, 2019

It could be helpful to have the configuration for .vue files, similar to the SublimeLinter-eslint page:

https://github.com/SublimeLinter/SublimeLinter-eslint#using-eslint-with-plugins-eg-vue

I added the stylelint part by deduction:

{
  "linters": {
    "eslint": {
      "selector": "text.html.vue, source.js - meta.attribute-with-value"
    },

    "stylelint": {
      "selector": "text.html.vue, source.css"
    }
  }
}

I'm not 100% sure if it's correct, but appears to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant