Skip to content

Commit 45acfde

Browse files
Dimitri POSTOLOVdimitridotansimha
authored
Fix console.warn typo in selection-set-depth rule (#440)
* fix typo in selection-set-depth rule * added changeset Co-authored-by: dimitri <[email protected]> Co-authored-by: Dotan Simha <[email protected]>
1 parent 59f8c1b commit 45acfde

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/stupid-glasses-kneel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphql-eslint/eslint-plugin': patch
3+
---
4+
5+
Fix console.warn typo in selection-set-depth rule

packages/plugin/src/rules/selection-set-depth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const rule: GraphQLESLintRule<SelectionSetDepthRuleConfig> = {
8888
} catch (e) {
8989
// eslint-disable-next-line no-console
9090
console.warn(
91-
`Rule "selection-set-depth" works best with sibligns operations loaded. For more info: http://bit.ly/graphql-eslint-operations`
91+
`Rule "selection-set-depth" works best with siblings operations loaded. For more info: http://bit.ly/graphql-eslint-operations`
9292
);
9393
}
9494

0 commit comments

Comments
 (0)