2.0.2 • Published 10 years ago

gulp-scss-lint-stylish2 v2.0.2

Weekly downloads
16
License
MIT
Repository
github
Last release
10 years ago

Stylish reporter for gulp-scss-lint, following the visual style of ESLint stylish reporter

dependencies licence npm version downloads

Overview

Example console output:

screenshot

Installation

npm install --save gulp-scss-lint-stylish2

Usage

var gulp     = require('gulp'),
    scssLint = require('gulp-scss-lint'),
    stylish  = require('gulp-scss-lint-stylish2');
 
gulp.task('scss-lint', function()
{
    var reporter = stylish();

    gulp.src('/scss/*.scss')
        .pipe( scssLint({ customReport: reporter.issues }) )
        .pipe( reporter.printSummary );
});

Use errorsOnly parameter to filter out warnings:

    var reporter = stylish({ errorsOnly: true });

screenshot

You can list just the files:

        .pipe( scssLint({ customReport: reporter.files }) )
        .pipe( reporter.printSummary );

screenshot

... or suppress output and print just the summary:

        .pipe( scssLint({ customReport: reporter.silent }) )
        .pipe( reporter.printSummary );

screenshot

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.0

10 years ago

0.0.1

10 years ago