Skip to content

Commit

Permalink
refactor: remove unnecessary lint command from cli (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewvolk committed May 17, 2024
1 parent edb8067 commit e093e7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-starfishes-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/create-catalyst": minor
---

Removes unnecessary lint task from create command
6 changes: 0 additions & 6 deletions packages/create-catalyst/src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,6 @@ export const create = async (options: CreateCommandOptions) => {
failText: (err) => chalk.red(`Failed to create GraphQL schema: ${err.message}`),
});

await spinner(exec(`${packageManager} run lint -- --fix`, { cwd: projectDir }), {
text: 'Linting to validate generated types...',
successText: 'GraphQL types validated successfully',
failText: (err) => chalk.red(`Failed to validate GraphQL types: ${err.message}`),
});

console.log(
`\n${chalk.green('Success!')} Created '${projectName}' at '${projectDir}'\n`,
'\nNext steps:\n',
Expand Down

0 comments on commit e093e7c

Please sign in to comment.