schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
stylelintrc.json
block-closing-brace-empty-line-before
Require or disallow an empty line before the closing brace of blocks
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["always-multi-line", "never", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["always-multi-line", "never", {}]}, {}]}}]}
stylelintrc.json
block-closing-brace-newline-after
Require a newline or disallow whitespace after the closing brace of blocks
{}
stylelintrc.json
block-closing-brace-newline-before
Require a newline or disallow whitespace before the closing brace of blocks
{}
stylelintrc.json
block-closing-brace-space-after
Require a single space or disallow whitespace after the closing brace of blocks
{}
stylelintrc.json
block-closing-brace-space-before
Require a single space or disallow whitespace before the closing brace of blocks
{}
stylelintrc.json
block-no-empty
Disallow empty blocks
{}
stylelintrc.json
block-no-single-line
Disallow single-line blocks
{}
stylelintrc.json
block-opening-brace-newline-after
Require a newline after the opening brace of blocks
{}
stylelintrc.json
block-opening-brace-newline-before
Require a newline or disallow whitespace before the opening brace of blocks
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["always", "always-single-line", "never-single-line", "always-multi-line", "never-multi-line", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["always", "always-single-line", "never-single-line", "always-multi-line", "never-multi-line", {}]}, {}]}}]}
stylelintrc.json
block-opening-brace-space-after
Require a single space or disallow whitespace after the opening brace of blocks
{}
stylelintrc.json
block-opening-brace-space-before
Require a single space or disallow whitespace before the opening brace of blocks
{}
stylelintrc.json
color-hex-case
Specify lowercase or uppercase for hex colors
{}
stylelintrc.json
color-hex-length
Specify short or long notation for hex colors
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["short", "long", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["short", "long", {}]}, {}]}}]}
stylelintrc.json
color-named
Require (where possible) or disallow named colors
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["always-where-possible", "never", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["always-where-possible", "never", {}]}, {"type": "object", "allOf": [{}], "properties": {"ignore": {}}}]}}]}
stylelintrc.json
color-no-hex
Disallow hex colors
{}
stylelintrc.json
color-no-invalid-hex
Disallow invalid hex colors
{}
stylelintrc.json
comment-empty-line-before
Require or disallow an empty line before comments
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["always", "never", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["always", "never", {}]}, {"type": "object", "allOf": [{}], "properties": {"except": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["first-nested"]}}, "ignore": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["between-comments", "after-comment", "stylelint-commands"]}}}}]}}]}
stylelintrc.json
except
Reverse the primary option for comments that are nested and the first child of their parent node
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["first-nested"]}}
stylelintrc.json
ignore
Don't require an empty line between comments
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["between-comments", "after-comment", "stylelint-commands"]}}
stylelintrc.json
comment-no-empty
Disallow empty comments
{}
stylelintrc.json
comment-whitespace-inside
Require or disallow whitespace on the inside of comment markers
{}
stylelintrc.json
comment-word-blacklist
Specify a blacklist of disallowed words within comments
{}
stylelintrc.json
custom-media-pattern
Specify a pattern for custom media query names
{}
stylelintrc.json
custom-property-empty-line-before
Require or disallow an empty line before custom properties
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["always", "never", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["always", "never", {}]}, {"type": "object", "allOf": [{}], "properties": {"except": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["after-comment", "after-custom-property", "first-nested"]}}, "ignore": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["after-comment", "inside-single-line-block"]}}}}]}}]}
stylelintrc.json
except
Reverse the primary option for custom properties that come after a comment, custom property or first child of their parent node
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["after-comment", "after-custom-property", "first-nested"]}}
stylelintrc.json
ignore
Ignore custom properties that are preceded by comments or inside single-line blocks
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["after-comment", "inside-single-line-block"]}}
stylelintrc.json
custom-property-no-outside-root
Disallow custom properties outside of `:root` rules
{}
stylelintrc.json
custom-property-pattern
Specify a pattern for custom properties
{}
stylelintrc.json
declaration-bang-space-after
Require a single space or disallow whitespace after the bang of declarations
{}
stylelintrc.json
declaration-bang-space-before
Require a single space or disallow whitespace before the bang of declarations
{}
stylelintrc.json
declaration-colon-newline-after
Require a newline or disallow whitespace after the colon of declarations
{}
stylelintrc.json
declaration-colon-space-after
Require a single space or disallow whitespace after the colon of declarations
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["always", "never", "always-single-line", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["always", "never", "always-single-line", {}]}, {}]}}]}
stylelintrc.json
declaration-colon-space-before
Require a single space or disallow whitespace before the colon of declarations
{}
stylelintrc.json
declaration-empty-line-before
Require or disallow an empty line before declarations
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["always", "never", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["always", "never", {}]}, {"type": "object", "allOf": [{}], "properties": {"except": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string", "enum": ["after-comment", "after-declaration", "first-nested"]}}, "ignore": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string", "enum": ["after-comment", "after-declaration", "inside-single-line-block"]}}}}]}}]}
stylelintrc.json
declaration-no-important
Disallow `!important` within declarations
{}
stylelintrc.json
declaration-property-unit-blacklist
Specify a blacklist of disallowed property and unit pairs within declarations
{}
stylelintrc.json
declaration-property-unit-whitelist
Specify a whitelist of allowed property and unit pairs within declarations
{}
stylelintrc.json
declaration-property-value-blacklist
Specify a blacklist of disallowed property and value pairs within declarations
{}
stylelintrc.json
declaration-property-value-whitelist
Specify a whitelist of allowed property and value pairs within declarations
{}
stylelintrc.json
declaration-block-no-duplicate-properties
Disallow duplicate properties within declaration blocks
{"type": ["null", "boolean", "array"], "oneOf": [{"type": "null"}, {"type": "boolean", "enum": [true, []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["boolean", "object"], "anyOf": [{"type": "boolean", "enum": [true, {}]}, {"type": "object", "allOf": [{}], "properties": {"ignore": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string", "enum": ["consecutive-duplicates", "consecutive-duplicates-with-different-values", "consecutive-duplicates-with-different-syntaxes", "consecutive-duplicates-with-same-prefixless-values"]}}, "ignoreProperties": {}}}]}}]}
stylelintrc.json
declaration-block-no-ignored-properties
Disallow property values that are ignored due to another property value in the same rule
{}
stylelintrc.json
declaration-block-no-redundant-longhand-properties
Disallow longhand properties that can be combined into one shorthand property
{"type": ["null", "boolean", "array"], "oneOf": [{"type": "null"}, {"type": "boolean", "enum": [true, []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["boolean", "object"], "anyOf": [{"type": "boolean", "enum": [true, {}]}, {"type": "object", "allOf": [{}], "properties": {"ignoreShorthands": {}}}]}}]}
stylelintrc.json
declaration-block-no-shorthand-property-overrides
Disallow shorthand properties that override related longhand properties
{}
stylelintrc.json
declaration-block-properties-order
Specify the order of properties within declaration blocks
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["alphabetical", []]}, {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": ["string", "array", "object"], "anyOf": [{"type": "string", "enum": ["alphabetical", [], {}]}, {"type": "string"}, {}, {"type": "object", "allOf": [{}], "dependencies": {"order": ["properties"], "properties": ["order"]}, "properties": {"unspecified": {"type": "string", "enum": ["top", "bottom", "bottomAlphabetical", "ignore"]}, "order": {"type": "string", "enum": ["strict", "flexible"]}, "properties": {}}}]}}]}
stylelintrc.json
unspecified
These options only apply if you've defined your own array of properties
{"type": "string", "enum": ["top", "bottom", "bottomAlphabetical", "ignore"]}
stylelintrc.json
declaration-block-semicolon-newline-after
Require a newline or disallow whitespace after the semicolons of declaration blocks
{}
stylelintrc.json
declaration-block-semicolon-newline-before
Require a newline or disallow whitespace before the semicolons of declaration blocks
{}
stylelintrc.json
declaration-block-semicolon-space-after
Require a single space or disallow whitespace after the semicolons of declaration blocks
{}
stylelintrc.json
declaration-block-semicolon-space-before
Require a single space or disallow whitespace before the semicolons of declaration blocks
{}
stylelintrc.json
declaration-block-single-line-max-declarations
Limit the number of declaration within a single line declaration block
{}
stylelintrc.json
declaration-block-trailing-semicolon
Require or disallow a trailing semicolon within declaration blocks
{}
stylelintrc.json
font-family-name-quotes
Specify whether or not quotation marks should be used around font family names
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["always-where-required", "always-where-recommended", "always-unless-keyword", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["always-where-required", "always-where-recommended", "always-unless-keyword", {}]}, {}]}}]}
stylelintrc.json
font-weight-notation
Require numeric or named (where possible) `font-weight` values. Also, when named values are expected, require only valid names
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["numeric", "named-where-possible", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["numeric", "named-where-possible", {}]}, {"type": "object", "allOf": [{}], "properties": {"ignore": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["relative"]}}}}]}}]}
stylelintrc.json
function-blacklist
Specify a blacklist of disallowed functions
{}
stylelintrc.json
function-calc-no-unspaced-operator
Disallow an unspaced operator within `calc` functions
{}
stylelintrc.json
function-comma-newline-after
Require a newline or disallow whitespace after the commas of functions
{}
stylelintrc.json
function-comma-newline-before
Require a newline or disallow whitespace before the commas of functions
{}
stylelintrc.json
function-comma-space-after
Require a single space or disallow whitespace after the commas of functions
{}
stylelintrc.json
function-comma-space-before
Require a single space or disallow whitespace before the commas of functions
{}
stylelintrc.json
function-linear-gradient-no-nonstandard-direction
Disallow direction values in `linear-gradient()` calls that are not valid according to the standard syntax
{}
stylelintrc.json
function-max-empty-lines
Limit the number of adjacent empty lines within functions
{}
stylelintrc.json
function-name-case
Specify lowercase or uppercase for function names
{"type": ["null", "string", "array"], "oneOf": [{"type": "null"}, {"type": "string", "enum": ["lower", "upper", []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["string", "object"], "anyOf": [{"type": "string", "enum": ["lower", "upper", {}]}, {"type": "object", "allOf": [{}], "properties": {"ignoreFunctions": {}}}]}}]}
stylelintrc.json
items
Ignore case of function names
{"type": "object", "allOf": [{}], "properties": {"ignoreFunctions": {}}}
stylelintrc.json
function-parentheses-newline-inside
Require a newline or disallow whitespace on the inside of the parentheses of functions
{}
stylelintrc.json
function-parentheses-space-inside
Require a single space or disallow whitespace on the inside of the parentheses of functions
{}
stylelintrc.json
function-url-data-uris
Require or disallow data URIs for urls
{}
stylelintrc.json
function-url-no-scheme-relative
Disallow scheme-relative urls
{}
stylelintrc.json
function-url-quotes
Require or disallow quotes for urls
{}
stylelintrc.json
function-url-scheme-whitelist
Specify a whitelist of allowed url schemes
{}
stylelintrc.json
function-whitelist
Specify a whitelist of allowed functions
{}
stylelintrc.json
function-whitespace-after
Require or disallow whitespace after functions
{}
stylelintrc.json
indentation
Specify indentation
{"type": ["null", "integer", "string", "array"], "oneOf": [{"type": ["null", "integer"]}, {"type": "string", "enum": ["tab", []]}, {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "integer"}}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["integer", "string", "object"], "anyOf": [{"type": "integer"}, {"type": "string", "enum": ["tab", {}]}, {"type": "object", "allOf": [{}], "properties": {"indentInsideParens": {"type": "string", "enum": ["twice", "once-at-root-twice-in-block"]}, "except": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["block", "param", "value"]}}, "ignore": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["inside-parens", "param", "value"]}}}}]}}]}
stylelintrc.json
indentInsideParens
If `true`, the closing brace of a block (rule or at-rule) will be expected at the same indentation level as the block's inner nodes
{"type": "string", "enum": ["twice", "once-at-root-twice-in-block"]}
stylelintrc.json
except
Do not indent for these things
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["block", "param", "value"]}}
stylelintrc.json
ignore
Ignore the indentation inside parentheses
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["inside-parens", "param", "value"]}}
stylelintrc.json
max-empty-lines
Limit the number of adjacent empty lines
{}
stylelintrc.json
max-line-length
Limit the length of a line
{"type": ["null", "integer", "array"], "oneOf": [{"type": ["null", "integer"]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["integer", "object"], "anyOf": [{"type": "integer"}, {"type": "object", "allOf": [{}], "properties": {"ignore": {"type": ["string", "array"], "anyOf": [{"type": "string", "enum": ["non-comments", "comments"]}, {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["non-comments", "comments"]}}]}}}]}}]}
stylelintrc.json
max-nesting-depth
Limit the allowed nesting depth
{"type": ["null", "integer", "array"], "oneOf": [{"type": ["null", "integer"]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["integer", "object"], "anyOf": [{"type": "integer"}, {"type": "object", "allOf": [{}], "properties": {"ignore": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["blockless-at-rules", "pseudo-classes"]}}, "ignoreAtRules": {}}}]}}]}
stylelintrc.json
no-browser-hacks
Disallow browser hacks that are irrelevant to the browsers you are targeting
{"type": ["null", "boolean", "array"], "oneOf": [{"type": "null"}, {"type": "boolean", "enum": [true, []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["boolean", "object"], "anyOf": [{"type": "boolean", "enum": [true, {}]}, {"type": "object", "allOf": [{}], "properties": {"browsers": {}}}]}}]}
stylelintrc.json
no-descending-specificity
Disallow selectors of lower specificity from coming after overriding selectors of higher specificity
{}
stylelintrc.json
no-duplicate-selectors
Disallow duplicate selectors within a stylesheet
{}
stylelintrc.json
no-empty-source
Disallow empty sources
{}
stylelintrc.json
no-eol-whitespace
Disallow end-of-line whitespace
{"type": ["null", "boolean", "array"], "oneOf": [{"type": "null"}, {"type": "boolean", "enum": [true, []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["boolean", "object"], "anyOf": [{"type": "boolean", "enum": [true, {}]}, {"type": "object", "allOf": [{}], "properties": {"ignore": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {"type": "string", "enum": ["empty-lines"]}}}}]}}]}
stylelintrc.json
no-extra-semicolons
Disallow extra semicolons
{}
stylelintrc.json
no-indistinguishable-colors
Disallow colors that are suspiciously close to being identical
{"type": ["null", "boolean", "array"], "oneOf": [{"type": "null"}, {"type": "boolean", "enum": [true, []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["boolean", "object"], "anyOf": [{"type": "boolean", "enum": [true, {}]}, {"type": "object", "allOf": [{}], "properties": {"threshold": {"type": "integer", "default": 3, "minimum": 0, "maximum": 100}, "ignore": {}, "whitelist": {"type": "array", "uniqueItems": true, "minItems": 1, "items": {}}}}]}}]}
stylelintrc.json
whitelist
An array of color pairs to ignore. Each pair is an array with two items
{"type": "array", "uniqueItems": true, "minItems": 1, "items": {}}
stylelintrc.json
no-invalid-double-slash-comments
Disallow double-slash comments `(//...)` which are not supported by CSS and could lead to unexpected results
{}
stylelintrc.json
no-missing-end-of-source-newline
Disallow missing end-of-source newlines
{}
stylelintrc.json
no-unknown-animations
Disallow animation names that do not correspond to a `@keyframes` declaration
{}
stylelintrc.json
unicode-bom
Require or disallow Unicode BOM
{}
stylelintrc.json
no-unsupported-browser-features
Disallow features that are unsupported by the browsers that you are targeting
{"type": ["null", "boolean", "array"], "oneOf": [{"type": "null"}, {"type": "boolean", "enum": [true, []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["boolean", "object"], "anyOf": [{"type": "boolean", "enum": [true, {}]}, {"type": "object", "allOf": [{}], "properties": {"browsers": {"type": "string"}, "ignore": {}}}]}}]}
stylelintrc.json
keyframe-declaration-no-important
Disallow !important within keyframe declarations
{}
stylelintrc.json
length-zero-no-unit
Disallow units for zero lengths
{}
stylelintrc.json
media-feature-colon-space-after
Require a single space or disallow whitespace after the colon in media features
{}
stylelintrc.json
media-feature-colon-space-before
Require a single space or disallow whitespace before the colon in media features
{}
stylelintrc.json
media-feature-name-case
Specify lowercase or uppercase for media feature names
{}
stylelintrc.json
media-feature-name-no-unknown
Disallow unknown media feature names
{"type": ["null", "boolean", "array"], "oneOf": [{"type": "null"}, {"type": "boolean", "enum": [true, []]}, {"type": "array", "minItems": 2, "maxItems": 2, "uniqueItems": true, "items": {"type": ["boolean", "object"], "anyOf": [{"type": "boolean", "enum": [true, {}]}, {"type": "object", "allOf": [{}], "properties": {"ignoreMediaFeatureNames": {}}}]}}]}
stylelintrc.json
media-feature-name-no-vendor-prefix
Disallow vendor prefixes for media feature names
{}
stylelintrc.json
media-feature-no-missing-punctuation
Disallow missing punctuation for non-boolean media features
{}
stylelintrc.json
media-feature-parentheses-space-inside
Require a single space or disallow whitespace on the inside of the parentheses within media features
{}