kungfusheep / SublimeLinter-contrib-stylelint

this repo is no longer maintained - please see https://github.com/SublimeLinter/SublimeLinter-stylelint
MIT License
116 stars 19 forks source link

Support all valid .stylelintrc files #28

Open Arkkimaagi opened 8 years ago

Arkkimaagi commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

ovitrif commented 7 years ago

👍

tomahl commented 7 years ago

Yes please!