grunt-lesshint
Advanced tools
Comparing version 0.1.6 to 0.2.0
@@ -40,2 +40,11 @@ /* | ||
} | ||
}, | ||
custom_options: { | ||
options: { | ||
spaceAfterPropertyColon: 'no_space', | ||
spaceBeforeBrace: 'no_space' | ||
}, | ||
files: { | ||
src: [ 'test/fixtures/errors.less' ] | ||
} | ||
} | ||
@@ -42,0 +51,0 @@ }, |
{ | ||
"name": "grunt-lesshint", | ||
"description": "Lint lesscss files with grunt", | ||
"version": "0.1.6", | ||
"version": "0.2.0", | ||
"homepage": "https://github.com/kokarn/grunt-lesshint", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -55,2 +55,3 @@ # grunt-lesshint | ||
|---|---|---| | ||
|2015-05-03|0.2.0|Add support for passing options to lesshint| | ||
|2015-05-03|0.1.6|Update lesshint to 0.3.1| | ||
@@ -57,0 +58,0 @@ |2015-05-03|0.1.5|Update lesshint to 0.3.0| |
@@ -22,4 +22,7 @@ /* | ||
grunt.option( 'force', true ); | ||
delete options.force; | ||
} | ||
linter.configure( options ); | ||
this.files.forEach( function( files ){ | ||
@@ -26,0 +29,0 @@ var errorCount = 0, |
@@ -38,2 +38,16 @@ 'use strict'; | ||
}, | ||
customOptionsNoErrors: function( test ){ | ||
test.expect( 1 ); | ||
// task: lesshint:custom_options | ||
// should succeed without warnings | ||
var response = childProcess.spawnSync( 'grunt', [ 'lesshint:custom_options' ], { | ||
encoding: 'utf8' | ||
}); | ||
test.equal( response.status, 0, 'This assertion should succeed and exit with status code 0 (No errors!)' ); | ||
test.done(); | ||
}, | ||
withForce: function( test ){ | ||
@@ -40,0 +54,0 @@ test.expect( 1 ); |
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
11043
175
63