style: reformat all source code by prettier

This commit is contained in:
Zongmin Lei
2021-05-06 13:32:47 +08:00
parent 0b15109107
commit 901b771960
7 changed files with 40 additions and 32 deletions

View File

@@ -21,7 +21,7 @@ console.log(
onTag(tag: string, html: string, options: {}): string {
return html;
},
css: false
css: false,
})
);
@@ -34,7 +34,7 @@ xss.filterXSS("hello", {
onTag(tag, html, options) {
return html;
},
onIgnoreTag(tag, html) {}
onIgnoreTag(tag, html) {},
});
interface ICustomWhiteList extends XSS.IWhiteList {