Skip to content

Commit

Permalink
chore: ignore lint issues in generated file
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Sep 22, 2022
1 parent e12e8c7 commit 62d50fb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion graphql.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@
"plugins": ["fragment-matcher"]
},
"apollo/validation.internal.ts": {
"plugins": ["typescript-validation-schema"],
"plugins": [
{
"add": {
"content": "// @ts-nocheck"
}
},
"typescript-validation-schema"
],
"config": {
"schema": "zod",
"importFrom": "~/apollo/graphql"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"devDependencies": {
"@azure/static-web-apps-cli": "^1.0.2",
"@babel/core": "^7.18.10",
"@graphql-codegen/add": "^3.2.1",
"@graphql-codegen/cli": "^2.12.0",
"@graphql-codegen/fragment-matcher": "^3.3.1",
"@graphql-codegen/gql-tag-operations-preset": "^1.5.5",
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15095,6 +15095,7 @@ __metadata:
"@fortawesome/fontawesome-svg-core": ^6.2.0
"@fortawesome/free-solid-svg-icons": ^6.2.0
"@fortawesome/vue-fontawesome": ^3.0.1
"@graphql-codegen/add": ^3.2.1
"@graphql-codegen/cli": ^2.12.0
"@graphql-codegen/fragment-matcher": ^3.3.1
"@graphql-codegen/gql-tag-operations-preset": ^1.5.5
Expand Down

0 comments on commit 62d50fb

Please sign in to comment.