diff --git a/cli.js b/cli.js index 492e3b9..0303576 100755 --- a/cli.js +++ b/cli.js @@ -152,6 +152,7 @@ function transform(options = {}) { plugins = [remarkParse, remarkMdx, [remarkRetext, unified().use({plugins})]] } else if (!cli.flags.text) { plugins = [ + // @ts-expect-error: hush. remarkParse, remarkGfm, [remarkFrontmatter, ['yaml', 'toml']], diff --git a/package.json b/package.json index 2f57729..d596e6c 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "type-fest": "^3.0.0", "typescript": "^4.0.0", "vfile-reporter-json": "^3.0.0", - "xo": "^0.53.0" + "xo": "^0.54.0" }, "scripts": { "build": "rimraf \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage",