Comparing version 1.5.0 to 1.5.1
# Changelog | ||
## 1.5.1 (2016-03-29) | ||
* Fixed an issue where `zeroUnit` would crash in certain cases. ([34606cc](https://github.com/lesshint/lesshint/commit/34606cc78963be33e988c1061d404f53e1b26d19)) | ||
## 1.5.0 (2016-03-24) | ||
@@ -3,0 +6,0 @@ * Added a `at_least_one_space` value for the `style` option in `spaceAfterPropertyColon`. ([5e9fd1e](https://github.com/lesshint/lesshint/commit/5e9fd1e1d6be23a822394e06f9a8d31bddbac018)) |
@@ -19,3 +19,3 @@ 'use strict'; | ||
var excludedUnits = []; | ||
var property = node.first('property').first('ident').content; | ||
var property = node.first('property').first('ident'); | ||
@@ -32,4 +32,4 @@ if (config) { | ||
// The property shouldn't be checked for units | ||
if (property && excludedProperties.indexOf(property) !== -1) { | ||
// No property, or it shouldn't be checked for units | ||
if (!property || (property.content && excludedProperties.indexOf(property.content) !== -1)) { | ||
return; | ||
@@ -36,0 +36,0 @@ } |
{ | ||
"name": "lesshint", | ||
"description": "A tool to aid you in writing clean and consistent Less.", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"main": "./lib/lesshint.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
346925