- Category:
Stylistic Issues
- Rule name:
@graphql-eslint/description-style
- Requires GraphQL Schema:
false
ℹ️ - Requires GraphQL Operations:
false
ℹ️
Require all comments to follow the same style (either block or inline).
# eslint @graphql-eslint/description-style: ['error', { style: 'inline' }]
""" Description """
type someTypeName {
...
}
# eslint @graphql-eslint/description-style: ['error', { style: 'inline' }]
" Description "
type someTypeName {
...
}
The schema defines an array with all elements of the type object
.
The array object has the following properties:
This element must be one of the following enum values:
block
inline
Default: "inline"