Skip to content

Commit

Permalink
[Dev Deps] update jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 12, 2015
1 parent 281c4ef commit eb222a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"maximum": 1
},

"requirePaddingNewLinesAfterUseStrict": true
"requirePaddingNewLinesAfterUseStrict": true,

"disallowArrowFunctions": true,

"validateOrderInObjectKeys": "asc-insensitive"
}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"devDependencies": {
"tape": "^4.0.3",
"covert": "^1.1.0",
"jscs": "^2.0.0",
"jscs": "^2.1.0",
"editorconfig-tools": "^0.1.1",
"nsp": "^1.0.3",
"eslint": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test('not regexes', function (t) {

test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
var regex = /a/g;
var fakeRegex = { valueOf: function () { return regex; }, toString: function () { return String(regex); } };
var fakeRegex = { toString: function () { return String(regex); }, valueOf: function () { return regex; } };
fakeRegex[Symbol.toStringTag] = 'RegExp';
t.notOk(isRegex(fakeRegex), 'fake RegExp with @@toStringTag "RegExp" is not regex');
t.end();
Expand Down

0 comments on commit eb222a8

Please sign in to comment.