Skip to content

Commit

Permalink
[Dev Deps] update tape, jscs, eslint, @ljharb/eslint-config, …
Browse files Browse the repository at this point in the history
…`nsp`, `core-js`
  • Loading branch information
ljharb committed Mar 29, 2016
1 parent be477e9 commit ed25637
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
9 changes: 8 additions & 1 deletion .jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@

"requireImportAlphabetized": false,

"disallowSpacesInsideTemplateStringPlaceholders": true
"requireSpaceBeforeObjectValues": true,
"requireSpaceBeforeDestructuredValues": true,

"disallowSpacesInsideTemplateStringPlaceholders": true,

"disallowArrayDestructuringReturn": false,

"requireNewlineBeforeSingleStatementsInIf": false
}

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@
"object.entries": "^1.0.3"
},
"devDependencies": {
"tape": "^4.4.0",
"tape": "^4.5.1",
"covert": "^1.1.0",
"jscs": "^2.10.1",
"jscs": "^2.11.0",
"foreach": "^2.0.5",
"object.entries": "^1.0.3",
"make-arrow-function": "^1.1.0",
"make-generator-function": "^1.1.0",
"semver": "^5.1.0",
"eslint": "^2.2.0",
"@ljharb/eslint-config": "^2.1.1",
"nsp": "^2.2.0",
"eslint": "^2.5.3",
"@ljharb/eslint-config": "^2.2.0",
"nsp": "^2.2.2",
"replace": "^0.3.0",
"es6-shim": "^0.35.0",
"core-js": "^2.1.3"
"core-js": "^2.2.1"
},
"testling": {
"files": "test/native.js",
Expand Down
5 changes: 5 additions & 0 deletions test/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"max-statements-per-line": [2, { "max": 2 }]
}
}
4 changes: 3 additions & 1 deletion why.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ module.exports = function whyNotEqual(value, other) {
}
}
for (key in other) {
if (has(other, key) && !has(value, key)) { return 'second argument has key "' + key + '"; first does not'; }
if (has(other, key) && !has(value, key)) {
return 'second argument has key "' + key + '"; first does not';
}
}
return '';
}
Expand Down

0 comments on commit ed25637

Please sign in to comment.