Open adammockor opened 8 years ago
This would be really neat, indeed. See for example this Sass function usage as an example.
Check out https://github.com/AndyOGo/stylelint-declaration-strict-value, which is inspired by this plugin and supports functions:
A stylelint plugin that enforces either variables ($sass, @less, var(--cssnext)), functions or custom CSS keywords (inherit, none, etc.) for property's values.
If I have custom function to retrieve color (for example from current theme), I am getting error, but I shouldn't because I am using variable as parameter to that function.