Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Commit

Permalink
Adds new options as of jscs 1.0.11, fix OK message after the task
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo Henke committed Nov 6, 2013
1 parent 87397b3 commit 03a6949
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"disallowKeywordsOnNewLine": [ "else" ],
"requireKeywordsOnNewLine": [],
"requireSpacesInsideArrayBrackets": "all",
"disallowSpaceAfterPrefixUnaryOperators": [ "++", "--", "-", "+", "~", "!" ],
"disallowSpaceBeforePostfixUnaryOperators": [ "++", "--" ],
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
Expand Down
2 changes: 1 addition & 1 deletion tasks/jscs.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = function( grunt ) {
done( false );
} else {
// Shows the number of OK files, as per #5
grunt.log.ok( files.length + " without code style errors." );
grunt.log.ok( files.length + " files without code style errors." );
done( true );
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/expectations/exclude
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Running "jscs:exclude" (jscs) task
>> 1 without code style errors.
>> 1 files without code style errors.

Done, without errors.
2 changes: 1 addition & 1 deletion test/expectations/success
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Running "jscs:success" (jscs) task
>> 1 without code style errors.
>> 1 files without code style errors.

Done, without errors.

0 comments on commit 03a6949

Please sign in to comment.