File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,15 @@ export default [
7
7
'@graphql-eslint' : graphqlEslint ,
8
8
} ,
9
9
languageOptions : {
10
- parser : graphqlEslint ,
10
+ parser : {
11
+ ...graphqlEslint ,
12
+ // Necessary to avoid an error when ESLint is run with --cache.
13
+ // https://github.com/dimaMachina/graphql-eslint/issues/2178
14
+ // TODO: remove this when fixed in the package.
15
+ meta : {
16
+ name : '@graphql-eslint' ,
17
+ } ,
18
+ } ,
11
19
} ,
12
20
rules : {
13
21
'@graphql-eslint/alphabetize' : 'off' ,
Original file line number Diff line number Diff line change 9
9
"license" : " MIT" ,
10
10
"repository" : " https://github.com/zakodium/eslint-config-graphql" ,
11
11
"scripts" : {
12
- "eslint" : " eslint ." ,
12
+ "eslint" : " eslint . --cache " ,
13
13
"eslint-fix" : " npm run eslint -- --fix" ,
14
14
"prettier" : " prettier --check ." ,
15
15
"prettier-write" : " prettier --write ." ,
You can’t perform that action at this time.
0 commit comments