Skip to content

Stylelint plugin to check if the css properties are valid

Notifications You must be signed in to change notification settings

vio/stylelint-known-property

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Stylelint plugin to check if the css properties are valid

Resources

Stars

Watchers

Forks

Packages

No packages published