@graphql-eslint/eslint-plugin 3.14.4-alpha-20221229225327-f5344fe → 3.14.4-alpha-20230101234626-f24440c
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
@@ -213,11 +213,11 @@ See [docs/deprecated-rules.md](docs/deprecated-rules.md).
|
|
213
213
|
<!-- prettier-ignore-start -->
|
214
214
|
|Name|Description|
|
215
215
|
|:-:|-|
|
216
|
-
|[`schema-recommended`](packages/plugin/src/configs/schema-recommended.
|
217
|
-
|[`schema-all`](packages/plugin/src/configs/schema-all.
|
218
|
-
|[`operations-recommended`](packages/plugin/src/configs/operations-recommended.
|
219
|
-
|[`operations-all`](packages/plugin/src/configs/operations-all.
|
220
|
-
|[`relay`](packages/plugin/src/configs/relay.
|
216
|
+
|[`schema-recommended`](packages/plugin/src/configs/schema-recommended.ts)|enables recommended rules for schema (SDL) development|
|
217
|
+
|[`schema-all`](packages/plugin/src/configs/schema-all.ts)|enables all rules for schema (SDL) development, except for those that require `parserOptions.operations` option|
|
218
|
+
|[`operations-recommended`](packages/plugin/src/configs/operations-recommended.ts) |enables recommended rules for consuming GraphQL (operations) development|
|
219
|
+
|[`operations-all`](packages/plugin/src/configs/operations-all.ts)|enables all rules for consuming GraphQL (operations) development|
|
220
|
+
|[`relay`](packages/plugin/src/configs/relay.ts)|enables rules from Relay specification for schema (SDL) development|
|
221
221
|
<!-- prettier-ignore-end -->
|
222
222
|
|
223
223
|
> If you are in a project that develops the GraphQL schema, you'll need `schema` rules.
|
@@ -226,7 +226,7 @@ See [docs/deprecated-rules.md](docs/deprecated-rules.md).
|
|
226
226
|
> need `operations` rules.
|
227
227
|
|
228
228
|
> If you are in a monorepo project, you probably need both sets of rules, see
|
229
|
-
> [example of configuration](examples/monorepo
|
229
|
+
> [example of configuration](examples/monorepo/eslint.config.js).
|
230
230
|
|
231
231
|
### Config usage
|
232
232
|
|
@@ -278,7 +278,7 @@ module.exports = {
|
|
278
278
|
}
|
279
279
|
```
|
280
280
|
|
281
|
-
You can take [`examples/prettier`](examples/prettier
|
281
|
+
You can take [`examples/prettier`](examples/prettier/eslint.config.js) as example.
|
282
282
|
|
283
283
|
## Further Reading
|
284
284
|
|
package/package.json
CHANGED