/**
 * Created by elad.benedict on 8/12/2015.
 */

module.exports = function (grunt) {
    'use strict';

    grunt.config.set('jshint', {
            src: [
                '<%= app_files.js%>', '<%=test_files.js%>'
            ],
            options: {
                jshintrc: true,
                reporter: require('jshint-junit-reporter'),
                reporterOutput: '<%= reports_dir %>/jshint-results.xml'
            }
        }
    );
};
/**
 * Created by elad.benedict on 8/12/2015.
 */

module.exports = function (grunt) {
    'use strict';

    grunt.config.set('jshint', {
            dev: {
                src: [
                    '<%= app_files.js%>', '<%=test_files.js%>'
                ],
                options: {
                    jshintrc: true,
                    reporter: require('jshint-junit-reporter')
                }
            },

            ci : {
                src: [
                    '<%= app_files.js%>', '<%=test_files.js%>'
                ],
                options: {
                    jshintrc: true,
                    reporter: require('jshint-junit-reporter'),
                    reporterOutput: '<%= reports_dir %>/jshint-results.xml'
                }
            }
        }
    );
};
Add different jshint flavors for dev and ci
Add different jshint flavors for dev and ci
