scniro/gulp-clean-css

View on GitHub

Showing 2 of 7 total issues

File index.spec.js has 287 lines of code (exceeds 250 allowed). Consider refactoring.
Open

const chai = require('chai');
const cleanCSS = require('.');
const concat = require('gulp-concat');
const File = require('vinyl');
const gulp = require('gulp');
Severity: Minor
Found in index.spec.js - About 2 hrs to fix

    Function exports has 46 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = (options, callback) => {
    
      let _callback = callback || (o => undefined);
    
      return through.obj(function (file, enc, cb) {
    Severity: Minor
    Found in index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language