From 9ce3486fb31e506283297518fb8dfb37ea0c8f98 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 16 Aug 2023 20:13:50 +0200 Subject: [PATCH] Fix build --- cli.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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",