lib/grunt/helper.js
function (buildConfig, config) {
        var testConfig = extend(true, {}, config || {}, {
            nomen: true,
            unparam: true,
            predef: [
                'it',
                'describe'
            ]
        });

        if (!buildConfig.nodeProject) {
            testConfig.predef.push('angular');
        }

        return testConfig;
    }
function (buildConfig, config) {
        var testConfig = extend(true, {}, config || {}, {
            nomen: true,
            unparam: true,
            predef: [
                'it',
                'describe'
            ]
        });

        if (!buildConfig.nodeProject) {
            testConfig.predef.push('angular');
        }

        return testConfig;
    }
function ( buildConfig , config ) { var testConfig = extend ( true , { } , config || { } , { nomen : true , unparam : true , predef : [ 'it' , 'describe' ] } ) ; if ( ! buildConfig . nodeProject ) { testConfig . predef . push ( 'angular' ) ; } return testConfig ; }
Returns the jslint test config.

@function
@memberof! GruntTaskHelper
@private
@param {Object} buildConfig - The grunt buildConfig data
@param {Object} config - The JSLint config used for non test files
@returns {Object} The JSLint config
Returns the jslint test config .