Skip to content

Commit 7fe3f62

Browse files
committedApr 10, 2014
improvement(lint): enabled curly jshint check.
1 parent 36cceb5 commit 7fe3f62

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎.jshintrc

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"boss": true,
33
"browser": true,
4+
"curly": true,
45
"eqnull": true,
56
"expr": true,
67
"immed": true,

‎gruntFile.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ module.exports = function(grunt) {
1717
function fakeTargetTask(prefix){
1818
return function(){
1919

20-
if (this.args.length !== 1) return grunt.log.fail('Just give the name of the ' + prefix + ' you want like :\ngrunt ' + prefix + ':bower');
20+
if (this.args.length !== 1) {
21+
return grunt.log.fail('Just give the name of the ' + prefix + ' you want like :\ngrunt ' + prefix + ':bower');
22+
}
2123

2224
var done = this.async();
2325
var spawn = require('child_process').spawn;

0 commit comments

Comments
 (0)
Please sign in to comment.