🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

gulp-csslint-report

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-csslint-report

Glup plugin to generate HTML report from the csslint results

2.0.0
latest
Source
npm
Version published
Weekly downloads
223
4.69%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-csslint-report

Generates HTML report from the csslint results

Usage

First, do a install gulp-csslint as a development dependency:

npm install --save-dev gulp-csslint

Then, install the reporter:

npm install --save-dev gulp-csslint-report

Then, add it to your gulpfile.js:

var csslint = require('gulp-csslint');
var htmlReporter = require('gulp-csslint-report');

gulp.task('css', function() {
  gulp.src('client/css/*.css')
    .pipe(csslint())
    .pipe(htmlReporter());
});

API

htmlReporter(options)

Type: Object

You can pass the output filename (consolidated report) and individual css file reports location directory.

gulp.src('client/css/*.css')
  .pipe(csslint())
  .pipe(htmlReporter({
      'filename': 'index.html',
      'directory': './csslint-reports/'
  }));

Defaults are: {'filename': 'csslint-report.html', 'directory': './logs/'}

Keywords

gulpplugin

FAQs

Package last updated on 16 Jun 2017

Did you know?

Socket

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