karlspalding / sass-lint-brunch

Adds sass-lint support to brunch.
MIT License
2 stars 1 forks source link

Output from linter not being printed out #2

Open josemotanet opened 7 years ago

josemotanet commented 7 years ago

Hello Karl,

I've been using sass-lint-brunch and it looks simple and powerful enough, good job. However, I'm noticing that the output from sass-lint itself is not being printed out properly. This makes it hard to debug what's wrong with our CSS.


Here's what shows up when I run brunch watch:

# $ brunch watch

01 Jan 00:00:00 - error: Linting of app/stylesheets/product/details.scss failed.

Now if I explicitly call sass-lint without resorting to Brunch, I get:

# $ sass-lint path/to/**/*.scss

app/stylesheets/product/details.scss
  5:3  warning  Expected `border-bottom`, found `border-top`  property-sort-order
  6:3  warning  Expected `border-top`, found `border-bottom`  property-sort-order

Please do note that my Javascript abilities are scarce. I'm fluent with the language but not the Node ecosystem. However, I'm more than happy to help in any way I can and if you feel you can point me in the right direction to fix this, I'd really appreciate it.

Thank you.