Skip to content

stylelint/rules/scss ​

on save: the property order, the Prettier formatting (never disabled); warning = a choice to justify (disabled for one line, with a reason). Notations are free. SCSS (stylelint-scss): @use, variables, mixins, placeholders, operators.

71 rules, 6 on. Source: lint/stylelint/rules/scss.mjs.

RuleSettingFilesWhat it checksWhy
scss/at-each-key-value-single-lineoffSCSS——
scss/at-else-closing-brace-newline-afteroffSCSS—Off: formatting, checked by prettier/prettier.
scss/at-else-closing-brace-space-afteroffSCSS—Off: formatting, checked by prettier/prettier.
scss/at-else-empty-line-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
scss/at-else-if-parentheses-space-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
scss/at-extend-no-missing-placeholderoffSCSS—Off: a notation choice, not a mistake.
scss/at-function-named-argumentsoffSCSS——
scss/at-function-parentheses-space-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
scss/at-function-patternoffSCSS—Off: a naming convention the code review is enough for.
scss/at-if-closing-brace-newline-afteroffSCSS—Off: formatting, checked by prettier/prettier.
scss/at-if-closing-brace-space-afteroffSCSS—Off: formatting, checked by prettier/prettier.
scss/at-if-no-nulloffSCSS—Off: a notation choice, not a mistake.
scss/at-import-partial-extension-allowed-listoffSCSS——
scss/at-import-partial-extension-disallowed-listoffSCSS——
scss/at-mixin-argumentless-call-parenthesesoffSCSS—Off: a notation choice, not a mistake.
scss/at-mixin-named-argumentsoffSCSS——
scss/at-mixin-no-risky-nesting-selectoroffSCSS——
scss/at-mixin-parentheses-space-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
scss/at-mixin-patternoffSCSS—Off: a naming convention the code review is enough for.
scss/at-root-no-redundantoffSCSS——
scss/at-rule-conditional-no-parenthesesoffSCSS—Off: a notation choice, not a mistake.
scss/at-rule-no-unknownerrorSCSS——
scss/at-use-no-redundant-aliasoffSCSS——
scss/at-use-no-unnamespacedoffSCSS——
scss/block-no-redundant-nestingoffSCSS——
scss/comment-no-emptyoffSCSS—Off: a notation choice, not a mistake.
scss/comment-no-loudoffSCSS——
scss/declaration-nested-propertiesoffSCSS——
scss/declaration-nested-properties-no-divided-groupserrorSCSS——
scss/declaration-property-value-no-unknownoffSCSS——
scss/dimension-no-non-numeric-valuesoffSCSS——
scss/dollar-variable-colon-newline-afteroffSCSS——
scss/dollar-variable-colon-space-afteroffSCSS—Off: formatting, checked by prettier/prettier.
scss/dollar-variable-colon-space-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
scss/dollar-variable-defaultoffSCSS——
scss/dollar-variable-empty-line-afteroffSCSS——
scss/dollar-variable-empty-line-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
scss/dollar-variable-first-in-blockoffSCSS——
scss/dollar-variable-no-missing-interpolationerrorSCSS——
scss/dollar-variable-no-namespaced-assignmentoffSCSS——
scss/dollar-variable-patternoffSCSS—Off: a naming convention the code review is enough for.
scss/double-slash-comment-empty-line-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
scss/double-slash-comment-inlineoffSCSS——
scss/double-slash-comment-whitespace-insideoffSCSS—Off: formatting, checked by prettier/prettier.
scss/function-calculation-no-interpolationoffSCSS——
scss/function-color-channeloffSCSS——
scss/function-color-relativeoffSCSS——
scss/function-disallowed-listoffSCSS——
scss/function-no-unknownoffSCSS——
scss/function-quote-no-quoted-strings-insideoffSCSS—Off: a notation choice, not a mistake.
scss/function-unquote-no-unquoted-strings-insideoffSCSS—Off: a notation choice, not a mistake.
scss/load-no-partial-leading-underscoreoffSCSS—Off: a notation choice, not a mistake.
scss/load-partial-extensionoffSCSS—Off: a notation choice, not a mistake.
scss/map-keys-quotesoffSCSS——
scss/media-feature-value-dollar-variableoffSCSS——
scss/no-dollar-variablesoffSCSS——
scss/no-duplicate-dollar-variablesoffSCSS——
scss/no-duplicate-load-rulesoffSCSS——
scss/no-duplicate-mixinserrorSCSS——
scss/no-global-function-nameserrorSCSS——
scss/no-unused-private-membersoffSCSS——
scss/operator-no-newline-afteroffSCSS—Off: formatting, checked by prettier/prettier.
scss/operator-no-newline-beforeoffSCSS—Off: formatting, checked by prettier/prettier.
scss/operator-no-unspacederrorSCSS——
scss/partial-no-importoffSCSS——
scss/percent-placeholder-patternoffSCSS—Off: a naming convention the code review is enough for.
scss/property-no-unknownoffSCSS——
scss/selector-class-patternoffSCSS——
scss/selector-nest-combinatorsoffSCSS——
scss/selector-no-redundant-nesting-selectoroffSCSS——
scss/selector-no-union-class-nameoffSCSS——

Generated from the JSDoc of the sources.