File tree Expand file tree Collapse file tree 4 files changed +299
-90
lines changed Expand file tree Collapse file tree 4 files changed +299
-90
lines changed Original file line number Diff line number Diff line change 44
44
"docsearch.js" : " ^2.6.3" ,
45
45
"eslint" : " ^7.32.0" ,
46
46
"eslint-config-prettier" : " ^8.3.0" ,
47
- "eslint-plugin-graphql" : " ^4.0.0" ,
48
47
"eslint-plugin-import" : " ^2.20.2" ,
49
48
"eslint-plugin-node" : " ^11.1.0" ,
50
49
"eslint-plugin-prettier" : " ^4.0.0" ,
Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ module.exports = {
11
11
name : 'off'
12
12
} ,
13
13
14
- plugins : [
15
- 'graphql'
16
- ] ,
17
-
18
14
rules : {
19
15
'vue/html-self-closing' : 'error' ,
20
16
'vue/no-use-v-if-with-v-for' : 'warn' ,
@@ -28,5 +24,16 @@ module.exports = {
28
24
babelOptions : {
29
25
cwd : __dirname
30
26
}
31
- }
27
+ } ,
28
+
29
+ overrides : [
30
+ {
31
+ files : [ '*.graphql' ] ,
32
+ parser : '@graphql-eslint/eslint-plugin' ,
33
+ plugins : [ '@graphql-eslint' ] ,
34
+ rules : {
35
+ '@graphql-eslint/known-type-names' : 'error'
36
+ }
37
+ }
38
+ ]
32
39
}
Original file line number Diff line number Diff line change 65
65
"devDependencies" : {
66
66
"@babel/core" : " ^7.12.16" ,
67
67
"@babel/eslint-parser" : " ^7.12.16" ,
68
+ "@graphql-eslint/eslint-plugin" : " ^3.8.0" ,
68
69
"@vue/cli-plugin-babel" : " ^5.0.0-rc.3" ,
69
70
"@vue/cli-plugin-e2e-cypress" : " ^5.0.0-rc.3" ,
70
71
"@vue/cli-plugin-eslint" : " ^5.0.0-rc.3" ,
79
80
"cross-env" : " ^7.0.3" ,
80
81
"date-fns" : " ^2.17.0" ,
81
82
"eslint" : " ^7.32.0" ,
82
- "eslint-plugin-graphql" : " ^4.0.0" ,
83
83
"eslint-plugin-import" : " ^2.20.2" ,
84
84
"eslint-plugin-node" : " ^11.1.0" ,
85
85
"eslint-plugin-promise" : " ^5.1.0" ,
You can’t perform that action at this time.
0 commit comments