Skip to content

Releases: graphql-hive/graphql-eslint

@graphql-eslint/[email protected]

24 Dec 09:21
851e5e0
Compare
Choose a tag to compare

Patch Changes

  • a5e1e6e: Fix issues with processor parsing errors breaking the eslint execution

@graphql-eslint/[email protected]

23 Dec 09:36
b64c6ad
Compare
Choose a tag to compare

Minor Changes

  • 5e1bbe6: NEW RULE: avoid-duplicate-fields
  • b093f88: NEW RULE: selection-set-depth
  • 2df9134: NEW RULE: no-hashtag-description
  • 625f083: New rule: no-unreachable-types
  • 174a66f: [naming-convention] Allow each definition to take either a strng or object. Object can take the following keys: style (naming style), prefix (value must have prefix) and suffix (value must have suffix)
  • d3ff768: NEW RULE: no-deprecated
  • 63cecdd: Added code file compatibility for graphql-config projects

Patch Changes

  • 0094548: Load graphql config file only once
  • e26a5d4: Fix issues with loading schemas from code-files
  • e6edc88: Added prefix to error thrown by the parser
  • 1594288: Improve error messages for parserServices
  • 4942b58: Optimisation of sibling operations loading (cache by project)
  • 2df9134: Fixed missing loc property when rawNode is called on Document node
  • a57d4f5: fix(naming-convention): fix issues with numeric values

@graphql-eslint/[email protected]

20 Dec 09:32
7f7c657
Compare
Choose a tag to compare

Minor Changes

  • e9d1d53: NEW RULE: unique-operation-name
  • e9d1d53: Port all graphql-js validation rules to standalone rules
  • e9d1d53: New rule: unique-fragment-name

Patch Changes

  • e9d1d53: Fix issues with AST converter and root Document causing to invalid ASTs when rawNode is called
  • e9d1d53: Fix issue with siblings operations and getOperation method

@graphql-eslint/[email protected]

19 Dec 14:17
1f61dd1
Compare
Choose a tag to compare

Minor Changes

  • 937b322: test release
  • 937b322: Allow to load siblings operations
  • 937b322: feature(processor): apply processor automatically on code files

Patch Changes

  • 937b322: Fix processor compatibility with other plugins
  • 937b322: Better integration of siblings operations and graphql-config
  • 937b322: fix(parser): better performance, make sure schema is loaded and cached
  • 937b322: fix(parser): better support for graphql-config intergration and project detection

@graphql-eslint/[email protected]

29 Nov 15:28
3cc82b8
Compare
Choose a tag to compare

Patch Changes

  • c9bbdbe: Added supportsAutofix to the processor.
    Fixes can be applied in JS,TS files now.

@graphql-eslint/[email protected]

18 Nov 15:33
4e7378e
Compare
Choose a tag to compare

Patch Changes

  • 0fe0f68: Fix a bug in the input-name rule to make sure it only checks fields on the Mutation type

@graphql-eslint/[email protected]

10 Nov 19:00
3f2cb84
Compare
Choose a tag to compare

Patch Changes

  • 0dab062: [require-id-when-available] fix for inline fragments on interfaces (#139)

@graphql-eslint/[email protected]

05 Oct 13:47
d2d1786
Compare
Choose a tag to compare

Patch Changes

  • 52a98df: Ignore NoUnusedFragmentsRule validation for fragments operations
  • 52a98df: Improve error reported from validate-against-schema (added the rule name to the error)

@graphql-eslint/[email protected]

05 Oct 13:01
3ecbe2e
Compare
Choose a tag to compare

Minor Changes

  • 80e922c: Improved validate-against-schema rule configuration (allow to customize rules)

Patch Changes

  • 80e922c: Fix issues with .rawNode() values

@graphql-eslint/[email protected]

05 Oct 06:54
1900944
Compare
Choose a tag to compare

Patch Changes

  • 2b87cb1: Fix compatibility with GraphQL v14