ESLint parser, plugin and set rules for GraphQL (for schema and operations). Easily customizable with custom rules. Integrates with IDEs and modern GraphQL tools.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
14211d6: feat: remove prettier
rule, add related docs
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
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#L1298
Related eslint-plugin-prettier
's issue hae been fixed at https://github.com/prettier/eslint-plugin-prettier/pull/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
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
no-unreachable-types
does not recognize implemented interfacesPublished by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
loc
property when rawNode is called on Document nodePublished by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
supportsAutofix
to the processor.Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] about 4 years ago
Published by github-actions[bot] about 4 years ago
validate-against-schema
rule configuration (allow to customize rules).rawNode()
valuesPublished by github-actions[bot] about 4 years ago
Published by github-actions[bot] about 4 years ago
schemaOptions
supportPublished by github-actions[bot] about 4 years ago
Published by github-actions[bot] about 4 years ago