cjoudrey/graphql-schema-linter

Add --fix option

Open

#23 opened on 2017年8月9日

GitHub で見る
 (24 comments) (2 reactions) (0 assignees)JavaScript (669 stars) (62 forks)batch import
enhancementhelp wanted

説明

In some error cases, the linter can programmatically know what the schema should have been.

It would be awesome to provide a --fix option that would automatically resolve these errors.

Some example rules that could be fixed by the linter this way:

  • EnumValuesAllCaps
  • EnumValuesSortedAlphabetically
  • FieldsAreCamelCased
  • InputObjectValuesAreCamelCased
  • TypesAreCapitalized

コントリビューターガイド