stylelint-scss
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -0,1 +1,6 @@ | ||
# 1.4.1 | ||
- Fixed: mixed import names for `at-else-closing-brace-space-after` and `at-else-empty-line-before` rules. | ||
- Fixed: false positives for nested props rules (`:not()`-like selectors, strings, numbers). | ||
# 1.4.0 | ||
@@ -2,0 +7,0 @@ |
@@ -140,4 +140,4 @@ "use strict"; | ||
"at-else-closing-brace-newline-after": _atElseClosingBraceNewlineAfter2.default, | ||
"at-else-closing-brace-space-after": _atElseEmptyLineBefore2.default, | ||
"at-else-empty-line-before": _atElseClosingBraceSpaceAfter2.default, | ||
"at-else-closing-brace-space-after": _atElseClosingBraceSpaceAfter2.default, | ||
"at-else-empty-line-before": _atElseEmptyLineBefore2.default, | ||
"at-function-pattern": _atFunctionPattern2.default, | ||
@@ -144,0 +144,0 @@ "at-if-closing-brace-newline-after": _atIfClosingBraceNewlineAfter2.default, |
@@ -15,3 +15,4 @@ "use strict"; | ||
mode: "normal", | ||
character: null | ||
character: null, | ||
isCalculationEnabled: true | ||
}]; | ||
@@ -63,5 +64,7 @@ var result = {}; | ||
// It's a declaration if 1) there is a whitespace after :, or | ||
// 2) the value is a number (with/without a unit), | ||
// 3) the value is a variable | ||
if (propValue.before === "" && !/[0-9.$]/.test(propValue.value)) { | ||
// 2) the value is a number with/without a unit (starts with a number | ||
// or a dot), or | ||
// 3) the value is a variable (starts with $), or | ||
// 4) the value a string, surprisingly | ||
if (propValue.before === "" && !/^[0-9.$'"]/.test(propValue.value)) { | ||
return null; | ||
@@ -68,0 +71,0 @@ } |
{ | ||
"name": "stylelint-scss", | ||
"description": "A collection of SCSS specific rules for stylelint", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": "Krister Kari", | ||
@@ -6,0 +6,0 @@ "babel": { |
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
211835
3779