jshintrc tweak - allowing multistrings
[fnpeditor.git] / Gruntfile.js
index 4d26c25..5f66014 100644 (file)
@@ -22,11 +22,18 @@ module.exports = function(grunt) {
                     'build/rng.css': 'styles/main.less'
                 },
             },
+        },
+        jshint: {
+            all: ['Gruntfile.js', 'modules/**/*.js', 'views/**/*.js', 'fnpjs/**/*.js'],
+            options: {
+                jshintrc: '.jshintrc'
+            }
         }
     });
 
     grunt.loadNpmTasks('grunt-contrib-requirejs');
     grunt.loadNpmTasks('grunt-contrib-less');
+    grunt.loadNpmTasks('grunt-contrib-jshint');
 
     grunt.registerTask('default', ['requirejs']);
 };
\ No newline at end of file