Skip to content

Commit d92fea5

Browse files
committed
Few more rules
1 parent 7874f21 commit d92fea5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: eslint.config.js

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ export default [
2727
"error",
2828
{ checkInputType: true, caseSensitiveInputType: false },
2929
],
30+
"@graphql-eslint/naming-convention": [
31+
"error",
32+
{
33+
types: "PascalCase",
34+
FieldDefinition: "camelCase",
35+
"FieldDefinition[parent.name.value=Query]": { forbiddenPrefixes: ["get"] },
36+
},
37+
],
3038
"@graphql-eslint/strict-id-in-types": [
3139
"error",
3240
{

0 commit comments

Comments
 (0)