Skip to content

Releases: dimaMachina/graphql-eslint

@graphql-eslint/eslint-plugin@1.0.1

19 May 16:20
ef14735
Compare
Choose a tag to compare

Patch Changes

  • 1d85025: fix: allow anonymous operations for naming-convention rule
  • a92267b: fixes for graphql-js rules issues
  • 45acfde: Fix console.warn typo in selection-set-depth rule
  • 533d123: Fix issues with Windows paths

@graphql-eslint/eslint-plugin@1.0.0

18 May 15:23
e1c9ced
Compare
Choose a tag to compare

Major Changes

  • 14211d6: feat: remove prettier rule, add related docs

    BREAKING CHANGE: Remove prettier Rule

    Since prettier itself support now linting GraphQL code and syntax, we removed the need for this rule from this package.

    For more information, see:

  • 61251e7: BREAKING CHANGE: Remove deprecated rule validate-against-schema.

    If you are using validate-against-schema, please remove it and specify the exact rules that you need.

  • 61251e7: Bump dependencies and update minimum Node version to v12

Minor Changes

  • 63dc00a: NEW RULE: avoid-typename-prefix

Patch Changes

@graphql-eslint/eslint-plugin@0.9.1

25 Mar 08:15
d076e51
Compare
Choose a tag to compare

Patch Changes

  • beb3b14: Support possible types in no-unreachable-types rule

@graphql-eslint/eslint-plugin@0.9.0

07 Mar 17:47
e099fd9
Compare
Choose a tag to compare

Minor Changes

  • 4693f27: [New rule] strict-id-in-types: use this to enforce output types to have a unique indentifier field unless being in exceptions

@graphql-eslint/eslint-plugin@0.8.1

25 Feb 07:32
96a37d8
Compare
Choose a tag to compare

Patch Changes

  • 46742f0: no-hashtag-description allows eslint directives
  • 77eafd2: no-unreachable-types pass if type implements reachable interface
  • 13fd2fa: Fix compatibility issues with graphql v14

@graphql-eslint/eslint-plugin@0.8.0

02 Feb 08:23
a2b71f6
Compare
Choose a tag to compare

Minor Changes

  • 5b35139: Add options to input-name rule.
  • 46d759e: [naming-convention] Add forbiddenPrefixes and forbiddenSuffixes options. Add QueryDefinition which targets queries ( may break existing config if FieldDefinition is used )

Patch Changes

  • 619d9eb: fix for no-unreachable-types does not recognize implemented interfaces
  • 2f6313b: Fix issues with built artifact containing parts of graphql-js library

@graphql-eslint/eslint-plugin@0.7.2

18 Jan 10:17
ef34dc6
Compare
Choose a tag to compare

Patch Changes

  • 80f9090: Fix missing "no-unreachable-types"

@graphql-eslint/eslint-plugin@0.7.1

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/eslint-plugin@0.7.0

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/eslint-plugin@0.6.0

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