You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When multiple different config blocks are used with different GraphQL configs, the first overrides others. #2962
In this example, documents-2/*.graphql files are incorrectly linted against schema-1, instead of schema-2. This happens because the global variable graphQLConfig is used once it has set, even if parserOptions specifies later a different configuration.
Expected behavior
When languageOptions is used to set a particular configuration, it should apply correctly to all files that that config block applies to.
Additional context
This is essentially the same problem as described in #2260. But the fix for that was specific to two rules, and did not fix the more general issue.
Activity