Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

improvement(lint): enabled curly jshint check. #156

Merged
merged 1 commit into from
Apr 10, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"boss": true,
"browser": true,
"curly": true,
"eqnull": true,
"expr": true,
"immed": true,
Expand Down
4 changes: 3 additions & 1 deletion gruntFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down