stylelint-known-property

1.0.2 • Public • Published

stylelint-known-property

Stylelint plugin to check if the css properties are valid (CSS2 & CSS3).

Options

ignore: string | array

Provide a property or a list of properties that will not be checked.

Install

npm install -D stylelint-known-property

Usage

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

CSS properties are validated based on known-css-properties list.

Package Sidebar

Install

npm i stylelint-known-property

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • vio