From f9e6f548e67dff07416cd78d3002acff0febb54c Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Mon, 2 Oct 2023 17:06:53 +0200 Subject: [PATCH] Fix lint, for some reason --- .eslintrc.cjs | 4 ++++ README.md | 4 +++- package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index bc4bfee0..29b7e99d 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -50,6 +50,10 @@ module.exports = { "error", { allowModules: ["should-semantic-release"] }, ], + "n/no-unpublished-import": [ + "error", + { allowModules: ["should-semantic-release"] }, + ], }, }, { diff --git a/README.md b/README.md index e8682dcf..11f15781 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,9 @@ if (await shouldSemanticRelease()) { - `verbose` _(default: `false`)_ -```js +```ts +import { shouldSemanticRelease } from "should-semantic-release"; + await shouldSemanticRelease({ verbose: true }); ``` diff --git a/package.json b/package.json index 16b45568..338d04e0 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "vitest": "^0.34.6", "yaml-eslint-parser": "^1.2.2" }, - "packageManager": "pnpm@8.7.0", + "packageManager": "pnpm@8.7.1", "engines": { "node": ">=18" },