Socket
Socket
Sign inDemoInstall

gulp-less-reporter

Package Overview
Dependencies
56
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-less-reporter

Error reporter for gulp-less


Version published
Weekly downloads
67
increased by1.52%
Maintainers
1
Install size
816 kB
Created
Weekly downloads
 

Readme

Source

gulp-less-reporter

Build Status npm version

This plugin provide an error reporter for gulp-less. The reporter print like the following:

[12:47:01] gulp-less: variable @undefined-variable is undefined in file somefile.less line no. 2

        1 html {
        2   color: @undefined-variable;
        3 }

Install

  1. Install gulp-less-reporter

     $ npm install --save-dev gulp-less-reporter
    
  2. Attach the reporter as an error handler for gulp-less

    var reporter = require('gulp-less-reporter');
    
    gulp.task('build', function() {
      gulp.src('somefile.less').
        pipe(less()).on('error', reporter).
        pipe(gulp.dest('/dev/null'));
    });
    

License

MIT

Keywords

FAQs

Last updated on 22 Mar 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc