graphql-eslint
graphql-eslint copied to clipboard
`GraphQL-ESLint` v4 Roadmap (after Node 12 end of life)
- [ ] Node 12 drop support
- [ ] Support ESLint 9, drop support for ESLint 7 and 8
- [ ] Support GraphQL 17
- [ ] Bundle to ESM only
- [ ] rename
parserOptions.operations
toparserOptions.documents
to make consistency withgraphql-config
https://github.com/B2o5T/graphql-eslint/issues/770#issuecomment-967561242 - [ ] Remove
GraphQLRuleTester
from bundle and publish as@graphql-eslint/rule-tester
https://github.com/B2o5T/graphql-eslint/issues/946#issuecomment-1030802927 - [ ]
alphabetize
changes- add
definitions: true
option forall
config - rename
values: ['EnumTypeDefinition']
andvariables: ['OperationDefinition']
options tovalues: true
andvariables: true
- add
- [ ] bring back
possible-type-extension
torecommended
config - [ ] Remove
unique-enum-value-names
rule, renameno-case-insensitive-enum-values-duplicates
tounique-enum-value-names
with new optioncaseSensitive
https://github.com/B2o5T/graphql-eslint/discussions/793 - [ ] Add
unique-operation-name
andunique-fragment-name
rules torecommended
config.
The whole concept of sibling operations provided by
parserOptions.operations
orgraphql-config
'sdocuments
fields is based on uniquely named operations and fragments, for omitting false-positive/negative cases when operations and fragments are located in separated files. For this reason, these rules must be included inrecommended
config
- [ ] enable
strict: true
intsconfig.json
- [ ]
known-directives
removeignoreClientDirectives
in favour of graphql-config'sextensions.customDirectives
https://github.com/B2o5T/graphql-eslint/issues/1076#issuecomment-1143594491