Comparing version 4.6.3 to 4.6.4
# Changelog | ||
## 4.6.4 (2018-02-02) | ||
* Fixed an issue where multiple inline disables of same the rule wouldn't disable each one properly. ([80e8475](https://github.com/lesshint/lesshint/commit/80e84752b31ae139d9f33f6ed64a1fcd01f335a1)) | ||
## 4.6.3 (2018-01-05) | ||
@@ -3,0 +6,0 @@ * Fixed a CLI glob matching/excluded files regression introduced in `4.5.0`. ([c4fea99](https://github.com/lesshint/lesshint/commit/c4fea992dc1cc3047315232b3daa1be506815c0e)) |
@@ -177,3 +177,5 @@ 'use strict'; | ||
for (const rule of rules) { | ||
return !(result.line >= rule.start && (result.line <= rule.end || rule.end === undefined)); | ||
if (result.line >= rule.start && (result.line <= rule.end || rule.end === undefined)) { | ||
return; | ||
} | ||
} | ||
@@ -180,0 +182,0 @@ |
{ | ||
"name": "lesshint", | ||
"description": "A tool to aid you in writing clean and consistent Less.", | ||
"version": "4.6.3", | ||
"version": "4.6.4", | ||
"main": "./lib/index.js", | ||
@@ -6,0 +6,0 @@ "author": { |
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
501626
10145