File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 99'use strict' ;
1010
1111var Lesshint = require ( 'lesshint' ) . Lesshint ,
12- chalk = require ( 'chalk' ) ,
13- configLoader = require ( 'lesshint/lib/config-loader' ) ;
12+ chalk = require ( 'chalk' ) ;
1413
1514module . exports = function ( grunt ) {
1615 grunt . registerMultiTask ( 'lesshint' , 'Lint lesscss files' , function ( ) {
@@ -21,10 +20,10 @@ module.exports = function( grunt ){
2120
2221 if ( options . lesshintrc === true ) {
2322 // let lesshint find the options itself
24- config = configLoader ( ) ;
23+ config = linter . getConfig ( ) ;
2524 } else if ( options . lesshintrc ) {
2625 // Read Lesshint options from a specified .lesshintrc file.
27- config = configLoader ( options . lesshintrc ) ;
26+ config = linter . getConfig ( options . lesshintrc ) ;
2827 } else {
2928 config = options ;
3029 }
You can’t perform that action at this time.
0 commit comments