chore(lint): small clean up of lint errors wip on #312

This commit is contained in:
Jean-Philippe Sirois
2020-08-26 19:39:27 -04:00
parent c2d58941c5
commit 2a974cc598
24 changed files with 61 additions and 40 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ export function buildToc(headings: Mdx["headings"]): ITocItem[] {
return []
}
const strip = (value: string) => value.replace(/^(\d*\-)(.*)/, "$2")
const strip = (value: string) => value.replace(/^(\d*-)(.*)/, "$2")
slugger.reset()