- limit-language-features
- rules
- color-named
- color-no-hex
- function-blacklist
- function-url-no-scheme-relative
- function-url-scheme-blacklist
- function-url-scheme-whitelist
- function-whitelist
- keyframes-name-pattern
- number-max-precision
- time-min-milliseconds
- unit-blacklist
- unit-whitelist
- shorthand-property-no-redundant-values
- value-no-vendor-prefix
- custom-property-pattern
- property-blacklist
- property-no-vendor-prefix
- property-whitelist
- declaration-block-no-redundant-longhand-properties
- declaration-no-important
- declaration-property-unit-blacklist
- declaration-property-unit-whitelist
- declaration-property-value-blacklist
- declaration-property-value-whitelist
- declaration-block-single-line-max-declarations
- selector-attribute-operator-blacklist
- selector-attribute-operator-whitelist
- selector-class-pattern
- selector-combinator-blacklist
- selector-combinator-whitelist
- selector-id-pattern
- selector-max-attribute
- selector-max-class
- selector-max-combinators
- selector-max-compound-selectors
- selector-max-empty-lines
- selector-max-id
- selector-max-pseudo-class
- selector-max-specificity
- selector-max-type
- selector-max-universal
- selector-nested-pattern
- selector-no-qualifying-type
- selector-no-vendor-prefix
- selector-pseudo-class-blacklist
- selector-pseudo-class-whitelist
- selector-pseudo-element-blacklist
- selector-pseudo-element-whitelist
- media-feature-name-blacklist
- media-feature-name-no-vendor-prefix
- media-feature-name-value-whitelist
- media-feature-name-whitelist
- custom-media-pattern
- at-rule-blacklist
- at-rule-no-vendor-prefix
- at-rule-property-requirelist
- at-rule-whitelist
- comment-word-blacklist
- max-nesting-depth
- no-unknown-animations
- rules
- possible-errors
- rules
- color-no-invalid-hex
- font-family-no-duplicate-names
- font-family-no-missing-generic-family-keyword
- function-calc-no-invalid
- function-calc-no-unspaced-operator
- function-linear-gradient-no-nonstandard-direction
- string-no-newline
- unit-no-unknown
- property-no-unknown
- keyframe-declaration-no-important
- declaration-block-no-duplicate-properties
- declaration-block-no-shorthand-property-overrides
- block-no-empty
- selector-pseudo-class-no-unknown
- selector-pseudo-element-no-unknown
- selector-type-no-unknown
- media-feature-name-no-unknown
- at-rule-no-unknown
- comment-no-empty
- no-descending-specificity
- no-duplicate-at-import-rules
- no-duplicate-selectors
- no-empty-source
- no-extra-semicolons
- no-invalid-double-slash-comments
- rules
- stylistic-issues
- rules
- color-hex-case
- color-hex-length
- font-family-name-quotes
- font-weight-notation
- function-comma-newline-after
- function-comma-newline-before
- function-comma-space-after
- function-comma-space-before
- function-max-empty-lines
- function-name-case
- function-parentheses-newline-inside
- function-parentheses-space-inside
- function-url-quotes
- function-whitespace-after
- number-leading-zero
- number-no-trailing-zeros
- string-quotes
- length-zero-no-unit
- unit-case
- value-keyword-case
- value-list-comma-newline-after
- value-list-comma-newline-before
- value-list-comma-space-after
- value-list-comma-space-before
- value-list-max-empty-lines
- custom-property-empty-line-before
- property-case
- declaration-bang-space-after
- declaration-bang-space-before
- declaration-colon-newline-after
- declaration-colon-space-after
- declaration-colon-space-before
- declaration-empty-line-before
- declaration-block-semicolon-newline-after
- declaration-block-semicolon-newline-before
- declaration-block-semicolon-space-after
- declaration-block-semicolon-space-before
- declaration-block-trailing-semicolon
- block-closing-brace-empty-line-before
- block-closing-brace-newline-after
- block-closing-brace-newline-before
- block-closing-brace-space-after
- block-closing-brace-space-before
- block-opening-brace-newline-after
- block-opening-brace-newline-before
- block-opening-brace-space-after
- block-opening-brace-space-before
- selector-attribute-brackets-space-inside
- selector-attribute-operator-space-after
- selector-attribute-operator-space-before
- selector-attribute-quotes
- selector-combinator-space-after
- selector-combinator-space-before
- selector-descendant-combinator-no-non-space
- selector-pseudo-class-case
- selector-pseudo-class-parentheses-space-inside
- selector-pseudo-element-case
- selector-pseudo-element-colon-notation
- selector-type-case
- selector-list-comma-newline-after
- selector-list-comma-newline-before
- selector-list-comma-space-after
- selector-list-comma-space-before
- rule-empty-line-before
- media-feature-colon-space-after
- media-feature-colon-space-before
- media-feature-name-case
- media-feature-parentheses-space-inside
- media-feature-range-operator-space-after
- media-feature-range-operator-space-before
- media-query-list-comma-newline-after
- media-query-list-comma-newline-before
- media-query-list-comma-space-after
- media-query-list-comma-space-before
- at-rule-empty-line-before
- at-rule-name-case
- at-rule-name-newline-after
- at-rule-name-space-after
- at-rule-semicolon-newline-after
- at-rule-semicolon-space-before
- comment-empty-line-before
- comment-whitespace-inside
- indentation
- linebreaks
- max-empty-lines
- max-line-length
- no-eol-whitespace
- no-missing-end-of-source-newline
- no-empty-first-line
- rules
Require (where possible) or disallow named colors.
https://stylelint.io/user-guide/rules/color-named/
["never", {
ignore: [],
ignoreProperties: [],
}]
Disallow hex colors.
https://stylelint.io/user-guide/rules/color-no-hex/
null
Specify a blacklist of disallowed functions.
https://stylelint.io/user-guide/rules/function-blacklist/
[]
Disallow scheme-relative urls.
https://stylelint.io/user-guide/rules/function-url-no-scheme-relative/
true
Specify a blacklist of disallowed URL schemes.
https://stylelint.io/user-guide/rules/function-url-scheme-blacklist/
[]
Specify a whitelist of allowed URL schemes.
https://stylelint.io/user-guide/rules/function-url-scheme-whitelist/
[]
Specify a whitelist of allowed functions.
https://stylelint.io/user-guide/rules/function-whitelist/
[]
Specify a pattern for keyframe names.
https://stylelint.io/user-guide/rules/keyframes-name-pattern/
".+-.+"
Limit the number of decimal places allowed in numbers.
https://stylelint.io/user-guide/rules/number-max-precision/
[3, {
ignoreUnits: [],
}]
Specify the minimum number of milliseconds for time values.
https://stylelint.io/user-guide/rules/time-min-milliseconds/
2
Specify a blacklist of disallowed units.
https://stylelint.io/user-guide/rules/unit-blacklist/
[[], {
ignoreProperties: [],
ignoreMediaFeatureNames: {
unit: [],
}
}]
Specify a whitelist of allowed units.
https://stylelint.io/user-guide/rules/unit-whitelist/
[["px", "em", "rem"], {
ignoreProperties: {
unit: [],
}
}]
Disallow redundant values in shorthand properties.
https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values/
true
Disallow vendor prefixes for values.
https://stylelint.io/user-guide/rules/value-no-vendor-prefix/
[true, {
ignoreValues: [],
}]
Specify a pattern for custom properties.
https://stylelint.io/user-guide/rules/custom-property-pattern/
""
Specify a blacklist of disallowed properties.
https://stylelint.io/user-guide/rules/property-blacklist/
[]
Disallow vendor prefixes for properties.
https://stylelint.io/user-guide/rules/property-no-vendor-prefix/
[true, {
ignoreProperties: [],
}]
Specify a whitelist of allowed properties.
https://stylelint.io/user-guide/rules/property-whitelist/
[
"margin",
"margin-left",
"margin-right""
"margin-top",
"margin-bottom",
"padding",
"padding-left",
"padding-right",
"padding-top",
"padding-bottom",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"font",
"font-weight",
"font-style",
"font-family",
"font-size",
"text-transform",
"text-shadow",
"text-align",
"color",
"justify-content",
"align-items",
"flex",
"flex-direction",
"display",
"float",
"z-index",
"box-shadow",
"box-sizing",
"border-radius",
"position",
"left",
"right",
"top",
"bottom",
"vertical-align",
"line-height",
"border",
"border-left",
"border-right",
"border-top",
"border-bottom",
"background",
"background-color",
"background-image",
"background-size",
"background-position",
"background-repeat",
"overflow",
"overflow-x",
"overflow-y",
]
Disallow longhand properties that can be combined into one shorthand property.
https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties/
[true, {
ignoreShorthands: [],
}]
Disallow !important within declarations.
https://stylelint.io/user-guide/rules/declaration-no-important/
true
Specify a blacklist of disallowed property and unit pairs within declarations.
https://stylelint.io/user-guide/rules/declaration-property-unit-blacklist/
{}
Specify a whitelist of allowed property and unit pairs within declarations.
https://stylelint.io/user-guide/rules/declaration-property-unit-whitelist/
{}
Specify a blacklist of disallowed property and value pairs within declarations.
https://stylelint.io/user-guide/rules/declaration-property-value-blacklist/
{}
Specify a whitelist of allowed property and value pairs within declarations.
https://stylelint.io/user-guide/rules/declaration-property-value-whitelist/
{}
Limit the number of declarations within a single-line declaration block.
https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations/
10
Specify a blacklist of disallowed attribute operators.
https://stylelint.io/user-guide/rules/selector-attribute-operator-blacklist/
[]
Specify a whitelist of allowed attribute operators.
https://stylelint.io/user-guide/rules/selector-attribute-operator-whitelist/
[]
Specify a pattern for class selectors.
https://stylelint.io/user-guide/rules/selector-class-pattern/
["", {
resolveNestedSelectors: false,
}]
Specify a blacklist of disallowed combinators.
https://stylelint.io/user-guide/rules/selector-combinator-blacklist/
[]
Specify a whitelist of allowed combinators.
https://stylelint.io/user-guide/rules/selector-combinator-whitelist/
[]
Specify a pattern for ID selectors.
https://stylelint.io/user-guide/rules/selector-id-pattern/
""
Limit the number of attribute selectors in a selector.
https://stylelint.io/user-guide/rules/selector-max-attribute/
[1, {
ignoreAttributes: [],
}]
Limit the number of classes in a selector.
https://stylelint.io/user-guide/rules/selector-max-class/
10
Limit the number of combinators in a selector.
https://stylelint.io/user-guide/rules/selector-max-combinators/
10
Limit the number of compound selectors in a selector.
https://stylelint.io/user-guide/rules/selector-max-compound-selectors/
10
Limit the number of adjacent empty lines within selectors.
https://stylelint.io/user-guide/rules/selector-max-empty-lines/
0
Limit the number of ID selectors in a selector.
https://stylelint.io/user-guide/rules/selector-max-id/
10
Limit the number of pseudo-classes in a selector.
https://stylelint.io/user-guide/rules/selector-max-pseudo-class/
10
Limit the specificity of selectors.
https://stylelint.io/user-guide/rules/selector-max-specificity/
null
Limit the number of type selectors in a selector.
https://stylelint.io/user-guide/rules/selector-max-type/
[10, {
ignore: [],
ignoreTypes: [],
}]
Limit the number of universal selectors in a selector.
https://stylelint.io/user-guide/rules/selector-max-universal/
1
Specify a pattern for the selectors of rules nested within rules.
https://stylelint.io/user-guide/rules/selector-nested-pattern/
"(?:(?:(?:&:)|(?:& > ))?(?:(?:[a-z-]+)|(?:\${[a-zA-Z]+}),?))+"
Disallow qualifying a selector by type.
https://stylelint.io/user-guide/rules/selector-no-qualifying-type/
[true, {
ignore: [],
}]
Disallow vendor prefixes for selectors.
https://stylelint.io/user-guide/rules/selector-no-vendor-prefix/
[true, {
ignoreSelectors: [],
}]
Specify a blacklist of disallowed pseudo-class selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-class-blacklist/
[]
Specify a whitelist of allowed pseudo-class selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-class-whitelist/
[
"hover",
"focus",
"focus-within",
"active",
"has",
"disabled",
"first-of-type",
"last-of-type",
"nth-of-type",
"nth-last-of-type",
"only-of-type",
"placeholder-shown",
"required",
"root",
"target",
"visited",
"link",
"any-link",
"not",
"invalid",
"out-of-range",
"empty",
"enabled",
"default",
"checked",
"in-range",
"lang",
]
Specify a blacklist of disallowed pseudo-element selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-element-blacklist/
[]
Specify a whitelist of allowed pseudo-element selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-element-whitelist/
[]
Specify a blacklist of disallowed media feature names.
https://stylelint.io/user-guide/rules/media-feature-name-blacklist/
[]
Disallow vendor prefixes for media feature names.
https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix/
true
Specify a whitelist of allowed media feature name and value pairs.
https://stylelint.io/user-guide/rules/media-feature-name-value-whitelist/
{}
Specify a whitelist of allowed media feature names.
https://stylelint.io/user-guide/rules/media-feature-name-whitelist/
[]
Specify a pattern for custom media query names.
https://stylelint.io/user-guide/rules/custom-media-pattern/
".+-.+"
Specify a blacklist of disallowed at-rules.
https://stylelint.io/user-guide/rules/at-rule-blacklist/
[]
Disallow vendor prefixes for at-rules.
https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix/
true
Specify a requirelist of properties for an at-rule.
https://stylelint.io/user-guide/rules/at-rule-property-requirelist/
{}
Specify a whitelist of allowed at-rules.
https://stylelint.io/user-guide/rules/at-rule-whitelist/
[]
Specify a blacklist of disallowed words within comments.
https://stylelint.io/user-guide/rules/comment-word-blacklist/
[]
Limit the depth of nesting.
https://stylelint.io/user-guide/rules/max-nesting-depth/
[10, {
ignore: [],
ignoreAtRules: [],
}
Disallow unknown animations.
https://stylelint.io/user-guide/rules/no-unknown-animations/
true
Disallow invalid hex colors.
https://stylelint.io/user-guide/rules/color-no-invalid-hex/
true
Disallow duplicate font family names.
https://stylelint.io/user-guide/rules/font-family-no-duplicate-names/
[true, {
ignoreFontFamilyNames: [],
}]
Disallow missing generic families in lists of font family names.
https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword/
true
Disallow an invalid expression within calc functions.
https://stylelint.io/user-guide/rules/function-calc-no-invalid/
true
Disallow an unspaced operator within calc functions.
https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator/
true
Disallow direction values in linear-gradient() calls that are not valid according to the standard syntax.
https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction/
true
Disallow (unescaped) newlines in strings.
https://stylelint.io/user-guide/rules/string-no-newline/
true
Disallow unknown units.
https://stylelint.io/user-guide/rules/unit-no-unknown/
[true, {
ignoreUnits: [],
ignoreFunctions: [],
}]
Disallow unknown properties.
https://stylelint.io/user-guide/rules/property-no-unknown/
[true, {
ignoreProperties: [],
checkPrefixed: false,
}]
Disallow !important within keyframe declarations.
https://stylelint.io/user-guide/rules/keyframe-declaration-no-important/
true
Disallow duplicate properties within declaration blocks.
NOTES:
- We sometimes use duplicate css to force dynamic values using 'auto' then a 'min-height', etc. So, ignore duplicates with different values.
https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties/
[true, {
ignore: [],
ignoreProperties: [],
}]
Disallow shorthand properties that override related longhand properties.
https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides/
true
Disallow empty blocks.
https://stylelint.io/user-guide/rules/block-no-empty/
[true, {
ignore: [],
}]
Disallow unknown pseudo-class selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown/
[true, {
ignorePseudoClasses: [],
}]
Disallow unknown pseudo-element selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown/
[true, {
ignorePseudoElements: [],
}]
Disallow unknown type selectors.
https://stylelint.io/user-guide/rules/selector-type-no-unknown/
true
Disallow unknown media feature names.
https://stylelint.io/user-guide/rules/media-feature-name-no-unknown/
[true, {
ignoreMediaFeatureNames: [],
}]
Disallow unknown at-rules.
https://stylelint.io/user-guide/rules/at-rule-no-unknown/
[true, {
ignoreAtRules: [],
}]
Disallow empty comments.
https://stylelint.io/user-guide/rules/comment-no-empty/
true
Disallow selectors of lower specificity from coming after overriding selectors of higher specificity.
https://stylelint.io/user-guide/rules/no-descending-specificity/
true
Disallow duplicate @import rules within a stylesheet.
https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules/
true
Disallow duplicate selectors within a stylesheet.
https://stylelint.io/user-guide/rules/no-duplicate-selectors/
[true, {
disallowInList: false,
}]
Disallow empty sources.
https://stylelint.io/user-guide/rules/no-empty-source/
true
Disallow extra semicolons.
https://stylelint.io/user-guide/rules/no-extra-semicolons/
true
Disallow double-slash comments (//...) which are not supported by CSS and could lead to unexpected results.
https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments/
true
Specify lowercase or uppercase for hex colors.
https://stylelint.io/user-guide/rules/color-hex-case/
"upper"
Specify short or long notation for hex colors.
https://stylelint.io/user-guide/rules/color-hex-length/
"long"
Specify whether or not quotation marks should be used around font family names.
https://stylelint.io/user-guide/rules/font-family-name-quotes/
"always-where-recommended"
Require numeric or named (where possible) font-weight values. Also, when named values are expected, require only valid names.
https://stylelint.io/user-guide/rules/font-weight-notation/
["numeric", {
ignore: [],
}]
Require a newline or disallow whitespace after the commas of functions.
https://stylelint.io/user-guide/rules/function-comma-newline-after/
"never-multi-line"
Require a newline or disallow whitespace before the commas of functions.
https://stylelint.io/user-guide/rules/function-comma-newline-before/
"never-multi-line"
Require a single space or disallow whitespace after the commas of functions.
https://stylelint.io/user-guide/rules/function-comma-space-after/
"always"
Require a single space or disallow whitespace before the commas of functions.
https://stylelint.io/user-guide/rules/function-comma-space-before/
"never"
Limit the number of adjacent empty lines within functions.
https://stylelint.io/user-guide/rules/function-max-empty-lines/
0
Specify lowercase or uppercase for function names.
https://stylelint.io/user-guide/rules/function-name-case/
["lower", {
ignoreFunctions: [],
}]
Require a newline or disallow whitespace on the inside of the parentheses of functions.
https://stylelint.io/user-guide/rules/function-parentheses-newline-inside/
"never-multi-line"
Require a single space or disallow whitespace on the inside of the parentheses of functions.
https://stylelint.io/user-guide/rules/function-parentheses-space-inside/
"never"
Require or disallow quotes for urls.
https://stylelint.io/user-guide/rules/function-url-quotes/
["always", {
except: ["empty"],
}]
Require or disallow whitespace after functions.
https://stylelint.io/user-guide/rules/function-whitespace-after/
"always"
Require or disallow a leading zero for fractional numbers less than 1.
https://stylelint.io/user-guide/rules/number-leading-zero/
"always"
Disallow trailing zeros in numbers.
https://stylelint.io/user-guide/rules/number-no-trailing-zeros/
true
Specify single or double quotes around strings.
https://stylelint.io/user-guide/rules/string-quotes/
["double", {
avoidEscape: true,
}]
Disallow units for zero lengths.
https://stylelint.io/user-guide/rules/length-zero-no-unit/
true
Specify lowercase or uppercase for units.
https://stylelint.io/user-guide/rules/unit-case/
"lower"
Specify lowercase or uppercase for keywords values.
https://stylelint.io/user-guide/rules/value-keyword-case/
["lower", {
ignoreKeywords: [],
ignoreProperties: [],
}]
Require a newline or disallow whitespace after the commas of value lists.
https://stylelint.io/user-guide/rules/value-list-comma-newline-after/
"never-multi-line",
Require a newline or disallow whitespace before the commas of value lists.
https://stylelint.io/user-guide/rules/value-list-comma-newline-before/
"never-multi-line"
Require a single space or disallow whitespace after the commas of value lists.
https://stylelint.io/user-guide/rules/value-list-comma-space-after/
"always"
Require a single space or disallow whitespace before the commas of value lists.
https://stylelint.io/user-guide/rules/value-list-comma-space-before/
"never"
Limit the number of adjacent empty lines within value lists.
https://stylelint.io/user-guide/rules/value-list-max-empty-lines/
0
Require or disallow an empty line before custom properties (Autofixable).
https://stylelint.io/user-guide/rules/custom-property-empty-line-before/
["never", {
except: [],
ignore: [],
}]
Specify lowercase or uppercase for properties.
https://stylelint.io/user-guide/rules/property-case/
"lower"
Require a single space or disallow whitespace after the bang of declarations.
https://stylelint.io/user-guide/rules/declaration-bang-space-after/
"never"
Require a single space or disallow whitespace before the bang of declarations.
https://stylelint.io/user-guide/rules/declaration-bang-space-before/
"always"
Require a newline or disallow whitespace after the colon of declarations.
https://stylelint.io/user-guide/rules/declaration-colon-newline-after/
"always-multi-line"
Require a single space or disallow whitespace after the colon of declarations.
https://stylelint.io/user-guide/rules/declaration-colon-space-after/
"always"
Require a single space or disallow whitespace before the colon of declarations.
https://stylelint.io/user-guide/rules/declaration-colon-space-before/
"never"
Require or disallow an empty line before declarations.
https://stylelint.io/user-guide/rules/declaration-empty-line-before/
["never", {
except: [],
ignore: [],
}]
Require a newline or disallow whitespace after the semicolons of declaration blocks.
https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after/
"always"
Require a newline or disallow whitespace before the semicolons of declaration blocks.
https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-before/
"never-multi-line"
Require a single space or disallow whitespace after the semicolons of declaration blocks.
https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after/
null
Require a single space or disallow whitespace before the semicolons of declaration blocks.
https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before/
"never"
Require or disallow a trailing semicolon within declaration blocks.
https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon/
"always"
Require or disallow an empty line before the closing brace of blocks.
https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before/
"never"
Require a newline or disallow whitespace after the closing brace of blocks.
https://stylelint.io/user-guide/rules/block-closing-brace-newline-after/
"always"
Require a newline or disallow whitespace before the closing brace of blocks.
https://stylelint.io/user-guide/rules/block-closing-brace-newline-before/
"always"
Require a single space or disallow whitespace after the closing brace of blocks.
https://stylelint.io/user-guide/rules/block-closing-brace-space-after/
"never"
Require a single space or disallow whitespace before the closing brace of blocks.
https://stylelint.io/user-guide/rules/block-closing-brace-space-before/
"never"
Require a newline after the opening brace of blocks.
https://stylelint.io/user-guide/rules/block-opening-brace-newline-after/
"always"
Require a newline or disallow whitespace before the opening brace of blocks.
https://stylelint.io/user-guide/rules/block-opening-brace-newline-before/
null
Require a single space or disallow whitespace after the opening brace of blocks.
https://stylelint.io/user-guide/rules/block-opening-brace-space-after/
null
Require a single space or disallow whitespace before the opening brace of blocks.
https://stylelint.io/user-guide/rules/block-opening-brace-space-before/
null
Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
https://stylelint.io/user-guide/rules/selector-attribute-brackets-space-inside/
"never"
Require a single space or disallow whitespace after operators within attribute selectors.
https://stylelint.io/user-guide/rules/selector-attribute-operator-space-after/
"never"
Require a single space or disallow whitespace before operators within attribute selectors.
https://stylelint.io/user-guide/rules/selector-attribute-operator-space-before/
"never"
Require or disallow quotes for attribute values.
https://stylelint.io/user-guide/rules/selector-attribute-quotes/
"always"
Require a single space or disallow whitespace after the combinators of selectors.
https://stylelint.io/user-guide/rules/selector-combinator-space-after/
"always"
Require a single space or disallow whitespace before the combinators of selectors.
https://stylelint.io/user-guide/rules/selector-combinator-space-before/
"always"
Disallow non-space characters for descendant combinators of selectors.
https://stylelint.io/user-guide/rules/selector-descendant-combinator-no-non-space/
true
Specify lowercase or uppercase for pseudo-class selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-class-case/
"lower"
Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-class-parentheses-space-inside/
"never"
Specify lowercase or uppercase for pseudo-element selectors.
https://stylelint.io/user-guide/rules/selector-pseudo-element-case/
"lower"
Specify single or double colon notation for applicable pseudo-elements.
https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation/
"double"
Specify lowercase or uppercase for type selectors.
https://stylelint.io/user-guide/rules/selector-type-case/
"lower"
Require a newline or disallow whitespace after the commas of selector lists.
https://stylelint.io/user-guide/rules/selector-list-comma-newline-after/
"always-multi-line"
Require a newline or disallow whitespace before the commas of selector lists.
https://stylelint.io/user-guide/rules/selector-list-comma-newline-before/
"never-multi-line"
Require a single space or disallow whitespace after the commas of selector lists.
https://stylelint.io/user-guide/rules/selector-list-comma-space-after/
"always"
Require a single space or disallow whitespace before the commas of selector lists.
https://stylelint.io/user-guide/rules/selector-list-comma-space-before/
"never"
Require or disallow an empty line before rules.
https://stylelint.io/user-guide/rules/rule-empty-line-before/
["always", {
except: ["inside-block"],
ignore: [],
}]
Require a single space or disallow whitespace after the colon in media features.
https://stylelint.io/user-guide/rules/media-feature-colon-space-after/
"always"
Require a single space or disallow whitespace before the colon in media features (Autofixable).
https://stylelint.io/user-guide/rules/media-feature-colon-space-before/
"never"
Specify lowercase or uppercase for media feature names (Autofixable).
https://stylelint.io/user-guide/rules/media-feature-name-case/
"lower"
Require a single space or disallow whitespace on the inside of the parentheses within media features (Autofixable).
https://stylelint.io/user-guide/rules/media-feature-parentheses-space-inside/
"never"
Require a single space or disallow whitespace after the range operator in media features (Autofixable).
https://stylelint.io/user-guide/rules/media-feature-range-operator-space-after/
"never"
Require a single space or disallow whitespace before the range operator in media features (Autofixable)
https://stylelint.io/user-guide/rules/media-feature-range-operator-space-before/
"never"
Require a newline or disallow whitespace after the commas of media query lists.
https://stylelint.io/user-guide/rules/media-query-list-comma-newline-after/
"always"
Require a newline or disallow whitespace before the commas of media query lists.
https://stylelint.io/user-guide/rules/media-query-list-comma-newline-before/
"never-multi-line"
Require a single space or disallow whitespace after the commas of media query lists.
https://stylelint.io/user-guide/rules/media-query-list-comma-space-after/
"always"
Require a single space or disallow whitespace before the commas of media query lists.
https://stylelint.io/user-guide/rules/media-query-list-comma-space-before/
"never"
Require or disallow an empty line before at-rules.
https://stylelint.io/user-guide/rules/at-rule-empty-line-before/
["never", {
except: [],
ignore: [],
}]
Specify lowercase or uppercase for at-rules names.
https://stylelint.io/user-guide/rules/at-rule-name-case/
"lower"
Require a newline after at-rule names.
https://stylelint.io/user-guide/rules/at-rule-name-newline-after/
"always-multi-line"
Require a single space after at-rule names.
https://stylelint.io/user-guide/rules/at-rule-name-space-after/
"always"
Require a newline after the semicolon of at-rules.
https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after/
"always"
Require a single space or disallow whitespace before the semicolons of at-rules.
https://stylelint.io/user-guide/rules/at-rule-semicolon-space-before/
"never"
Require or disallow an empty line before comments (Autofixable).
https://stylelint.io/user-guide/rules/comment-empty-line-before/
"never"
Require or disallow whitespace on the inside of comment markers (Autofixable).
https://stylelint.io/user-guide/rules/comment-whitespace-inside/
"never"
Specify indentation (Autofixable).
https://stylelint.io/user-guide/rules/indentation/
[2, {
baseIndentLevel: 2,
indentInsideParens: "twice",
indentInsideParens: true,
indentClosingBrace: false,
except: [],
ignore: [],
}]
Specify unix or windows linebreaks (Autofixable).
https://stylelint.io/user-guide/rules/linebreaks/
"unix"
Limit the number of adjacent empty lines.
https://stylelint.io/user-guide/rules/max-empty-lines/
[1, {
ignore: [],
}]
Limit the length of a line.
https://stylelint.io/user-guide/rules/max-line-length/
[40, {
ignore: [],
ignorePattern: "",
}]
Disallow end-of-line whitespace.
https://stylelint.io/user-guide/rules/no-eol-whitespace/
true
Disallow missing end-of-source newlines.
https://stylelint.io/user-guide/rules/no-missing-end-of-source-newline/
true
Disallow empty first lines.
https://stylelint.io/user-guide/rules/no-empty-first-line/
true