Class: RuboCop::Cop::GraphQL::ArgumentName
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::GraphQL::ArgumentName
- Includes:
- GraphQL::NodePattern
- Defined in:
- lib/rubocop/cop/graphql/argument_name.rb
Overview
This cop checks whether field names are snake_case.
Constant Summary collapse
- RESTRICT_ON_SEND =
%i[argument].freeze
- MSG =
"Use snake_case for argument names"
Instance Method Summary collapse
Methods included from GraphQL::NodePattern
#argument?, #field?, #field_definition?, #field_definition_with_body?