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.operationstoparserOptions.documentsto make consistency withgraphql-confighttps://github.com/B2o5T/graphql-eslint/issues/770#issuecomment-967561242 - [ ] Remove
GraphQLRuleTesterfrom bundle and publish as@graphql-eslint/rule-testerhttps://github.com/B2o5T/graphql-eslint/issues/946#issuecomment-1030802927 - [ ]
alphabetizechanges- add
definitions: trueoption forallconfig - rename
values: ['EnumTypeDefinition']andvariables: ['OperationDefinition']options tovalues: trueandvariables: true
- add
- [ ] bring back
possible-type-extensiontorecommendedconfig - [ ] Remove
unique-enum-value-namesrule, renameno-case-insensitive-enum-values-duplicatestounique-enum-value-nameswith new optioncaseSensitivehttps://github.com/B2o5T/graphql-eslint/discussions/793 - [ ] Add
unique-operation-nameandunique-fragment-namerules torecommendedconfig.
The whole concept of sibling operations provided by
parserOptions.operationsorgraphql-config'sdocumentsfields 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 inrecommendedconfig
- [ ] enable
strict: trueintsconfig.json - [ ]
known-directivesremoveignoreClientDirectivesin favour of graphql-config'sextensions.customDirectiveshttps://github.com/B2o5T/graphql-eslint/issues/1076#issuecomment-1143594491