Package Exports
- stylelint-plugin-property
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stylelint-plugin-property) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Stylelint Plugin Property
Stylelint plugin for managing arbitrary properties.
Rules
Go to each rule's page (click on the name below) to see specific details.
Rule | auto-fix |
---|---|
plugin-property/property |
no ✗ |
Rule Options
Object input with exceptions. At least one of
properties
ordetailedProperties
must be defined.{ "mode": "block", // optional: list of property names that are outright blocked properties: ['float'], // optional: list of properties with exceptions detailedProperties: [ { property: 'font-family', // For the exception to pass on any given occurrence, "selectors" must match one of // the selectors for the rule in question AND the value assigned to the property // must match at least one of the values below. // This is essentially an AND operation. For the equivalent OR operation, add more // entries to the detailedProperties array for the same property name. exceptions: { values: ['inherit', 'unset'], selectors: ['input', 'select'] } } ], // optional input // these use glob matching with globstar turned ON "fileExceptions": [ "**/*colors.less", // ignores any files ending in colors.less in any directory "*colors.less" // ignore files ending in colors.less only in the current directory ] // optional input // these use glob matching with globstar turned OFF "lineExceptions": [ "*colors*", // ignores all lines that include the word colors "@import 'colors'" // ignores all lines that are exactly this string (don't include semicolons) ], }