Skip to content

Releases: dimaMachina/graphql-eslint

November 17, 2024

17 Nov 20:09
18996fa
Compare
Choose a tag to compare
November 17, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Patch Changes

November 17, 2024

17 Nov 19:19
5d63d08
Compare
Choose a tag to compare
November 17, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Major Changes

  • #2281
    c53cb4e
    Thanks @maciesielka! - Add new config option
    ignoredFieldSelectors to no-unused-fields rule to ignore all the relay pagination fields for
    every connection exposed in schema for example

November 16, 2024

16 Nov 11:45
bbd88f9
Compare
Choose a tag to compare
November 16, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Major Changes

November 16, 2024

16 Nov 11:01
0bc742b
Compare
Choose a tag to compare
November 16, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Patch Changes

  • #2277
    3b35bae
    Thanks @yoavain-sundaysky! - fix false positive cases for
    require-import-fragment on Windows, when graphql-config's documents key contained glob
    pattern => source file path of document contained always forward slashes

November 16, 2024

16 Nov 03:40
adc31fe
Compare
Choose a tag to compare
November 16, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Minor Changes

  • #2385
    afa8b8a
    Thanks @deathemperor! - feat: add a new option { for
    alphabetize rule to sort fields selection set

  • #2293
    01f7087
    Thanks @yoavsion! - Support the fragment spread group when defining
    alphabetize rule's groups with new option ...

November 13, 2024

13 Nov 22:19
1f2420b
Compare
Choose a tag to compare
November 13, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Major Changes

  • #2598
    e771499
    Thanks @bmulholland! - 1. graphql plugin can now we be specified
    as

    plugins: {
    -  '@graphql-eslint': {
    -    graphqlPlugin.rules
    -  }
    +  '@graphql-eslint': graphqlPlugin
    }
    1. Config rules should now be accessed through the rules property

        rules: {
      -   ...graphqlESLint.configs['flat/operations-recommended']
      +   ...graphqlESLint.configs['flat/operations-recommended'].rules
    2. processor can now be specified with accessing processor property

      - processor: graphql.processors.graphql
      + processor: graphqlPlugin.processor
    3. The plugin can now be imported using a default import

      - import * as graphql from '@graphql-eslint/eslint-plugin'
      + import graphqlPlugin from '@graphql-eslint/eslint-plugin'

Patch Changes

October 18, 2024

18 Oct 01:15
c9cbf6d
Compare
Choose a tag to compare
October 18, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Patch Changes

  • #2616
    c0f1b07
    Thanks @fcortes! - The import attribute syntax (with { type: "json"
    }) is still experimental so warnings showed up when using the library as it was being used to
    import the package.json file to extract the package version

    As an alternative, the current version will be injected on build time through tsup configuration.

October 09, 2024

09 Oct 15:22
f91cc56
Compare
Choose a tag to compare
October 09, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Patch Changes

August 09, 2024

09 Aug 18:52
15e8b23
Compare
Choose a tag to compare
August 09, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Patch Changes

August 03, 2024

03 Aug 12:06
426f237
Compare
Choose a tag to compare
August 03, 2024 Pre-release
Pre-release

@graphql-eslint/[email protected]

Patch Changes

  • #2466
    da608d7
    Thanks @dimaMachina! - fix require is not defined in flat
    configs for Vue/Svelte projects

  • #2468
    733a66e
    Thanks @dimaMachina! - - rename flat configs exports

    -graphql.flatConfigs['schema-recommended'].rules
    +graphql.configs['flat/schema-recommended']
    -graphql.flatConfigs['schema-relay'].rules
    +graphql.configs['flat/schema-relay']
    -graphql.flatConfigs['schema-all'].rules
    +graphql.configs['flat/schema-all']
    -graphql.flatConfigs['operations-recommended'].rules
    +graphql.configs['flat/operations-recommended']
    -graphql.flatConfigs['operations-all'].rules
    +graphql.configs['flat/operations-all']
    • fix with programmatic usage when passing large schema as string causes pattern too long error
    • fix loading ESM graphql.config.js configs