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 4444 "docsearch.js" : " ^2.6.3" ,
4545 "eslint" : " ^7.32.0" ,
4646 "eslint-config-prettier" : " ^8.3.0" ,
47- "eslint-plugin-graphql" : " ^4.0.0" ,
4847 "eslint-plugin-import" : " ^2.20.2" ,
4948 "eslint-plugin-node" : " ^11.1.0" ,
5049 "eslint-plugin-prettier" : " ^4.0.0" ,
Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ module.exports = {
1111 name : 'off'
1212 } ,
1313
14- plugins : [
15- 'graphql'
16- ] ,
17-
1814 rules : {
1915 'vue/html-self-closing' : 'error' ,
2016 'vue/no-use-v-if-with-v-for' : 'warn' ,
@@ -28,5 +24,16 @@ module.exports = {
2824 babelOptions : {
2925 cwd : __dirname
3026 }
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+ ]
3239}
Original file line number Diff line number Diff line change 6565 "devDependencies" : {
6666 "@babel/core" : " ^7.12.16" ,
6767 "@babel/eslint-parser" : " ^7.12.16" ,
68+ "@graphql-eslint/eslint-plugin" : " ^3.8.0" ,
6869 "@vue/cli-plugin-babel" : " ^5.0.0-rc.3" ,
6970 "@vue/cli-plugin-e2e-cypress" : " ^5.0.0-rc.3" ,
7071 "@vue/cli-plugin-eslint" : " ^5.0.0-rc.3" ,
7980 "cross-env" : " ^7.0.3" ,
8081 "date-fns" : " ^2.17.0" ,
8182 "eslint" : " ^7.32.0" ,
82- "eslint-plugin-graphql" : " ^4.0.0" ,
8383 "eslint-plugin-import" : " ^2.20.2" ,
8484 "eslint-plugin-node" : " ^11.1.0" ,
8585 "eslint-plugin-promise" : " ^5.1.0" ,
You can’t perform that action at this time.
0 commit comments