Skip to content

enable unicorn/throw-new-error rule#2938

Merged
dimaMachina merged 1 commit intographql:mainfrom
dimaMachina:throw-new-error
Dec 8, 2022
Merged

enable unicorn/throw-new-error rule#2938
dimaMachina merged 1 commit intographql:mainfrom
dimaMachina:throw-new-error

Conversation

@dimaMachina
Copy link
Copy Markdown
Collaborator

throw Error is technically valid but throw new Error is like a pattern, it's better to be explicit

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Dec 2, 2022

🦋 Changeset detected

Latest commit: 0d9702a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
graphiql Patch
@graphiql/toolkit Patch
graphql-language-service Patch
graphql-language-service-cli Patch
monaco-graphql Patch
@graphiql/react Patch
graphql-language-service-server Patch
@graphiql/plugin-explorer Patch
vscode-graphql Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dimaMachina dimaMachina merged commit 6a9d913 into graphql:main Dec 8, 2022
@dimaMachina dimaMachina deleted the throw-new-error branch December 8, 2022 10:34
@acao acao mentioned this pull request Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants