File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ function warn(ctx, reference) {
116
116
}
117
117
}
118
118
119
+ /** @type {string } */
119
120
const suggestion = propose ( hash ? hash : filePath , dictionary , {
120
121
threshold : 0.7
121
122
} )
Original file line number Diff line number Diff line change 47
47
},
48
48
"dependencies" : {
49
49
"@types/mdast" : " ^3.0.0" ,
50
- "github-slugger" : " ^1 .0.0" ,
50
+ "github-slugger" : " ^2 .0.0" ,
51
51
"hosted-git-info" : " ^5.0.0" ,
52
52
"mdast-util-to-string" : " ^3.0.0" ,
53
53
"propose" : " 0.0.5" ,
59
59
"vfile" : " ^5.0.0"
60
60
},
61
61
"devDependencies" : {
62
- "@types/github-slugger" : " ^1.0.0" ,
63
62
"@types/hast" : " ^2.0.0" ,
64
63
"@types/hosted-git-info" : " ^3.0.0" ,
65
64
"@types/rimraf" : " ^3.0.1" ,
75
74
"type-coverage" : " ^2.0.0" ,
76
75
"typescript" : " ^4.0.0" ,
77
76
"vfile-sort" : " ^3.0.0" ,
78
- "xo" : " ^0.52 .0"
77
+ "xo" : " ^0.53 .0"
79
78
},
80
79
"scripts" : {
81
80
"build" : " rimraf \" lib/**/*.d.ts\" \" test/**/*.d.ts\" \" *.d.ts\" && tsc && type-coverage" ,
93
92
"trailingComma" : " none"
94
93
},
95
94
"xo" : {
96
- "prettier" : true
95
+ "prettier" : true ,
96
+ "rules" : {
97
+ "unicorn/prefer-logical-operator-over-ternary" : " off"
98
+ }
97
99
},
98
100
"remarkConfig" : {
99
101
"plugins" : [
You can’t perform that action at this time.
0 commit comments