Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-color-keywords trips over Sass color function names #717

Closed
nmcclay opened this issue May 17, 2016 · 1 comment
Closed

no-color-keywords trips over Sass color function names #717

nmcclay opened this issue May 17, 2016 · 1 comment
Labels

Comments

@nmcclay
Copy link

nmcclay commented May 17, 2016

What version of Sass Lint are you using?
1.7.0

Please include any relevant parts of your configuration
no-color-keywords: 2

What did you do? Please include the actual source code causing the issue.
The no-color-keywords rule is getting tripped on the provided sass red blue green function keywords:

    $colors: (
        'red': red($color),
        'green': green($color),
        'blue': blue($color)
    );

Will throw on the methods 'red', 'blue' & 'green'

What did you expect to happen?
Since they are default sass color methods I would expect them to be perfectly valid. http://sass-lang.com/documentation/Sass/Script/Functions.html

What actually happened? Please include any error messages given to you by Sass Lint.
"Color 'red' should be written in its hexadecimal"

If you're using a IDE plugin have you tried the CLI too?
Yes.

@DanPurdy DanPurdy added the bug label May 19, 2016
@DanPurdy
Copy link
Member

I'll take a look at this later on, hopefully get it out with our 1.8.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants