2013-07-25 10:07:49 +00:00
|
|
|
module.exports = function(grunt) {
|
|
|
|
|
|
|
|
grunt.initConfig({
|
|
|
|
jshint: {
|
2013-07-25 11:24:16 +00:00
|
|
|
files: ['static/src/**/*.js', 'static/test/**/*.js'],
|
2013-07-25 10:07:49 +00:00
|
|
|
options: {
|
|
|
|
sub: true, //[] instead of .
|
|
|
|
evil: true, //eval
|
|
|
|
laxbreak: true, //unsafe line breaks
|
|
|
|
},
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
|
|
|
|
|
|
grunt.registerTask('test', ['jshint']);
|
|
|
|
|
|
|
|
grunt.registerTask('default', ['jshint']);
|
|
|
|
|
|
|
|
};
|