SublimeLinter-stylelint icon indicating copy to clipboard operation
SublimeLinter-stylelint copied to clipboard

[Suggestion] Document configuration for .vue files

Open fabd opened this issue 6 years ago • 0 comments

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.

fabd avatar Aug 16 '19 15:08 fabd