stylelint-scss
Advanced tools
Comparing version 6.5.0 to 6.5.1
{ | ||
"name": "stylelint-scss", | ||
"description": "A collection of SCSS-specific rules for Stylelint", | ||
"version": "6.5.0", | ||
"version": "6.5.1", | ||
"author": "Krister Kari", | ||
@@ -6,0 +6,0 @@ "repository": "stylelint-scss/stylelint-scss", |
@@ -63,4 +63,3 @@ "use strict"; | ||
if (context.fix) { | ||
const contents = decl.value.match(/quote\((.*)\)/); | ||
decl.value = decl.value.replace(/quote\(.*\)/, contents[1]); | ||
decl.value = decl.value.replace(/quote\((.*)\)/, "$1"); | ||
} else { | ||
@@ -67,0 +66,0 @@ const index = declarationValueIndex(decl) + node.sourceIndex; |
@@ -54,3 +54,3 @@ "use strict"; | ||
// Verify we're only looking at quote() calls. | ||
// Verify we're only looking at unquote() calls. | ||
if (node.value !== "unquote") { | ||
@@ -67,5 +67,3 @@ return; | ||
if (context.fix) { | ||
const contents = /unquote\((.*)\)/.exec(decl.value); | ||
decl.value = contents[1]; | ||
decl.value = decl.value.replace(/unquote\((.*)\)/, "$1"); | ||
} else { | ||
@@ -72,0 +70,0 @@ const index = declarationValueIndex(decl) + node.sourceIndex; |
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
318784
9257