Releases: dimaMachina/graphql-eslint
@graphql-eslint/[email protected]
Patch Changes
- 34b4300: fix(graphql-config): pass real filepath to
gqlConfig.getProjectForFile
@graphql-eslint/[email protected]
Patch Changes
- ca8b521: fix: code filepath in unique-fragment-name and unique-operation-name rules
@graphql-eslint/[email protected]
Patch Changes
- e7d8496: fix: documents in graphql-config can be null
@graphql-eslint/[email protected]
@graphql-eslint/[email protected]
Minor Changes
- a44d426: support #import in known-fragment-names rule
@graphql-eslint/[email protected]
@graphql-eslint/[email protected]
@graphql-eslint/[email protected]
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/[email protected]
Patch Changes
- beb3b14: Support possible types in no-unreachable-types rule
@graphql-eslint/[email protected]
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