Skip to content

Commit

Permalink
enable sonarjs/no-redundant-jump rule
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina authored and acao committed Dec 5, 2022
1 parent eb3c556 commit 4ff2794
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/yellow-kiwis-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphiql/react': patch
'graphql-language-service-server': patch
---

enable `sonarjs/no-redundant-jump` rule
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,6 @@ export class MessageProcessor {
err?.message ?? err?.toString(),
);
}

return;
}

_logConfigError(errorMessage: string) {
Expand Down Expand Up @@ -541,7 +539,6 @@ export class MessageProcessor {

handleShutdownRequest(): void {
this._willShutdown = true;
return;
}

handleExitNotification(): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ export function findGraphQLTags(
}

traverse(node, visitors);
return;
}
},
TaggedTemplateExpression: (node: TaggedTemplateExpression) => {
Expand Down

0 comments on commit 4ff2794

Please sign in to comment.