Xiphe/Thrall

View on GitHub
lib/loadGruntPlugins.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function loadGruntPluginsFactory has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function loadGruntPluginsFactory(
  thrallConfig,
  grunt,
  findupSync,
  path,
Severity: Minor
Found in lib/loadGruntPlugins.js - About 1 hr to fix

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

      return function loadGruntPlugins() {
        grunt.verbose.subhead(
          'loading grunt plugins for "' + thrallConfig.name + '"...'
        );
    
    
    Severity: Minor
    Found in lib/loadGruntPlugins.js - About 1 hr to fix

      Function exports has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        thrallConfig,
        grunt,
        findupSync,
        path,
        _
      Severity: Minor
      Found in lib/loadGruntPlugins.js - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status