Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config, tape
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 6, 2022
1 parent 4db1779 commit cae5e9e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
5 changes: 1 addition & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@
"rules": {
"func-name-matching": 0,
"indent": [2, 4],
"max-nested-callbacks": [2, 3],
"max-params": [2, 3],
"max-statements": [2, 20],
"no-new-func": [1],
"strict": [0]
},

"overrides": [
{
"files": "test/**",
"rules": {
"max-lines-per-function": 0,
"strict": [0]
},
},
],
Expand Down
10 changes: 5 additions & 5 deletions implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ module.exports = function bind(that) {
return result;
}
return this;
} else {
return target.apply(
that,
args.concat(slice.call(arguments))
);
}
return target.apply(
that,
args.concat(slice.call(arguments))
);

};

var boundLength = Math.max(0, target.length - args.length);
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"email": "raynos2@gmail.com"
},
"devDependencies": {
"@ljharb/eslint-config": "^17.1.0",
"@ljharb/eslint-config": "^21.0.0",
"covert": "^1.1.1",
"eslint": "^7.3.0",
"tape": "^5.0.1"
"eslint": "=8.8.0",
"tape": "^5.5.3"
},
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit cae5e9e

Please sign in to comment.