nymag/responsive-filenames

View on GitHub

Showing 2 of 13 total issues

Function wrap has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function wrap() {
  return map(function (contents, filename) {
    // ignore all non-css files. simply pass them through
    if (path.basename(filename).indexOf('.css') === -1) {
      return contents;
Severity: Minor
Found in lib/wrap-queries.js - About 1 hr to fix

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

    module.exports = function () {
      var globs, callback, css;
    
      if (!arguments.length) {
        // a stream is being passed in!
    Severity: Minor
    Found in lib/responsive-filenames.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language