Skip to content

Commit 9115bd8

Browse files
committed
Update dev-dependencies
1 parent e07dba2 commit 9115bd8

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
"dependencies": {},
3232
"devDependencies": {
3333
"nyc": "^15.0.0",
34-
"prettier": "^1.0.0",
35-
"remark-cli": "^7.0.0",
36-
"remark-preset-wooorm": "^6.0.0",
34+
"prettier": "^2.0.0",
35+
"remark-cli": "^8.0.0",
36+
"remark-preset-wooorm": "^7.0.0",
3737
"tape": "^4.0.0",
38-
"xo": "^0.27.0"
38+
"xo": "^0.29.0"
3939
},
4040
"scripts": {
4141
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
@@ -61,6 +61,7 @@
6161
"prettier": true,
6262
"esnext": false,
6363
"rules": {
64+
"unicorn/prefer-number-properties": "off",
6465
"no-self-compare": "off",
6566
"guard-for-in": "off"
6667
}

test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
var test = require('tape')
44
var x = require('.')
55

6-
test('xastscript', function(t) {
6+
test('xastscript', function (t) {
77
t.equal(typeof x, 'function', 'should expose a function')
88

99
t.throws(
10-
function() {
10+
function () {
1111
x()
1212
},
1313
/Expected element name, got `undefined`/,
@@ -98,10 +98,10 @@ test('xastscript', function(t) {
9898
)
9999

100100
t.throws(
101-
function() {
101+
function () {
102102
x('y', {}, {})
103103
},
104-
/Expected node, nodes, string, got `\[object Object\]`/,
104+
/Expected node, nodes, string, got `\[object Object]`/,
105105
'should throw on invalid children'
106106
)
107107

0 commit comments

Comments
 (0)