stylelint-scss
Advanced tools
Comparing version 6.3.1 to 6.3.2
{ | ||
"name": "stylelint-scss", | ||
"description": "A collection of SCSS-specific rules for Stylelint", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"author": "Krister Kari", | ||
@@ -6,0 +6,0 @@ "repository": "stylelint-scss/stylelint-scss", |
@@ -33,3 +33,4 @@ "use strict"; | ||
selector => | ||
selector.includes("&") && /.+&/.test(selector.replace(" ", "")) | ||
selector.includes("&") && | ||
/\s*[^\s]+\s*&/.test(selector.replace(" ", "")) | ||
); | ||
@@ -36,0 +37,0 @@ } |
@@ -448,3 +448,2 @@ "use strict"; | ||
// If the - is before a variable, than it's most likely an operator | ||
if (after[0] === "$") { | ||
@@ -456,2 +455,8 @@ if (isPrecedingOperator_) { | ||
// e.g. prop: -$margin-offset; | ||
if (isAtStart_) { | ||
return "sign"; | ||
} | ||
// If the - is before a variable, then it's most likely an operator | ||
// console.log("-, op: -$var, NO other operator before") | ||
@@ -458,0 +463,0 @@ return "op"; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
297604
8596