Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: graphql validation and autocomplete #43

Merged
merged 4 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
module.exports = {
extends: '@exodus/eslint-config/javascript',
overrides: [
{
files: ['*.graphql'],
parserOptions: {
schema: './tools/schemas/github.graphql',
operations: ['./src/**/*.ts']
},
extends: ['plugin:@graphql-eslint/operations-recommended'],
rules: {
'@graphql-eslint/executable-definitions': 'off',
'@graphql-eslint/require-id-when-available': 'off',
}
},
{
files: ['*.{ts,tsx}'],
processor: '@graphql-eslint/graphql',
extends: '@exodus/eslint-config/typescript',
parserOptions: {
project: ['./tsconfig.test.json'],
Expand Down
51 changes: 25 additions & 26 deletions dist/publish/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/publish/index.js.map

Large diffs are not rendered by default.

Loading