grunt-lesshint
Advanced tools
Comparing version 1.5.0 to 1.5.1
{ | ||
"name": "grunt-lesshint", | ||
"description": "Lint lesscss files with grunt", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"homepage": "https://github.com/lesshint/grunt-lesshint", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -108,2 +108,3 @@ # grunt-lesshint | ||
|---|---|---| | ||
|2017-04-21|1.5.1|Fix so we don't break if Lesshint changes config setup in the future| | ||
|2017-03-12|1.5.0|<ul><li>Update lesshint to 3.0.0</li><li>Update grunt-mocha-test to 0.13.2</li><li>Update mocha to 3.2.0</li></ul>| | ||
@@ -110,0 +111,0 @@ |2016-10-10|1.4.0|Added support for allowing warnings without exiting. Thanks [@mmckenziedev](https://github.com/mmckenziedev)!| |
@@ -12,4 +12,3 @@ /* | ||
var Lesshint = require( 'lesshint' ).Lesshint, | ||
chalk = require( 'chalk' ), | ||
configLoader = require( 'lesshint/lib/config-loader' ); | ||
chalk = require( 'chalk' ); | ||
@@ -25,6 +24,6 @@ module.exports = function( grunt ){ | ||
// let lesshint find the options itself | ||
config = configLoader(); | ||
config = linter.getConfig(); | ||
} else if( options.lesshintrc ){ | ||
// Read Lesshint options from a specified .lesshintrc file. | ||
config = configLoader( options.lesshintrc ); | ||
config = linter.getConfig( options.lesshintrc ); | ||
} else { | ||
@@ -31,0 +30,0 @@ config = options; |
Sorry, the diff of this file is not supported yet
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
20310
141
327