at-use-no-unnamespaced
rule (#569).dollar-variable-no-namespaced-assignment
rule (#570).at-each-key-value-single-line
add support for Sass modules (#580).operator-no-unspaced
false positive when using a loop (#575).operator-no-unspaced
don't check operators from data URIs (#574).parseSelector
function to match the one in stylelint repo (#567).no-global-function-names
removed checks functions that cause warnings for global CSS functions (min, max, filter) (#566).stylelint@13
support.stylelint@14
support.no-global-function-names
handle interpolated values and add mappings for color functions.comment-no-empty
remove duplicate rule name from rule's rejected message and improve readme.at-rule-no-unknown
remove duplicate rule name from rule's rejected message.dollar-variable-first-in-block
to support @use
and @forward
when using the ignore: ["imports"]
option.selector-nest-combinators
throwing an error when certain type of nesting was used.dimension-no-non-numeric-values
throwing an error for certain type of unitless interpolation.ignoreDefaults
option to no-duplicate-dollar-variables
rule.selector-no-redundant-nesting-selector
add ignoreKeywords
option to ignore certain keywords that can be used in Less or some other non-Scss syntax.comment-no-loud
fix a bug where the rule was only checking for comments that were in the beginning of the file.postcss-value-parser
dependency and dev dependencies to latest versions.function-color-relative
false positives for CSS filter
property.comment-no-empty
rule.operator-no-unspaced
don't warn for negative numbers inside a function call in interpolated values.no-global-function-names
rule.dollar-variable-first-in-block
rule.dollar-variable-empty-line-after
rule.function-color-relative
, function-quote-no-quoted-strings-inside
and function-unquote-no-unquoted-strings-inside
point the warning to the function name.no-duplicate-dollar-variables
do not warn for duplicate variables that are in different scopes. A dollar variable is now considered a duplicate if it shadows a variable of the same name (see the Sass documentation).media-feature-value-dollar-variable
new option ignore: ["keywords"]
to not warn when the media feature value is a keyword value like none
, dark
, fine
, srgb
.double-slash-comment-empty-line-before
new options except: ["inside-block"]
and ignore: ["inside-block"]
.operator-no-unspaced
do not find operators in valid unquoted URLs.operator-no-unspaced
ignore operators inside @at-root
.at-import-partial-extension
don't warn for urls that have commas in them.at-rule-no-unknown
rule.at-rule-conditional-no-parentheses
don't warn for function calls.map-keys-quotes
ignore math operators inside map values.operator-no-unspaced
was looking for operators inside @forward
and @use
.no-duplicate-mixins
rule.at-rule-no-unknown
support for Sass' @forward
and @use
.selector-nest-combinators
warning for @keyframes
.dimension-no-non-numeric-values
rule.at-if-no-null
rule.at-import-partial-extension
rule.at-rule-conditional-no-parentheses
rule.dimension-no-non-numeric-values
rule.selector-nest-combinators
rule throwing an error when using nested props.map-keys-quotes
warning for unquoted numeric keys.selector-no-union-class-name
throwing an error when using nested @
-rules.selector-no-union-class-name
false positives for id, attribute, and pseudo selectors.selector-no-union-class-name
rule.function-color-relative
rule.comment-no-loud
rule.map-keys-quotes
rule.at-else-empty-line-before
and dollar-variable-empty-line-before
rules.function-unquote-no-unquoted-strings-inside
rule.at-each-key-value-single-line
rule.at-each-key-value-single-line
rule.function-quote-no-quoted-strings-inside
rule.double-slash-comment-empty-line-before
autofix not working in certain situations.dollar-variable-colon-newline-after
no longer warns for multiline variables that use !default
.operator-no-unspaced
no longer warns for valid absolute urls and urls with interpolation.selector-nest-combinators
rule.selector-nest-combinators
rule.selector-nest-combinators
rule.postcss-selector-parser
dependency to 5.0.0 (major version bump) with a memory leak fix and other bug fixes.double-slash-comment-whitespace-inside
fix error being thrown when using two backslashes inside a string.operator-no-unspaced
no longer warns for relative url paths.at-function-named-arguments
was not correctly handling functions inside Sass maps.at-mixin-argumentless-call-parentheses
autofix (#280).partial-no-import
correctly handle import parameters with urls (#283).at-function-parentheses-space-before
) and mixin (at-mixin-parentheses-space-before
) names.at-function-named-arguments
correctly parse function arguments with trailing commas.at-function-named-arguments
add ignoreFunctions
option.at-function-named-arguments
correctly parse data uris as function parameters.no-dollar-variables
rule.ignoreInside
and ignoreInsideAtRules
options to no-duplicate-dollar-variables
rule.operator-no-unspaced
no longer warns for unicode-range
property.operator-no-newline-after
and operator-no-newline-before
rules.operator-no-newline-before
and operator-no-unspaced
rules were throwing an error when using CSS custom properties.no-duplicate-dollar-variables
rule.at-function-named-arguments
now ignores Sass maps.at-else-empty-line-before
autofix (#221).at-else-if-parentheses-space-before
autofix (#222).at-function-parentheses-space-before
autofix (#223).at-mixin-parentheses-space-before
autofix (#224).dollar-variable-empty-line-before
autofix (#226).dollar-variable-colon-space-after
autofix (#227).dollar-variable-colon-space-before
autofix (#227).at-else-closing-brace-space-after
autofix (#228).at-if-else-closing-brace-space-after
autofix (#228).at-else-closing-brace-newline-after
autofix (#229).at-if-closing-brace-newline-after
autofix (#229).double-slash-comment-empty-line-before
autofix (#230).dollar-variable-colon-newline-after
autofix (#231).at-least-one-space
option to dollar-variable-colon-space-after
rule.dollar-variable-colon-newline-after
now does not require a newline for Sass maps and multiline variables with parentheses when always-multi-line
option is used.dollar-variable-colon-newline-after
now allows multiline variables when always
option is used.dollar-variable-default
rule.at-function-named-arguments
rule.at-mixin-named-arguments
rule.at-else-if-parentheses-space-before
rule.at-function-parentheses-space-before
rule.at-mixin-parentheses-space-before
rule.selector-no-redundant-nesting-selector
now handles multiple nested selectors.This version updates stylelint to version 8 and removes 2 rules that were deprecated in earlier versions.
peerDependencies
instead of dependencies
. This means that you need to have stylelint
installed in your project before using stylelint-scss
.at-import-no-partial-extension
at-mixin-no-argumentless-call-parentheses
operator-no-unspaced
support escaped operators by handling them in sassValueParser
.declaration-nested-properties
support escaped selectors by checking for escaped characters in parseNestedPropRoot
.at-rule-no-unknown
add missing export to ruleName
.at-rule-no-unknown
add options validation.at-rule-no-unknown
rule.at-if-closing-brace-newline-after
: support @elseif
.at-mixin-no-argumentless-call-parentheses
messagesfindCommentsInRaws
if a comment is the first/last in a file/linefindCommentsInRaws
error in function detectionat-else-closing-brace-space-after
and at-else-empty-line-before
rules.:not()
-like selectors, strings, numbers).at-else-closing-brace-newline-after
rule.at-else-closing-brace-space-after
rule.at-if-closing-brace-newline-after
rule.at-if-closing-brace-space-after
rule.at-else-empty-line-before
rule.declaration-nested-properties
rule.declaration-nested-properties-no-divided-groups
rule.dollar-variable-empty-line-before
rule.ignore: "local"|"global"
to the dollar-variable-pattern
rule.docs
folder to npm
package.src
folder from npm
package.-
and +
at the operation start in operator-
rules.findCommentsInRaws
false positives on comments inside strings (applicable to rules double-slash-comment-inline
, double-slash-comment-whitespace-inside
, operator-no-unspaced
).%
character by operator-
rules.operator-
rules.findCommentsInRaws
fail on parsing selectors like p:not(.not-p)
(applicable to rules double-slash-comment-inline
, double-slash-comment-whitespace-inside
, operator-no-unspaced
).//
).findCommentsInRaws
giving wrong column number (applicable to rules double-slash-comment-inline
, double-slash-comment-whitespace-inside
, operator-no-unspaced
).findCommentsInRaws
for multiline CSS comments and text for //-comments (double-slash-comment-
rules and operator-no-unspaced
rule).at-mixin-argumentless-call-parentheses
rule (with “always”/“never” behavior as a replacement for at-mixin-no-argumentless-call-parentheses
).dollar-variable-colon-newline-after
rule.dollar-variable-colon-space-after
rule.dollar-variable-colon-space-before
rule.double-slash-comment-empty-line-before
rule.double-slash-comment-inline
rule.double-slash-comment-whitespace-inside
rule.operator-no-newline-after
rule.operator-no-newline-before
rule.operator-no-unspaced
rule.at-mixin-no-argumentless-call-parentheses
.partial-no-import
failing when linting a code string (not in an actual file, e.g. via stylelilnt Node API).at-function-pattern
, at-mixin-pattern
failing if there are parens inside a parameters list.partial-no-import
rule.media-feature-value-dollar-variable
rule.at-import-partial-extension-blacklist
rule.at-import-partial-extension-whitelist
rule.at-import-no-partial-extension
rule.dollar-variable-no-missing-interpolation
was throwing an error on older Node.js versions.at-function-pattern
, at-mixin-pattern
.selector-no-redundant-nesting-selector
.at-mixin-no-argumentless-call-parentheses
rule.at-import-no-partial-leading-underscore
rule.at-import-no-partial-extension
rule.percent-placeholder-pattern
rule.selector-no-redundant-nesting-selector
no longer warns about BEM syntax.warning
/ error
and report ignore
instead.at-extend-no-missing-placeholder
rule.at-function-pattern
rule.at-mixin-pattern
rule.dollar-variable-no-missing-interpolation
rule.dollar-variable-pattern
rule.selector-no-redundant-nesting-selector
rule.