Noiseless Praying Mantis
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

gulp-csslint-sourcemap-reporter

0.1.1 • Public • Published

gulp-csslint-sourcemap-reporter

Console reporter adjusting error locations by the source map.

Install

First, install gulp-csslint, gulp-sourcemaps, gulp-csslint-sourcemap-reporter as a development dependency:

npm install --save-dev gulp-csslint-sourcemap-reporter

Then, add it to your gulpfile.js.

Examples

Less

gulp.src('less/**/*.less'))
    .pipe(sourcemaps.init()) // Attach source maps
    .pipe(sass())            // Compile SCSS
    .pipe(csslint())         // Check the compiled code!
    .pipe(csslint.reporter(sourcemapReporter)); // Report with adjusted location

SCSS

gulp.src('less/**/*.less'))
    .pipe(sourcemaps.init()) // Attach source maps
    .pipe(sass())            // Compile SCSS
    .pipe(csslint())         // Check the compiled code!
    .pipe(csslint.reporter(sourcemapReporter)); // Report with adjusted location

License

MIT

install

npm i gulp-csslint-sourcemap-reporter

Downloadsweekly downloads

53

version

0.1.1

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar
  • avatar