Skip to content

Commit 10e5333

Browse files
committed
Update dev-dependencies
1 parent 300f1f8 commit 10e5333

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
"remark-preset-wooorm": "^8.0.0",
4040
"tape": "^5.0.0",
4141
"tinyify": "^3.0.0",
42-
"xo": "^0.35.0"
42+
"xo": "^0.38.0"
4343
},
4444
"scripts": {
45-
"format": "remark . -qfo && prettier . --write && xo --fix",
45+
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
4646
"build-bundle": "browserify . -s mdastUtilHeadingRange -o mdast-util-heading-range.js",
4747
"build-mangle": "browserify . -s mdastUtilHeadingRange -o mdast-util-heading-range.min.js -p tinyify",
4848
"build": "npm run build-bundle && npm run build-mangle",

test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ test('mdast-util-heading-range()', function (t) {
128128
})
129129
.process(
130130
['Foo', '', '## Foo', '', 'Bar', ''].join('\n'),
131-
function (err, file) {
132-
t.ifError(err, 'should not fail (#1)')
131+
function (error, file) {
132+
t.ifError(error, 'should not fail (#1)')
133133

134134
t.equal(
135135
String(file),
@@ -149,8 +149,8 @@ test('mdast-util-heading-range()', function (t) {
149149
})
150150
.process(
151151
['Foo', '', '## Foo', '', 'Bar', ''].join('\n'),
152-
function (err, file) {
153-
t.ifError(err, 'should not fail (#2)')
152+
function (error, file) {
153+
t.ifError(error, 'should not fail (#2)')
154154

155155
t.equal(
156156
String(file),
@@ -170,8 +170,8 @@ test('mdast-util-heading-range()', function (t) {
170170
})
171171
.process(
172172
['Foo', '', '## Foo', '', 'Bar', '', '## Baz', ''].join('\n'),
173-
function (err, file) {
174-
t.ifError(err, 'should not fail (#3)')
173+
function (error, file) {
174+
t.ifError(error, 'should not fail (#3)')
175175

176176
t.equal(
177177
String(file),
@@ -195,8 +195,8 @@ test('mdast-util-heading-range()', function (t) {
195195
['# Alpha', '', '## Foo', '', 'one', '', 'two', '', 'three', ''].join(
196196
'\n'
197197
),
198-
function (err, file) {
199-
t.ifError(err, 'should not fail (#4)')
198+
function (error, file) {
199+
t.ifError(error, 'should not fail (#4)')
200200

201201
t.equal(
202202
String(file),

0 commit comments

Comments
 (0)