Skip to content

Commit

Permalink
docs: correct pre(-)commit typo (#1727)
Browse files Browse the repository at this point in the history
## 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.

💖
  • Loading branch information
JoshuaKGoldberg authored Dec 3, 2024
1 parent 66ec26b commit 2cec803
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"npmpackagejsonlintrc",
"outro",
"packagejson",
"precommit",
"tada",
"tseslint",
"tsup",
Expand Down
2 changes: 1 addition & 1 deletion docs/FAQs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions script/__snapshots__/migrate-test-e2e.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,9 @@ exports[`expected file changes > cspell.json 1`] = `
"markdownlintignore",
"mtfoley",
"npmignore",
"npmpackagejsonlintrc",
- "npmpackagejsonlintrc",
"outro",
"packagejson",
- "precommit",
- "packagejson",
"tada",
"tseslint",
"tsup",
Expand Down

0 comments on commit 2cec803

Please sign in to comment.