Gruntfile.js 922 Bytes
/* global module */

module.exports = function(grunt) {
    /* global require */
    'use strict';

    var config = {};
    config.jshint = {
        options: {
            reporter: require('jshint-stylish'),

            esnext: true,
            bitwise: true,
            camelcase: true,
            curly: true,
            eqeqeq: true,
            immed: true,
            indent: 4,
            latedef: true,
            newcap: true,
            noarg: true,
            proto: true,
            quotmark: 'single',
            undef: true,
            unused: 'vars',
            strict: true,
        },
        all: [
            'grunt-monty-python.js',
        ],
        browserOptions: {
        },
    };
    config.jscs = {
        options: {
            validateIndentation: 4,
        },
    };

    var montyPython = require('./grunt-monty-python')(grunt);
    montyPython.createConfig(config);
};