Skip to content

Commit 24fc353

Browse files
committedApr 1, 2021
Update dev-dependencies
1 parent 1091e32 commit 24fc353

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed
 

‎package.json

+8-6
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454
"remark-cli": "^9.0.0",
5555
"remark-preset-wooorm": "^8.0.0",
5656
"remark-toc": "^7.0.0",
57-
"semver": "^6.0.0",
57+
"semver": "^7.0.0",
5858
"strip-ansi": "^6.0.0",
5959
"tape": "^5.0.0",
6060
"unified": "^9.0.0",
6161
"vfile": "^4.0.0",
6262
"vfile-reporter-json": "^2.0.0",
6363
"vfile-reporter-pretty": "^5.0.0",
64-
"xo": "^0.36.0"
64+
"xo": "^0.38.0"
6565
},
6666
"scripts": {
6767
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
@@ -104,11 +104,13 @@
104104
"types"
105105
],
106106
"rules": {
107-
"unicorn/no-fn-reference-in-iterator": "off",
108-
"unicorn/prefer-optional-catch-binding": "off",
109-
"unicorn/prefer-includes": "off",
110107
"complexity": "off",
111-
"guard-for-in": "off"
108+
"guard-for-in": "off",
109+
"unicorn/no-array-callback-reference": "off",
110+
"unicorn/no-array-for-each": "off",
111+
"unicorn/no-this-assignment": "off",
112+
"unicorn/prefer-optional-catch-binding": "off",
113+
"unicorn/prefer-includes": "off"
112114
}
113115
}
114116
}

‎test/output.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -483,15 +483,15 @@ test('output', function (t) {
483483
onrun
484484
)
485485

486-
function onrun(err, code) {
486+
function onrun(error, code) {
487487
var actual = stderr().split('\n').slice(0, 2).join('\n')
488488

489489
var expected = [
490490
'one.txt',
491491
' 1:1 error No such file or directory'
492492
].join('\n')
493493

494-
t.deepEqual([err, code, actual], [null, 1, expected], 'should report')
494+
t.deepEqual([error, code, actual], [null, 1, expected], 'should report')
495495

496496
t.notOk(exists(targetFile))
497497
}

0 commit comments

Comments
 (0)
Please sign in to comment.