dryoma

Results 49 comments of dryoma

It should work unless you keep those single quotes wrapping the array ;)

Hmm, that's actually reasonable, but could be quite subjective. Should it only check dash-delimited letter groups? What if someone prefers camelCase/PascalCase for their variables?

@jeddy3 if we stick to property names only, then it seems so. Yet the initial proposal was to control all values of specified type: ``` css // bad .foo {...

TODO: Check out this plugin https://github.com/sh-waqar/stylelint-declaration-use-variable

Hi @alexander-schranz I think for these cases using stylelint's comments that temporarily turn the rule off will be just fine. I just don't see what kind of ignore or except...

So you basically want to make always+ignore/except to allow not just a single variable, but _any kind of_ expression that has a variable? like `$var + 1`, `$foo + $bar`,...

Hmm. @kristerkari @jeddy3 your thoughts?

Good call! Does it still work with `$var-1px`, which is not a variable, but an expression?

Well, yeah, that is an oversight, as it seems. On the other hand, we have a somewhat robust but a bit messy [Sass value parser](https://github.com/kristerkari/stylelint-scss/blob/master/src/utils/sassValueParser/index.js) that can tell such things...

Well, yeah... I just decided to drop all the more-or-less decent ideas here instead of piling then in a local .txt document :)