File tree Expand file tree Collapse file tree 5 files changed +614
-47
lines changed
code/language-support/javascript/tools Expand file tree Collapse file tree 5 files changed +614
-47
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ module.exports = {
9
9
overrides : [
10
10
{
11
11
files : [ `**/*.{${ CODE_EXT } }` ] ,
12
+ // TODO: extract graphql documents from code files
13
+ // to lint graphql documents marked with /* GraphQL */ comments inside js/ts codeblocks in markdown
14
+ // processor: '@graphql-eslint/graphql',
15
+ // plugins: ['@graphql-eslint'],
12
16
extends : [
13
17
"eslint:recommended" ,
14
18
"plugin:@typescript-eslint/recommended" ,
@@ -83,5 +87,9 @@ module.exports = {
83
87
"mdx/remark" : "off" ,
84
88
} ,
85
89
} ,
90
+ {
91
+ files : [ '**/*.graphql' ] ,
92
+ parser : '@graphql-eslint/eslint-plugin' ,
93
+ } ,
86
94
] ,
87
95
}
Original file line number Diff line number Diff line change 61
61
"use-query-params" : " ^2.2.1"
62
62
},
63
63
"devDependencies" : {
64
+ "@graphql-eslint/eslint-plugin" : " 4.0.0-alpha.0" ,
64
65
"@types/codemirror" : " 5.60.7" ,
65
66
"@types/node" : " ^20.11.30" ,
66
67
"@types/react" : " ^18.2.73" ,
You can’t perform that action at this time.
0 commit comments