Permalink
Browse files

Remove Grunt failure on max_line_line warning

  • Loading branch information...
1 parent a55788d commit a6716eec5f16d0793d32a2a47a4a8f0f45d2a97f @iHiD committed Apr 3, 2013
Showing with 9 additions and 2 deletions.
  1. +9 −2 Gruntfile.js
View
@@ -58,7 +58,14 @@ module.exports = function(grunt) {
}
},
coffeelint: {
- lib: ['lib/**/*.coffee']
+ lib: ['lib/**/*.coffee'],
+ options: {
+ max_line_length: {
+ value: 120,
+ level: 'warn',
+ message: 'Line exceeds maximum allowed length'
+ }
+ }
},
watch: {
gruntfile: {
@@ -137,4 +144,4 @@ module.exports = function(grunt) {
var output = stripped(grunt.file.read(this.data.src));
grunt.file.write(this.data.dest, output);
});
-};
+};

0 comments on commit a6716ee

Please sign in to comment.