Skip to content

Releases: dimaMachina/graphql-eslint

December 26, 2022

26 Dec 20:48
ded7065
Compare
Choose a tag to compare

@graphql-eslint/[email protected]

Minor Changes

  • #1335
    2e4dfa0
    Thanks @B2o5T! - support new ESLint flat config system, export
    flatConfigs

  • #1330
    bab45cc
    Thanks @B2o5T! - add new rule require-nullable-fields-with-oneof

  • #1331
    0f7afa5
    Thanks @B2o5T! - add new rule require-type-pattern-with-oneof

  • #1144
    43e2861
    Thanks @TuvalSimha! - Add new option groups to alphabetize
    rule

  • #1303
    c6d5bb7
    Thanks @tshedor! - [require-description] add rootField option for
    only field definitions within Query, Mutation, and Subscription root types

  • #1141
    b1f2730
    Thanks @TuvalSimha! - add new option prefix for
    match-document-filename rule

  • #1314
    a4f885a
    Thanks @B2o5T! - add ESLint suggestions for following graphql-js
    rules:

    • fields-on-correct-type
    • known-argument-names
    • known-type-names
    • possible-type-extension
    • scalar-leafs
    • value-literals-of-correct-type
  • #1316
    1f21fc8
    Thanks @FloEdelmann! - feat: add lone-executable-definition to
    require all queries, mutations, subscriptions and fragments to be located in separate files

  • #1338
    fedec34
    Thanks @B2o5T! - update graphql-config to v4.4.0 that no longer
    requires typescript to be installed

  • #1334
    abcfc14
    Thanks @B2o5T! - add new rule no-one-place-fragments

Patch Changes

November 05, 2022

05 Nov 23:12
91c912c
Compare
Choose a tag to compare

@graphql-eslint/[email protected]

Patch Changes

November 01, 2022

01 Nov 14:35
3e16ba8
Compare
Choose a tag to compare

@graphql-eslint/[email protected]

Minor Changes

  • #1222 cf59b0a Thanks @B2o5T! - feat: reload schema/documents cache (only for current project) in VSCode

October 10, 2022

10 Oct 13:37
c8d2ee7
Compare
Choose a tag to compare

@graphql-eslint/[email protected]

Minor Changes

  • #1200 f193b5e Thanks @B2o5T! - support extracting GraphQL documents from *.vue/*.svelte code-files

Patch Changes

  • #1201 ba26511 Thanks @B2o5T! - dependencies updates:

  • #1198 2886adf Thanks @B2o5T! - fix passing pluck config via graphql-config#extensions field
    rename extensions.graphqlTagPluck to extensions.pluckConfig
    fix performance regression while using processor: '@graphql-eslint/graphql'

September 26, 2022

26 Sep 15:03
ea875de
Compare
Choose a tag to compare

@graphql-eslint/[email protected]

Patch Changes

  • #1170 0b8acdc Thanks @B2o5T! - fix race condition of loading loadGraphQLConfig() when processor.preprocess() can be called before parseForESLint()

September 26, 2022

26 Sep 13:15
02125cb
Compare
Choose a tag to compare

@graphql-eslint/[email protected]

Patch Changes

  • #1168 9bc4e1b Thanks @B2o5T! - return code as-is in preprocess in case of parsing error, sort eslint/graphql-eslint errors in postprocess by line/column

  • #1165 eab5492 Thanks @B2o5T! - fix race condition of loadGraphQLConfig()

  • #1167 2f6c02f Thanks @B2o5T! - make RuleDocsInfo type optional

September 23, 2022

23 Sep 23:27
5336c0a
Compare
Choose a tag to compare

@graphql-eslint/[email protected]

Minor Changes

  • #1156 6ac42cf Thanks @JimmyPaolini! - Using configuration options for graphql-tag-pluck through graphql-config
    Allow setup custom globalGqlIdentifierName, modules.identifier and gqlMagicComment

  • #1163 0d3fe5b Thanks @B2o5T! - improve RuleDocsInfo type, set description and url as required fields

@graphql-eslint/[email protected]

29 Jul 18:08
0df197f
Compare
Choose a tag to compare

Patch Changes

  • b6de7ff: fix(GraphQLRuleTester): provide output field for GraphQLInvalidTestCase type

@graphql-eslint/[email protected]

13 Jul 01:02
aa9e123
Compare
Choose a tag to compare

Patch Changes

  • 39ab684: fix(alphabetize): should not fail when selection is aliased

@graphql-eslint/[email protected]

11 Jul 11:29
97b276d
Compare
Choose a tag to compare

Patch Changes

  • 712a8fe: fix(selection-set-depth): fix TypeError from ESLint suggestions, don't provide suggestions for fragment that can be in a separate file
  • 01421ae: fix(no-unreachable-types): ignore directives with Request Definitions locations