File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4545 "devDependencies" : {
4646 "@types/unist" : " ^2.0.0" ,
4747 "browserify" : " ^16.0.0" ,
48- "dtslint" : " ^2 .0.0" ,
48+ "dtslint" : " ^3 .0.0" ,
4949 "hastscript" : " ^5.0.0" ,
5050 "nyc" : " ^15.0.0" ,
5151 "prettier" : " ^1.0.0" ,
5454 "tape" : " ^4.0.0" ,
5555 "tinyify" : " ^2.0.0" ,
5656 "unist-builder" : " ^2.0.0" ,
57- "xo" : " ^0.25 .0"
57+ "xo" : " ^0.27 .0"
5858 },
5959 "scripts" : {
6060 "format" : " remark . -qfo && prettier --write \" **/*.{js,ts}\" && xo --fix" ,
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ declare namespace hastUtilToHtml {
2222 * @defaultValue {}
2323 */
2424 entities : Partial <
25+ /* eslint-disable-next-line @typescript-eslint/ban-types */
2526 Omit < StringifyEntitiesOptions , 'escapeOnly' | 'attribute' | 'subset' >
2627 >
2728
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ const node: Node = {
66 tagName : 'div'
77}
88
9+ /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
910const result : string = toHtml ( node )
11+
1012toHtml ( node , {
1113 space : 'html'
1214} )
You can’t perform that action at this time.
0 commit comments