Hi and thanks for the excellent package! 👏🏼
We are currently working on breaking down our Rails monolith with some tools from the packs ecosystem. This led us to moving all our GraphQL code to a folder packages/web_graphql.
This clashes with the default Include and Exclude rules in this package, which often hardcode a graphql directory. Example:
|
Include: |
|
- "**/graphql/**/*" |
If this was the only rule, then I wouldn't worry about it so much, and we did override it in our Rubocop config for now. But since there are several other, more specific rules also using similar constructs, I'm worried about quietly and unintentionally skipping a lot of valuable cops.
Would you be open to changing this to *graphql* to make it work with any directory containing the term "graphql"?
Hi and thanks for the excellent package! 👏🏼
We are currently working on breaking down our Rails monolith with some tools from the packs ecosystem. This led us to moving all our GraphQL code to a folder
packages/web_graphql.This clashes with the default
IncludeandExcluderules in this package, which often hardcode agraphqldirectory. Example:rubocop-graphql/config/default.yml
Lines 3 to 4 in ca4506b
If this was the only rule, then I wouldn't worry about it so much, and we did override it in our Rubocop config for now. But since there are several other, more specific rules also using similar constructs, I'm worried about quietly and unintentionally skipping a lot of valuable cops.
Would you be open to changing this to
*graphql*to make it work with any directory containing the term "graphql"?