Skip to content

Commit

Permalink
AHA: expand npm, node dictionaries for all
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Dec 3, 2024
1 parent 5446250 commit 14bbf2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dictionaries": ["typescript"],
"dictionaries": ["npm", "node", "typescript"],
"ignorePaths": [
"./coverage*",
"./script/__snapshots__",
Expand All @@ -16,7 +16,6 @@
"arethetypeswrong",
"automerge",
"codespace",
"contributorsrc",
"execa",
"infile",
"joshuakgoldberg",
Expand Down
4 changes: 2 additions & 2 deletions src/steps/writing/creation/createCSpellConfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe("createCSpellConfig", () => {

expect(actual).toMatchInlineSnapshot(`
"{
"dictionaries": ["typescript"],
"dictionaries": ["npm", "node", "typescript"],
"ignorePaths": [
".all-contributorsrc",
".github",
Expand Down Expand Up @@ -40,7 +40,7 @@ describe("createCSpellConfig", () => {

expect(actual).toMatchInlineSnapshot(`
"{
"dictionaries": ["typescript"],
"dictionaries": ["npm", "node", "typescript"],
"ignorePaths": [
".github",
"CHANGELOG.md",
Expand Down
2 changes: 1 addition & 1 deletion src/steps/writing/creation/createCSpellConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function createCSpellConfig(
.sort();

return await formatJson({
dictionaries: ["typescript"],
dictionaries: ["npm", "node", "typescript"],
ignorePaths: [
...(options.excludeAllContributors ? [] : [".all-contributorsrc"]),
".github",
Expand Down

0 comments on commit 14bbf2e

Please sign in to comment.