stylelint-scss
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -0,1 +1,6 @@ | ||
# 2.4.0 | ||
- Added: support for stylelint version 9. | ||
- Fixed: `dollar-variable-colon-newline-after` now allows multiline variables when `always` option is used. | ||
# 2.3.0 | ||
@@ -2,0 +7,0 @@ |
@@ -24,2 +24,11 @@ "use strict"; | ||
if (expectation === "always") { | ||
var value = decl.value.trim(); | ||
var isMultilineVar = value[0] === "(" && value[value.length - 1] === ")" && !(0, _utils.isSingleLineString)(value); | ||
if (isMultilineVar) { | ||
return; | ||
} | ||
} | ||
// Get the raw $var, and only that | ||
@@ -26,0 +35,0 @@ var endOfPropIndex = (0, _utils.declarationValueIndex)(decl) + decl.raw("between").length - 1; |
{ | ||
"name": "stylelint-scss", | ||
"description": "A collection of SCSS specific rules for stylelint", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"author": "Krister Kari", | ||
@@ -45,3 +45,3 @@ "babel": { | ||
"peerDependencies": { | ||
"stylelint": "^8.0.0" | ||
"stylelint": "^8.0.0 || ^9.0.0" | ||
}, | ||
@@ -48,0 +48,0 @@ "engines": { |
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
233056
4190