Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unnecessary lint command from cli #921

Merged
merged 1 commit into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading