aboutsummaryrefslogtreecommitdiffstats
path: root/webui/codegen.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'webui/codegen.yaml')
-rw-r--r--webui/codegen.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/webui/codegen.yaml b/webui/codegen.yaml
index 30b67e45..1580632e 100644
--- a/webui/codegen.yaml
+++ b/webui/codegen.yaml
@@ -10,9 +10,12 @@ generates:
./src/gqlTypes.ts:
plugins:
- typescript
+ ./src/schema.json:
+ plugins:
+ - introspection
./src/:
plugins:
- - add: '/* eslint-disable @typescript-eslint/no-unused-vars */'
+ - add: '/* eslint-disable @typescript-eslint/no-unused-vars, import/order */'
- typescript-operations
- typescript-react-apollo
preset: near-operation-file
@@ -25,5 +28,5 @@ generates:
withHooks: true
hooks:
- afterOneFileWrite:
- - eslint --fix
+ afterAllFileWrite:
+ - prettier --write