stylelint-order
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -5,2 +5,5 @@ # Change Log | ||
## 0.4.1 | ||
* Fixed `properties-order` bug, when non-standard declaration is following after a standard one | ||
## 0.4.0 | ||
@@ -7,0 +10,0 @@ * Removed `declaration-block-properties-specified-order`. Instead use `properties-order` rule. |
{ | ||
"name": "stylelint-order", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A collection of order related linting rules for stylelint.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -99,3 +99,8 @@ 'use strict'; | ||
if (child.type !== 'decl') { | ||
// current node should be a standard declaration | ||
if ( | ||
child.type !== 'decl' | ||
|| !utils.isStandardSyntaxProperty(nodeData.node.prop) | ||
|| utils.isCustomProperty(nodeData.node.prop) | ||
) { | ||
return; | ||
@@ -102,0 +107,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
53891
991
0