@graphql-eslint/eslint-plugin 3.0.0-alpha-0a996de.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -195,6 +195,12 @@ See [docs/deprecated-rules.md](docs/deprecated-rules.md).
|
|
195
195
|
|[`operations-all`](packages/plugin/src/configs/operations-all.ts)|enables all rules|
|
196
196
|
<!-- prettier-ignore-end -->
|
197
197
|
|
198
|
+
> If you are in a project that develops the GraphQL schema, you'll need `schema` rules.
|
199
|
+
|
200
|
+
> If you are in a project that develops GraphQL operations (query/mutation/subscription), you'll need `operations` rules.
|
201
|
+
|
202
|
+
> If you are in a monorepo project, you probably need both sets of rules.
|
203
|
+
|
198
204
|
## Config usage
|
199
205
|
|
200
206
|
For example, to enable the `schema-recommended` config, enable it in your `.eslintrc` file with the `extends` option:
|
package/package.json
CHANGED