Skip to content

Commit ce43dba

Browse files
authored
Update CHANGELOG.md
1 parent f623f78 commit ce43dba

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

packages/plugin/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,43 @@
2727
- 61251e7: BREAKING CHANGE: Remove deprecated rule `validate-against-schema`.
2828

2929
If you are using `validate-against-schema`, please remove it and specify the exact rules that you need.
30+
31+
As a drop-in replacement for the whole set of rules we had in `validate-against-schema`, you can use this:
32+
33+
34+
```
35+
"@graphql-eslint/executable-definitions": "error",
36+
"@graphql-eslint/fields-on-correct-type": "error",
37+
"@graphql-eslint/fragments-on-composite-type": "error",
38+
"@graphql-eslint/known-argument-names": "error",
39+
"@graphql-eslint/known-directives": "error",
40+
"@graphql-eslint/known-fragment-names": "error",
41+
"@graphql-eslint/known-type-names": "error",
42+
"@graphql-eslint/lone-anonymous-operation": "error",
43+
"@graphql-eslint/lone-schema-definition": "error",
44+
"@graphql-eslint/no-fragment-cycles": "error",
45+
"@graphql-eslint/no-undefined-variables": "error",
46+
"@graphql-eslint/no-unused-fragments": "error",
47+
"@graphql-eslint/no-unused-variables": "error",
48+
"@graphql-eslint/overlapping-fields-can-be-merged": "error",
49+
"@graphql-eslint/possible-fragment-spread": "error",
50+
"@graphql-eslint/possible-type-extension": "error",
51+
"@graphql-eslint/provided-required-arguments": "error",
52+
"@graphql-eslint/scalar-leafs": "error",
53+
"@graphql-eslint/one-field-subscriptions": "error",
54+
"@graphql-eslint/unique-argument-names": "error",
55+
"@graphql-eslint/unique-directive-names": "error",
56+
"@graphql-eslint/unique-directive-names-per-location": "error",
57+
"@graphql-eslint/unique-enum-value-names": "error",
58+
"@graphql-eslint/unique-field-definition-names": "error",
59+
"@graphql-eslint/unique-input-field-names": "error",
60+
"@graphql-eslint/unique-operation-types": "error",
61+
"@graphql-eslint/unique-type-names": "error",
62+
"@graphql-eslint/unique-variable-names": "error",
63+
"@graphql-eslint/value-literals-of-correct-type": "error",
64+
"@graphql-eslint/variables-are-input-types": "error",
65+
"@graphql-eslint/variables-in-allowed-position": "error"
66+
```
3067

3168
- 61251e7: Bump dependencies and update minimum Node version to `v12`
3269

0 commit comments

Comments
 (0)