Does not allow functions in loops anymore
[odoo/odoo.git] / addons / web / Gruntfile.js
1 module.exports = function(grunt) {
2
3   grunt.initConfig({
4     jshint: {
5       files: ['static/src/**/*.js', 'static/test/**/*.js'],
6       options: {
7         sub: true, //[] instead of .
8         evil: true, //eval
9         laxbreak: true, //unsafe line breaks
10       },
11     }
12   });
13
14   grunt.loadNpmTasks('grunt-contrib-jshint');
15
16   grunt.registerTask('test', ['jshint']);
17
18   grunt.registerTask('default', ['jshint']);
19
20 };