Skip to content

Commit 765c9a1

Browse files
committed
Update dev-dependencies
1 parent 3c0f2cc commit 765c9a1

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

lib/check/validate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ function warn(ctx, reference) {
116116
}
117117
}
118118

119+
/** @type {string} */
119120
const suggestion = propose(hash ? hash : filePath, dictionary, {
120121
threshold: 0.7
121122
})

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"dependencies": {
4949
"@types/mdast": "^3.0.0",
50-
"github-slugger": "^1.0.0",
50+
"github-slugger": "^2.0.0",
5151
"hosted-git-info": "^5.0.0",
5252
"mdast-util-to-string": "^3.0.0",
5353
"propose": "0.0.5",
@@ -59,7 +59,6 @@
5959
"vfile": "^5.0.0"
6060
},
6161
"devDependencies": {
62-
"@types/github-slugger": "^1.0.0",
6362
"@types/hast": "^2.0.0",
6463
"@types/hosted-git-info": "^3.0.0",
6564
"@types/rimraf": "^3.0.1",
@@ -75,7 +74,7 @@
7574
"type-coverage": "^2.0.0",
7675
"typescript": "^4.0.0",
7776
"vfile-sort": "^3.0.0",
78-
"xo": "^0.52.0"
77+
"xo": "^0.53.0"
7978
},
8079
"scripts": {
8180
"build": "rimraf \"lib/**/*.d.ts\" \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage",
@@ -93,7 +92,10 @@
9392
"trailingComma": "none"
9493
},
9594
"xo": {
96-
"prettier": true
95+
"prettier": true,
96+
"rules": {
97+
"unicorn/prefer-logical-operator-over-ternary": "off"
98+
}
9799
},
98100
"remarkConfig": {
99101
"plugins": [

0 commit comments

Comments
 (0)