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

Support all valid .stylelintrc files

Open Arkkimaagi opened this issue 8 years ago • 4 comments

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.

Arkkimaagi avatar Apr 27 '16 12:04 Arkkimaagi

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.

Arkkimaagi avatar Apr 27 '16 12:04 Arkkimaagi

Also, if the configuration file is not found, it would be nice to get a relevant error message of it to console.

Arkkimaagi avatar Apr 27 '16 12:04 Arkkimaagi

👍

ovitrif avatar Sep 27 '16 15:09 ovitrif

Yes please!

tomahl avatar Oct 25 '16 19:10 tomahl