Skip to content

Commit

Permalink
[Dev Deps] update jscs, nsp, eslint, @ljharb/eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 30, 2016
1 parent c50c154 commit 7c1ea3f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .eslintrc
Expand Up @@ -4,10 +4,7 @@
"extends": "@ljharb",

"rules": {
"max-nested-callbacks": [2, 3],
"max-statements": [2, 12],
"new-cap": [2, { "capIsNewExceptions": ["RequireObjectCoercible"] }],
"no-invalid-this": [1],
"no-magic-numbers": [0],
"no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"]
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -46,10 +46,10 @@
"tape": "^4.5.1",
"array-map": "^0.0.0",
"covert": "^1.1.0",
"jscs": "^3.0.1",
"nsp": "^2.3.0",
"eslint": "^2.7.0",
"@ljharb/eslint-config": "^2.2.0",
"jscs": "^3.0.3",
"nsp": "^2.4.0",
"eslint": "^2.11.0",
"@ljharb/eslint-config": "^5.0.0",
"@es-shims/api": "^1.2.0"
},
"testling": {
Expand Down
6 changes: 5 additions & 1 deletion shim.js
Expand Up @@ -5,6 +5,10 @@ var define = require('define-properties');

module.exports = function shimEntries() {
var polyfill = getPolyfill();
define(Object, { entries: polyfill }, { entries: function () { return Object.entries !== polyfill; } });
define(Object, { entries: polyfill }, {
entries: function testEntries() {
return Object.entries !== polyfill;
}
});
return polyfill;
};
8 changes: 8 additions & 0 deletions test/.eslintrc
@@ -0,0 +1,8 @@
{
"rules": {
"max-nested-callbacks": [2, 3],
"max-statements": [2, 12],
"max-statements-per-line": [2, { "max": 3 }],
"no-invalid-this": [1]
}
}

0 comments on commit 7c1ea3f

Please sign in to comment.