From 7fe3f622f445cf488135eaa8771c697d8b98cabf Mon Sep 17 00:00:00 2001 From: Thodoris Greasidis Date: Fri, 11 Apr 2014 00:00:46 +0300 Subject: [PATCH] improvement(lint): enabled `curly` jshint check. --- .jshintrc | 1 + gruntFile.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.jshintrc b/.jshintrc index c18bd33..f6162d2 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,6 +1,7 @@ { "boss": true, "browser": true, + "curly": true, "eqnull": true, "expr": true, "immed": true, diff --git a/gruntFile.js b/gruntFile.js index 9390a95..8f29b3d 100644 --- a/gruntFile.js +++ b/gruntFile.js @@ -17,7 +17,9 @@ module.exports = function(grunt) { function fakeTargetTask(prefix){ return function(){ - if (this.args.length !== 1) return grunt.log.fail('Just give the name of the ' + prefix + ' you want like :\ngrunt ' + prefix + ':bower'); + if (this.args.length !== 1) { + return grunt.log.fail('Just give the name of the ' + prefix + ' you want like :\ngrunt ' + prefix + ':bower'); + } var done = this.async(); var spawn = require('child_process').spawn;