2018-01-16 06:58:15 +01:00
|
|
|
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']);
|
|
|
|
|
2018-07-13 11:51:12 +02:00
|
|
|
};
|