Skip to content

Commit 2cec803

Browse files
docs: correct pre(-)commit typo (#1727)
## 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. 💖
1 parent 66ec26b commit 2cec803

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

cspell.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"npmpackagejsonlintrc",
2828
"outro",
2929
"packagejson",
30-
"precommit",
3130
"tada",
3231
"tseslint",
3332
"tsup",

docs/FAQs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Here we'll outline the steps required to migrate a CTA app to a GitHub Action:
8888
+dist
8989
```
9090

91-
- 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:
91+
- 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:
9292

9393
```diff
9494
+pnpm run build

script/__snapshots__/migrate-test-e2e.ts.snap

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,9 @@ exports[`expected file changes > cspell.json 1`] = `
9393
"markdownlintignore",
9494
"mtfoley",
9595
"npmignore",
96-
"npmpackagejsonlintrc",
96+
- "npmpackagejsonlintrc",
9797
"outro",
98-
"packagejson",
99-
- "precommit",
98+
- "packagejson",
10099
"tada",
101100
"tseslint",
102101
"tsup",

0 commit comments

Comments
 (0)