Skip to content

Commit

Permalink
[Dev Deps] update tape, jscs, semver, eslint, `@ljharb/eslint…
Browse files Browse the repository at this point in the history
…-config`, `nsp`
  • Loading branch information
ljharb committed Nov 23, 2015
1 parent cb98523 commit 8bbacb7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 12 deletions.
35 changes: 31 additions & 4 deletions .jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@

"disallowIdentifierNames": [],

"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
"requireCurlyBraces": {
"allExcept": [],
"keywords": ["if", "else", "for", "while", "do", "try", "catch"]
},

"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],

"disallowSpaceAfterKeywords": [],

"disallowSpaceBeforeComma": true,
"disallowSpaceAfterComma": false,
"disallowSpaceBeforeSemicolon": true,

"disallowNodeTypes": [
Expand All @@ -26,7 +30,7 @@
"WithStatement"
],

"requireObjectKeysOnNewLine": false,
"requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] },

"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
Expand Down Expand Up @@ -75,7 +79,7 @@

"disallowMultipleLineStrings": true,

"requireDotNotation": true,
"requireDotNotation": { "allExcept": ["keywords"] },

"requireParenthesesAroundIIFE": true,

Expand Down Expand Up @@ -120,6 +124,29 @@

"disallowMultiLineTernary": true,

"validateOrderInObjectKeys": "asc-insensitive"
"validateOrderInObjectKeys": "asc-insensitive",

"disallowIdenticalDestructuringNames": true,

"disallowNestedTernaries": { "maxLevel": 1 },

"requireSpaceAfterComma": { "allExcept": ["trailing"] },
"requireAlignedMultilineParams": false,

"requireSpacesInGenerator": {
"afterStar": true
},

"disallowSpacesInGenerator": {
"beforeStar": true
},

"disallowVar": false,

"requireArrayDestructuring": false,

"requireEnhancedObjectLiterals": false,

"requireObjectDestructuring": false
}

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = function isEqual(value, other) {

var index = value.length;
do {
--index;
index -= 1;
} while (index > 0 && has.call(value, index) && has.call(other, index) && isEqual(value[index], other[index]));
return index <= 0;
}
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "npm run jscs && npm run eslint",
"jscs": "jscs *.js",
"eslint": "eslint *.js",
"security": "nsp package"
"security": "nsp check"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,16 +42,16 @@
"is-symbol": "^1.0.1"
},
"devDependencies": {
"tape": "^4.2.1",
"tape": "^4.2.2",
"covert": "^1.1.0",
"jscs": "^2.2.1",
"jscs": "^2.6.0",
"foreach": "^2.0.5",
"make-arrow-function": "^1.1.0",
"make-generator-function": "^1.1.0",
"semver": "^5.0.3",
"eslint": "^1.6.0",
"@ljharb/eslint-config": "^1.3.0",
"nsp": "^1.1.0",
"semver": "^5.1.0",
"eslint": "^1.10.1",
"@ljharb/eslint-config": "^1.6.0",
"nsp": "^2.0.2",
"replace": "^0.3.0"
},
"testling": {
Expand Down

0 comments on commit 8bbacb7

Please sign in to comment.