nconf-base/nconf-base

View on GitHub

Showing 2 of 2 total issues

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

module.exports = function(grunt){

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    release: {
Severity: Minor
Found in Gruntfile.js - About 1 hr to fix

    Function build_base has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function build_base() {
        nconf.env('__');       // environment variables
        var stage        = nconf.get('stage'),
            port         = (stage && stage != 'local') ?  80 : 3000,
            https_port   = (stage && stage != 'local') ? 443 : 3443,
    Severity: Minor
    Found in lib/nconf-base.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language