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

Commit e7f7097

Browse files
committed
Merge pull request #156 from thgreasi/curly
improvement(lint): enabled `curly` jshint check.
2 parents 9641680 + 7fe3f62 commit e7f7097

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)