Skip to content

Commit

Permalink
[Dev Deps] update tape, jscs, eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 12, 2015
1 parent 7bff214 commit ab9bdbb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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"
}

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"devDependencies": {
"foreach": "^2.0.5",
"is": "^3.0.1",
"tape": "^4.0.2",
"tape": "^4.0.3",
"indexof": "^0.0.1",
"covert": "^1.1.0",
"jscs": "^2.0.0",
"jscs": "^2.1.0",
"editorconfig-tools": "^0.1.1",
"nsp": "^1.0.3",
"eslint": "^1.0.0",
"eslint": "^1.1.0",
"@ljharb/eslint-config": "^1.0.4",
"semver": "^5.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('not Dates', function (t) {

test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) {
var realDate = new Date();
var fakeDate = { valueOf: function () { return realDate.getTime(); }, toString: function () { return String(realDate); } };
var fakeDate = { toString: function () { return String(realDate); }, valueOf: function () { return realDate.getTime(); } };
fakeDate[Symbol.toStringTag] = 'Date';
t.notOk(isDate(fakeDate), 'fake Date with @@toStringTag "Date" is not Date');
t.end();
Expand Down

0 comments on commit ab9bdbb

Please sign in to comment.