processing-js
Version:
For the project website, visit http://processingjs.org
27 lines (26 loc) • 627 B
JavaScript
module.exports = function( grunt ) {
"use strict";
grunt.initConfig({
pkg: grunt.file.readJSON( "package.json" ),
jshint: {
options: {
browser: true,
globals: {
window: true,
document: true
},
"-W054": true, // new Function() warning
"-W079": true // var redefinition warning
},
files: [
"./*.js",
"./lib/**/*.js",
"./src/**/*.js",
"!./processing.js",
"!./processing.min.js"
]
}
});
grunt.loadNpmTasks( "grunt-contrib-jshint" );
grunt.registerTask( "default", [ "jshint" ]);
};