Stylelint plugin to check if the css properties are valid (CSS2 & CSS3).
Provide a property or a list of properties that will not be checked.
npm install -D stylelint-known-property
Add the plugin to your Stylelint config:
{
"plugins": [
"stylelint-known-property"
],
"rules": {
"plugin/known-property": true
}
}
With ignored properties:
{
"plugins": [
"stylelint-known-property"
],
"rules": {
"plugin/known-property": [true, {
ignore: ['fill']
}
}
}
CSS properties are validated based on known-css-properties list.