I use the following stylelint configuration
module.exports = {
plugins: ['stylelint-declaration-strict-value'],
files: ['**/*.css'],
rules: {
'scale-unlimited/declaration-strict-value': [
['color', 'background-color', 'font-size', 'font-weight', 'font-family', 'border-color'],
{
ignoreValues: ['currentColor', 'unset', 'inherit', 'initial', 'transparent'],
},
],
},
};
Everything works fine, for hex colors, font-weight, font-size and so on.
But when I use rgb/rgba/hsl functions to set up color, I don't see any validations.

I use the following stylelint configuration
Everything works fine, for hex colors, font-weight, font-size and so on.
But when I use rgb/rgba/hsl functions to set up color, I don't see any validations.