stylelint-scss
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,5 @@ | ||
# 1.2.1 | ||
- Fixed: `at-function-pattern`, `at-mixin-pattern` failing if there are parens inside a parameters list. | ||
# 1.2.0 | ||
@@ -2,0 +6,0 @@ |
@@ -26,3 +26,3 @@ "use strict"; | ||
// Stripping the function of its arguments | ||
var funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*?\)/g, ""); | ||
var funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, ""); | ||
if (regexpPattern.test(funcName)) { | ||
@@ -29,0 +29,0 @@ return; |
@@ -26,3 +26,3 @@ "use strict"; | ||
// Stripping the mixin of its arguments | ||
var mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*?\)/g, ""); | ||
var mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, ""); | ||
if (regexpPattern.test(mixinName)) { | ||
@@ -29,0 +29,0 @@ return; |
{ | ||
"name": "stylelint-scss", | ||
"description": "A collection of SCSS specific rules for stylelint", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "Krister Kari", | ||
@@ -6,0 +6,0 @@ "babel": { |
@@ -27,3 +27,3 @@ import { isRegExp, isString } from "lodash" | ||
// Stripping the function of its arguments | ||
const funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*?\)/g, "") | ||
const funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, "") | ||
if (regexpPattern.test(funcName)) { return } | ||
@@ -30,0 +30,0 @@ |
@@ -27,3 +27,3 @@ import { isRegExp, isString } from "lodash" | ||
// Stripping the mixin of its arguments | ||
const mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*?\)/g, "") | ||
const mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, "") | ||
if (regexpPattern.test(mixinName)) { return } | ||
@@ -30,0 +30,0 @@ |
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
82990