summaryrefslogtreecommitdiff
path: root/addons/web/Gruntfile.js
blob: 43b58c3b64ba0b86686b8acabb40683dbcd3697f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = function(grunt) {

    grunt.initConfig({
        jshint: {
            src: ['static/src/**/*.js', 'static/tests/**/*.js'],
            options: {
                sub: true, //[] instead of .
                evil: true, //eval
                laxbreak: true, //unsafe line breaks
            },
        },
    });

    grunt.loadNpmTasks('grunt-contrib-jshint');

    grunt.registerTask('test', []);

    grunt.registerTask('default', ['jshint']);

};