latest--stylelintrc
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/package-json/_shared/latest--stylelintrc.json |
| Parent schema | package-json |
Properties
Specify a custom syntax to use on your code.
Provide rule and behavior overrides for files that match particular glob patterns.
Processors are functions that hook into stylelint's pipeline, modifying code on its way into stylelint and modifying results on their way out
Ignore stylelint-disable (e.g. /* stylelint-disable block-no-empty */) comments.
The default severity level for all rules that do not have a severity specified in their secondary options
Definitions
Custom message that will be used in errors and warnings
Message status
Require or disallow an empty line before at-rules
Require a single space after at-rule names
Disallow unknown at-rules
Require a newline after the semicolon of at-rules
Require a single space or disallow whitespace before the semicolons of at-rules
Require or disallow an empty line before the closing brace of blocks
Require a newline or disallow whitespace before the opening brace of blocks
Specify short or long notation for hex colors
Require (where possible) or disallow named colors
Require or disallow an empty line before comments
Disallow unknown custom media queries
Require or disallow an empty line before custom properties
Disallow unknown custom properties
Require a single space or disallow whitespace after the colon of declarations
Require or disallow an empty line before declarations
Disallow unknown values for properties within declarations
Disallow duplicate properties within declaration blocks
Disallow longhand properties that can be combined into one shorthand property
Specify the order of properties within declaration blocks
Specify whether or not quotation marks should be used around font family names
Require numeric or named (where possible) font-weight values. Also, when named values are expected, require only valid names
Specify lowercase or uppercase for function names
Specify indentation
Specify unix or windows linebreaks
Limit the length of a line
Limit the allowed nesting depth
Disallow browser hacks that are irrelevant to the browsers you are targeting
Disallow empty first lines
Disallow end-of-line whitespace
Disallow colors that are suspiciously close to being identical
Disallow features that are unsupported by the browsers that you are targeting
Specify number or percentage notation for lightness
Disallow unknown media feature names
Disallow unknown values for media features
Specify a list of allowed name and unit pairs within media features
Specify context or prefix notation for media feature ranges
Disallow invalid media queries
Disallow unknown properties
Require or disallow an empty line before nested rules
Require or disallow an empty line before non-nested rules
Disallow unmatchable An+B selectors
Specify a pattern for class selectors
Disallow qualifying a selector by type
Disallow type selectors
Disallow unknown pseudo-class selectors
Disallow unknown pseudo-element selectors
Disallow unknown type selectors
Require a reason comment before or after stylelint-disable comments
Disallow unknown units
Specify lowercase or uppercase for keywords values