Skip to content

Commit 3844538

Browse files
fix: include lint-package-json in generated workflows files
1 parent 789ec20 commit 3844538

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/steps/writing/creation/dotGitHub/workflows.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,17 @@ export function createWorkflows(options: Options) {
103103
}),
104104
}),
105105
...(!options.excludeLintPackageJson && {
106-
"lint-package.yml": createWorkflowFile({
106+
"lint-package-json.yml": createWorkflowFile({
107107
name: "Lint Package JSON",
108108
runs: ["pnpm lint:package-json"],
109109
}),
110110
}),
111+
...(!options.excludeLintPackageJson && {
112+
"lint-packages.yml": createWorkflowFile({
113+
name: "Lint Packages",
114+
runs: ["pnpm lint:package"],
115+
}),
116+
}),
111117
...(!options.excludeLintSpelling && {
112118
"lint-spelling.yml": createWorkflowFile({
113119
name: "Lint spelling",

0 commit comments

Comments
 (0)