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 45
45
"devDependencies" : {
46
46
"@types/unist" : " ^2.0.0" ,
47
47
"browserify" : " ^16.0.0" ,
48
- "dtslint" : " ^2 .0.0" ,
48
+ "dtslint" : " ^3 .0.0" ,
49
49
"hastscript" : " ^5.0.0" ,
50
50
"nyc" : " ^15.0.0" ,
51
51
"prettier" : " ^1.0.0" ,
54
54
"tape" : " ^4.0.0" ,
55
55
"tinyify" : " ^2.0.0" ,
56
56
"unist-builder" : " ^2.0.0" ,
57
- "xo" : " ^0.25 .0"
57
+ "xo" : " ^0.27 .0"
58
58
},
59
59
"scripts" : {
60
60
"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 {
22
22
* @defaultValue {}
23
23
*/
24
24
entities : Partial <
25
+ /* eslint-disable-next-line @typescript-eslint/ban-types */
25
26
Omit < StringifyEntitiesOptions , 'escapeOnly' | 'attribute' | 'subset' >
26
27
>
27
28
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ const node: Node = {
6
6
tagName : 'div'
7
7
}
8
8
9
+ /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
9
10
const result : string = toHtml ( node )
11
+
10
12
toHtml ( node , {
11
13
space : 'html'
12
14
} )
You can’t perform that action at this time.
0 commit comments