From 2cec803162695b35a92bb9a5d44cc04471bf3304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Tue, 3 Dec 2024 14:28:28 -0500 Subject: [PATCH] docs: correct pre(-)commit typo (#1727) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## PR Checklist - [x] Addresses an existing open issue: fixes #1713 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Removes `precommit` from `cspell.json`, hooray. 💖 --- cspell.json | 1 - docs/FAQs.md | 2 +- script/__snapshots__/migrate-test-e2e.ts.snap | 5 ++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/cspell.json b/cspell.json index 336c862f..99ddf589 100644 --- a/cspell.json +++ b/cspell.json @@ -27,7 +27,6 @@ "npmpackagejsonlintrc", "outro", "packagejson", - "precommit", "tada", "tseslint", "tsup", diff --git a/docs/FAQs.md b/docs/FAQs.md index 31b1d9c4..71eb5374 100644 --- a/docs/FAQs.md +++ b/docs/FAQs.md @@ -88,7 +88,7 @@ Here we'll outline the steps required to migrate a CTA app to a GitHub Action: +dist ``` - - Rather than having to remember to compile each time, we'll update our precommit hook in `.husky/precommit` to build for us on each commit: + - Rather than having to remember to compile each time, we'll update our pre-commit hook in `.husky/pre-commit` to build for us on each commit: ```diff +pnpm run build diff --git a/script/__snapshots__/migrate-test-e2e.ts.snap b/script/__snapshots__/migrate-test-e2e.ts.snap index 83cd4cf0..8fe95da3 100644 --- a/script/__snapshots__/migrate-test-e2e.ts.snap +++ b/script/__snapshots__/migrate-test-e2e.ts.snap @@ -93,10 +93,9 @@ exports[`expected file changes > cspell.json 1`] = ` "markdownlintignore", "mtfoley", "npmignore", - "npmpackagejsonlintrc", +- "npmpackagejsonlintrc", "outro", - "packagejson", -- "precommit", +- "packagejson", "tada", "tseslint", "tsup",