Skip to content

Commit

Permalink
Handle packagejson and 1737
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Dec 3, 2024
1 parent bd6d362 commit 1d18f9e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"markdownlintignore",
"mtfoley",
"npmignore",
"npmpackagejsonlintrc",
"outro",
"packagejson",
"tada",
Expand Down
1 change: 0 additions & 1 deletion src/steps/clearUnnecessaryFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const globPaths = [
".eslintrc",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
".npmpackagejsonlintrc.json",
"codecov.yml",
"DEVELOPMENT.md",
"dist",
Expand Down
11 changes: 9 additions & 2 deletions src/steps/writing/creation/createCSpellConfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ describe("createCSpellConfig", () => {
"node_modules",
"pnpm-lock.yaml"
],
"words": ["codecov", "joshuakgoldberg", "markdownlint", "tseslint", "vitest"]
"words": [
"codecov",
"joshuakgoldberg",
"markdownlint",
"packagejson",
"tseslint",
"vitest"
]
}
"
`);
Expand All @@ -42,7 +49,7 @@ describe("createCSpellConfig", () => {
"node_modules",
"pnpm-lock.yaml"
],
"words": ["tseslint"]
"words": ["packagejson", "tseslint"]
}
"
`);
Expand Down
1 change: 1 addition & 0 deletions src/steps/writing/creation/createCSpellConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export async function createCSpellConfig(
>,
) {
const words = [
"packagejson",
"tseslint",
!options.excludeLintMd && "markdownlint",
!options.excludeTemplatedBy && "joshuakgoldberg",
Expand Down

0 comments on commit 1d18f9e

Please sign in to comment.