SublimeLinter-contrib-stylelint
SublimeLinter-contrib-stylelint copied to clipboard
Support all valid .stylelintrc files
I think all the stylelint supported config files should be supported by this sublimelinter plugin.
The .stylelintrc file (without extension) can be in JSON or YAML format. Alternately, you can add a filename extension to designate JSON, YAML, or JS format: .stylelintrc.json, .stylelintrc.yaml, .stylelintrc.js. You may want to use an extension so that your text editor can better interpret the file, and help with syntax checking and highlighting.
Currently this plugin does not support other than .stylelintrc files and just silently fails while stylelint itself works.
At least mention in the documentation that other normally supported file namings are not currently supported by SublimeLinter-contrib-stylelint
I spent quite some time debugging what's going on.
Also, if the configuration file is not found, it would be nice to get a relevant error message of it to console.
👍
Yes please!