🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

gulp-legacy-ie-css-lint

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-legacy-ie-css-lint

Ensure your CSS won't be discarded by IE 9 and below because of crazy stylesheets limitation of legacy IE.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

gulp-legacy-ie-css-lint Build Status npm version

A Gulp plugin that ensure your CSS won't be discarded by IE 9 and below because of crazy stylesheets limitation of legacy IE.

Usage

var gulp = require('gulp');
var legacyIeCssLint = require('gulp-legacy-ie-css-lint');

gulp.task('style', function() {
  gulp.src('./src/css/style.css')
  .pipe(legacyIeCssLint({
    throw: true,
    log: true
  }))
  .pipe(gulp.dest('./build'));
});

Example output:

gulp-legacy-ie-css-lint

Options

throw

Type: Bool

Default: true

When the selector count of a single stylesheet exceed 4095, throw a error so that the gulp task is stopped.

log

Type: Bool

Default: true

Log rules count and selector count for every file passed to gulp-legacy-ie-css-lint.

Scripts

$ npm run test
$ npm run coverage

License

MIT

Keywords

gulpplugin

FAQs

Package last updated on 06 Aug 2015

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