0b06638f by David LaPalomento

Tighten up jshint

Enforce more formatting and style rules with jshint. Make the gruntile compliant.
1 parent 31ad020c
...@@ -10,5 +10,11 @@ ...@@ -10,5 +10,11 @@
10 "unused": true, 10 "unused": true,
11 "boss": true, 11 "boss": true,
12 "eqnull": true, 12 "eqnull": true,
13 "node": true 13 "node": true,
14
15 "camelcase": true,
16 "nonew": true,
17 "quotmark": "single",
18 "trailing": true,
19 "maxlen": 80
14 } 20 }
......
...@@ -81,6 +81,7 @@ module.exports = function(grunt) { ...@@ -81,6 +81,7 @@ module.exports = function(grunt) {
81 grunt.loadNpmTasks('grunt-contrib-watch'); 81 grunt.loadNpmTasks('grunt-contrib-watch');
82 82
83 // Default task. 83 // Default task.
84 grunt.registerTask('default', ['jshint', 'qunit', 'clean', 'concat', 'uglify']); 84 grunt.registerTask('default',
85 ['jshint', 'qunit', 'clean', 'concat', 'uglify']);
85 86
86 }; 87 };
......