Module: RuboCop::Cop::GraphQL
- Defined in:
- lib/rubocop/cop/graphql/legacy_dsl.rb,
lib/rubocop/cop/graphql/field_name.rb,
lib/rubocop/cop/graphql/extract_type.rb,
lib/rubocop/cop/graphql/field_method.rb,
lib/rubocop/cop/graphql/graphql_name.rb,
lib/rubocop/cop/graphql/argument_name.rb,
lib/rubocop/cop/graphql/field_hash_key.rb,
lib/rubocop/cop/graphql/ordered_fields.rb,
lib/rubocop/cop/graphql/prepare_method.rb,
lib/rubocop/cop/graphql/unused_argument.rb,
lib/rubocop/cop/graphql/field_uniqueness.rb,
lib/rubocop/cop/graphql/max_depth_schema.rb,
lib/rubocop/cop/graphql/field_definitions.rb,
lib/rubocop/cop/graphql/field_description.rb,
lib/rubocop/cop/graphql/ordered_arguments.rb,
lib/rubocop/cop/graphql/extract_input_type.rb,
lib/rubocop/cop/graphql/object_description.rb,
lib/rubocop/cop/graphql/argument_uniqueness.rb,
lib/rubocop/cop/graphql/argument_description.rb,
lib/rubocop/cop/graphql/max_complexity_schema.rb,
lib/rubocop/cop/graphql/resolver_method_length.rb,
lib/rubocop/cop/graphql/unnecessary_field_alias.rb,
lib/rubocop/cop/graphql/not_authorized_node_type.rb,
lib/rubocop/cop/graphql/multiple_field_definitions.rb,
lib/rubocop/cop/graphql/unnecessary_field_camelize.rb,
lib/rubocop/cop/graphql/unnecessary_argument_camelize.rb
Overview
This cop checks whether type definitions are class-based or legacy.
Defined Under Namespace
Classes: ArgumentDescription, ArgumentName, ArgumentUniqueness, ExtractInputType, ExtractType, FieldDefinitions, FieldDescription, FieldHashKey, FieldMethod, FieldName, FieldUniqueness, GraphqlName, LegacyDsl, MaxComplexitySchema, MaxDepthSchema, MultipleFieldDefinitions, NotAuthorizedNodeType, ObjectDescription, OrderedArguments, OrderedFields, PrepareMethod, ResolverMethodLength, UnnecessaryArgumentCamelize, UnnecessaryFieldAlias, UnnecessaryFieldCamelize, UnusedArgument