prantlf/grunt-nomnoml

View on GitHub

Showing 2 of 2 total issues

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

module.exports = function (grunt) {
  const { GRUNT_NOMNOML_COVERAGE: coverage } = process.env;

  require('time-grunt')(grunt);

Severity: Major
Found in Gruntfile.js - About 2 hrs to fix

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

    module.exports = function (grunt) {
      function processDiagram(fileSrc, fileDest, options) {
        try {
          grunt.log.subhead('Processing diagram "' + fileSrc + '"');
          return generateDiagram(Object.assign({
    Severity: Minor
    Found in tasks/nomnoml.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language