yoctore/yocto-doc

View on GitHub

Showing 2 of 4 total issues

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

module.exports = function (grunt) {
  // Default config path value
  var configPath    = [ __dirname, 'yoctodoc.json' ].join('/');
  var apiDocConfig  = [ process.cwd(), 'docs', 'pivot', 'apidoc.json' ].join('/');
  var appPackage    = JSON.parse(grunt.file.read([ process.cwd(), 'package.json' ].join('/')));
Severity: Major
Found in tasks/yoctodoc.js - About 1 day to fix

    File yoctodoc.js has 273 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    'use strict';
    
    var _         = require('lodash');
    var hooker    = require('hooker');
    var glob      = require('glob');
    Severity: Minor
    Found in tasks/yoctodoc.js - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language