14 lines
361 B
YAML
14 lines
361 B
YAML
overwrite: true
|
|
schema: "src/generated/schema.json"
|
|
documents: "src/**/*.graphql"
|
|
generates:
|
|
src/generated/graphql.tsx:
|
|
hooks:
|
|
afterOneFileWrite:
|
|
- yarn run eslint --fix --no-ignore src/generated/graphql.tsx
|
|
plugins:
|
|
- "typescript"
|
|
- "typescript-operations"
|
|
- "typescript-react-apollo"
|
|
config:
|
|
withHooks: true |