Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config, `safe-publish-la…
Browse files Browse the repository at this point in the history
…test`, `tape`
  • Loading branch information
ljharb committed Dec 5, 2021
1 parent b1b0552 commit 7a05bb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
11 changes: 3 additions & 8 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
{
"root": true,

"extends": "@ljharb",

"rules": {
"complexity": 0,
"eqeqeq": [2, "always", { "null": "ignore" }],
"func-style": [2, "declaration"],
"id-length": 0,
"indent": [2, 2],
"max-lines": 0,
"max-params": [2, 6],
"max-statements-per-line": [2, { "max": 2 }],
"new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }],
"no-magic-numbers": [2, { "ignore": [0, 1] }],
"operator-linebreak": [2, "before"],
},
"globals": {
"ArrayBuffer": false,
"WeakMap": false,
"WeakSet": false,
},

"overrides": [
{
"files": "example/**",
Expand All @@ -33,7 +29,6 @@
"max-lines-per-function": 0,
"max-params": 0,
"no-magic-numbers": 0,
"operator-linebreak": [2, "before"],
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function mapEquiv(a, b, opts, channel) {
}

function objEquiv(a, b, opts, channel) {
/* eslint max-statements: [2, 100], max-lines-per-function: [2, 120], max-depth: [2, 5] */
/* eslint max-statements: [2, 100], max-lines-per-function: [2, 120], max-depth: [2, 5], max-lines: [2, 400] */
var i, key;

if (typeof a !== typeof b) { return false; }
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@
"which-typed-array": "^1.1.7"
},
"devDependencies": {
"@ljharb/eslint-config": "^18.0.0",
"@ljharb/eslint-config": "^19.1.0",
"aud": "^1.1.5",
"auto-changelog": "^2.3.0",
"eslint": "^7.32.0",
"eslint": "^8.4.0",
"has-symbols": "^1.0.2",
"has-typed-arrays": "^1.0.1",
"nyc": "^10.3.2",
"object.getownpropertydescriptors": "^2.1.3",
"safe-publish-latest": "^1.1.4",
"safe-publish-latest": "^2.0.0",
"semver": "^6.3.0",
"tape": "^5.3.1"
"tape": "^5.3.2"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 7a05bb7

Please sign in to comment.