Readme Suggestions #1517
Replies: 1 comment
-
it's just as per ESLint work, you should configure parser/processor/rules to run on specific files, it's identical in other non-js plugins -
GraphQL-ESLint firstly searches for the presence of a physical config, after for Feel free to contribute to improving docs, I will be appreciated by it!
Thanks for using it! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've just migrated over to graphql-eslint from the eslint-plugin-graphql and found a couple of gotchas that might be worth adding to the README for future users.
The first thing that caught me out was that the whole eslint config needs to be within the
overrides
section. I think I saw a comment about that in one of the issues but it could possibly do with being outlined as a warning for folks doing a migration.The second gotcha for me was that I don't use
graphql-config
in my project so it seems like including the"skipGraphQLConfig": true
in parser options is a required step in this case. The wording of that section of the docs doesn't suggest it's required so more of a warning here would have helped me.Let me know if you think these would be of any use to other people.
Thanks for all the hard work on this project!
Beta Was this translation helpful? Give feedback.
All reactions