diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2020-02-11 22:11:08 +0100 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2020-02-11 22:11:08 +0100 |
commit | b70b4ba4b17d02d9744bd72494549f5cf7d980f8 (patch) | |
tree | 0df79bf22bc556389b95348302d89d4950a42899 /webui/codegen.yaml | |
parent | 465f7ca73d7093eeeecb6553c804d8cfb06e6652 (diff) | |
download | git-bug-b70b4ba4b17d02d9744bd72494549f5cf7d980f8.tar.gz |
webui: lint graphql files
Diffstat (limited to 'webui/codegen.yaml')
-rw-r--r-- | webui/codegen.yaml | 9 |
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 |