@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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-eslint/eslint-plugin",
3
- "version": "3.0.0-alpha-0a996de.0",
3
+ "version": "3.0.0",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"