Socket
Socket
Sign inDemoInstall

gulp-csslint-sourcemap-reporter

Package Overview
Dependencies
58
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-csslint-sourcemap-reporter

Console reporter adjusting error location by source map for the gulp-csslint module (https://www.npmjs.org/package/gulp-csslint)


Version published
Weekly downloads
6
Maintainers
1
Install size
0.978 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 09 Nov 2015

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