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

Errors picked up in console but not shown inline #20

Closed jimbateson closed 8 years ago

jimbateson commented 8 years ago

Hi,

After following all of the setup instructions, I opened a file that has an linting error that should be flagged and noticed that although the console suggested stylelint had found an error, there was nothing to suggest inline that the line had an error on it.

This is the output from the console:

SublimeLinter: stylelint output:
CssSyntaxError: c:\users\{username}\appdata\local\temp\SublimeLinter3-bateson.j\notify.css:2:1: Missed semicolon
    at Input.error (C:\Users\{username}\node_modules\postcss\lib\input.js:61:22)
    at Parser.checkMissedSemicolon (C:\Users\{username}\node_modules\postcss\lib\parser.js:495:26)
    at Parser.decl (C:\Users\{username}\node_modules\postcss\lib\parser.js:270:50)
    at Parser.word (C:\Users\{username}\node_modules\postcss\lib\parser.js:135:30)
    at Parser.loop (C:\Users\{username}\node_modules\postcss\lib\parser.js:60:26)
    at parse (C:\Users\{username}\node_modules\postcss\lib\parse.js:26:12)
    at new LazyResult (C:\Users\{username}\node_modules\postcss\lib\lazy-result.js:61:24)
    at Processor.process (C:\Users\{username}\node_modules\postcss\lib\processor.js:34:16)
    at lintString (C:\Users\{username}\node_modules\stylelint\dist\standalone.js:88:9)
    at C:\Users\{username}\node_modules\stylelint\dist\standalone.js:70:14 

I have placed the .stylelintrc config file in my home directory as well as installed postcss andstylelint in there (and in the project directory just in case as I wasn't too sure)

I was just wondering if you had seen an issue like this before or if I need to set anything in my SublimeLinter user settings?

Any help would be much appreciated,

Thanks Jim

Arkkimaagi commented 8 years ago

I'm trying to solve the same problem and I have no idea what's causing this. I'll let you know if I get it solved.

Arkkimaagi commented 8 years ago

Check this issue: https://github.com/kungfusheep/SublimeLinter-contrib-stylelint/issues/25