Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
Update GraphQL Config
Browse files Browse the repository at this point in the history
  • Loading branch information
phamhongphuc committed May 21, 2019
1 parent 5773d02 commit d75acc9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
26 changes: 22 additions & 4 deletions uit.hotel.client/.gqlconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,31 @@
"query": {
"files": [
{
"match": "**/*.ts",
"parser": ["EmbeddedQueryParser", { "startTag": "gql`", "endTag": "`" }],
"match": {
"include": "**/*.ts",
"ignore": "node_modules/**"
},
"parser": [
"EmbeddedQueryParser",
{
"startTag": "gql`",
"endTag": "`"
}
],
"isRelay": true
},
{
"match": "**/*.vue",
"parser": ["EmbeddedQueryParser", { "startTag": "gql`", "endTag": "`" }],
"match": {
"include": "**/*.ts",
"ignore": "node_modules/**"
},
"parser": [
"EmbeddedQueryParser",
{
"startTag": "gql`",
"endTag": "`"
}
],
"isRelay": true
}
]
Expand Down
7 changes: 6 additions & 1 deletion uit.hotel.client/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"endOfLine": "lf",
"overrides": [
{
"files": ["*.code-workspace", ".stylelintrc", ".babelrc"],
"files": [
"*.code-workspace",
".stylelintrc",
".babelrc",
".gqlconfig"
],
"options": { "parser": "json" }
}
]
Expand Down

0 comments on commit d75acc9

Please sign in to comment.