Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-lesshint

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-lesshint - npm Package Compare versions

Comparing version 0.1.6 to 0.2.0

9

Gruntfile.js

@@ -40,2 +40,11 @@ /*

}
},
custom_options: {
options: {
spaceAfterPropertyColon: 'no_space',
spaceBeforeBrace: 'no_space'
},
files: {
src: [ 'test/fixtures/errors.less' ]
}
}

@@ -42,0 +51,0 @@ },

2

package.json
{
"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 );

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc