no-typename-prefix exceptions #1119
-
Hi. I have the rule But before, some context. I'm following some design rules from here. One of them is related to the naming of the fields.
Back to my scenario. I would like to implement the following types type Categories {
id: ID!
title: String
categoriesConnection: CategoriesConnection!
}
# type CategoriesConnection with a set of CategoryEdge ...
# type CategoryEdge with a reference to a Category
type Category {
id: ID!
title: String
icon: String
items: ItemsConnection!
} The issue here is that Would it be possible to have this rule configurable with something like this? {
ignoreSuffix: "Connection"
} Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Sorry, I’m not plan to adding this option |
Beta Was this translation helpful? Give feedback.
@titonobre I don't want to add some extra options to this rule with the explicit name
no-typename-prefix
for the following reasons:eslint-ignore
commentsSorry, but not.