idok / sass-lint-plugin

SASS Lint plugin for Intellij
https://plugins.jetbrains.com/plugin/8171
MIT License
31 stars 5 forks source link

works for .scss files but not for .sass files #5

Closed googol7 closed 7 years ago

googol7 commented 8 years ago

Created two files:

test.scss - here Sass Lint works properly test.sass - here Sass Lint doesn't work

Please see the screenshots attached.

On the command line sass-lint.js reports the errors correctly for both files:

labor/test.sass 2:13 warning No unit allowed for values of 0 zero-unit 2:24 warning Color 'red' should be written in its hexadecimal form #ff0000 no-color-keywords 2:24 warning Color literals such as 'red' should only be used in variable declarations no-color-literals 2:28 warning !important not allowed no-important 3:1 warning Indentation of 0, expected 2 indentation 5:13 warning No unit allowed for values of 0 zero-unit 5:17 warning !important not allowed no-important 6:1 warning Indentation of 0, expected 2 indentation

✖ 8 problems (0 errors, 8 warnings)

labor/test.scss 2:5 warning Indentation of 4, expected 2 indentation 2:13 warning No unit allowed for values of 0 zero-unit 2:24 warning Color 'red' should be written in its hexadecimal form #ff0000 no-color-keywords 2:24 warning Color literals such as 'red' should only be used in variable declarations no-color-literals 2:28 warning !important not allowed no-important 3:1 warning Files must end with a new line final-newline bildschirmfoto 2016-04-09 um 12 25 45 bildschirmfoto 2016-04-09 um 12 25 53 bildschirmfoto 2016-04-09 um 12 29 53

✖ 6 problems (0 errors, 6 warnings)

idok commented 7 years ago

fixed