Releases: dimaMachina/graphql-eslint
@graphql-eslint/eslint-plugin@1.0.1
@graphql-eslint/eslint-plugin@1.0.0
Major Changes
-
14211d6: feat: remove
prettier
rule, add related docsBREAKING CHANGE: Remove
prettier
RuleSince 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
-
9a40163: Fix issues with
avoid-operation-name-prefix
and error with caseSensitive -
1257d51: fix: original file should not be considered as file block
Related #88
ESLint supports
text
directly, no need to use the hacky way. See https://github.com/eslint/eslint/blob/master/lib/linter/linter.js#L1298Related
eslint-plugin-prettier
's issue hae been fixed at prettier/eslint-plugin-prettier#401 -
6d4a356: Fix loadSiblings file location
-
388a0bf: Support OperationDefinition in naming-convention rule
-
5ff184b: Fix issues with
lone-schema-definition
rule -
7a04e1e: Added support for direcrives in
no-unreachable-types
rule -
ef8d776: Fix errors always thrown with unique-type-names rule
@graphql-eslint/eslint-plugin@0.9.1
Patch Changes
- beb3b14: Support possible types in no-unreachable-types rule
@graphql-eslint/eslint-plugin@0.9.0
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
@graphql-eslint/eslint-plugin@0.8.0
@graphql-eslint/eslint-plugin@0.7.2
Patch Changes
- 80f9090: Fix missing "no-unreachable-types"
@graphql-eslint/eslint-plugin@0.7.1
Patch Changes
- a5e1e6e: Fix issues with processor parsing errors breaking the eslint execution
@graphql-eslint/eslint-plugin@0.7.0
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