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

some change in SublimeLinter-contrib-stylelint #4

Closed fengnana closed 8 years ago

fengnana commented 8 years ago

I have some problem when using the SublimeLinter-contrib-stylelint,so i made some changes to fix them,but i am not sure the change i made is right . The one thing i am sure is that, now they are work well in my project. So, if there are some other better solutions please let me know~~

ilikescience commented 8 years ago

@kungfusheep I think these updates would solve a lot of issues that are keeping me from using this — working on scss syntax files, and error position.

kungfusheep commented 8 years ago

Hi - thanks for this, I've added support for sass/scss files just now. I've left the original formatters the same as they were as I'm pretty sure there used to be issues with line numbers in older versions of stylelint. I have, however, made the wrapper now use the stylelint CLI (if available) rather than invoking it via the JS API. So things like line numbers/positions should work exactly as stylelint reports them. Cheers.