Skip to content

November 13, 2024

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Nov 22:19
· 65 commits to master since this release
1f2420b

@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