@graphql-eslint/eslint-plugin 3.8.0-alpha-85bee2b.0 → 3.8.0-alpha-c1d1797.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/docs/README.md +1 -1
- package/docs/rules/require-description.md +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/docs/README.md
CHANGED
@@ -7,7 +7,7 @@ Each rule has emojis denoting:
|
|
7
7
|
|
8
8
|
<!-- 🚨 IMPORTANT! Do not manually modify this table. Run: `yarn generate:docs` -->
|
9
9
|
<!-- prettier-ignore-start -->
|
10
|
-
Name |Description| Config  
|
10
|
+
Name |Description| Config |🚀 / 🔮
|
11
11
|
-|-|:-:|:-:
|
12
12
|
[alphabetize](rules/alphabetize.md)|Enforce arrange in alphabetical order for type fields, enum values, input object fields, operation selections and more.|![all][]|🚀
|
13
13
|
[description-style](rules/description-style.md)|Require all comments to follow the same style (either block or inline).|![recommended][]|🚀
|
@@ -99,7 +99,7 @@ Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October
|
|
99
99
|
|
100
100
|
Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#OperationDefinition).
|
101
101
|
|
102
|
-
> You must use only comment syntax
|
102
|
+
> You must use only comment syntax `#` and not description syntax `"""` or `"`.
|
103
103
|
|
104
104
|
### `ScalarTypeDefinition` (boolean)
|
105
105
|
|
package/index.js
CHANGED
@@ -2704,7 +2704,7 @@ const rule$h = {
|
|
2704
2704
|
...Object.fromEntries([...ALLOWED_KINDS$1].sort().map(kind => {
|
2705
2705
|
let description = `Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#${kind}).`;
|
2706
2706
|
if (kind === graphql.Kind.OPERATION_DEFINITION) {
|
2707
|
-
description += '\n\n> You must use only comment syntax
|
2707
|
+
description += '\n\n> You must use only comment syntax `#` and not description syntax `"""` or `"`.';
|
2708
2708
|
}
|
2709
2709
|
return [kind, { type: 'boolean', description }];
|
2710
2710
|
})),
|
package/index.mjs
CHANGED
@@ -2698,7 +2698,7 @@ const rule$h = {
|
|
2698
2698
|
...Object.fromEntries([...ALLOWED_KINDS$1].sort().map(kind => {
|
2699
2699
|
let description = `Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#${kind}).`;
|
2700
2700
|
if (kind === Kind.OPERATION_DEFINITION) {
|
2701
|
-
description += '\n\n> You must use only comment syntax
|
2701
|
+
description += '\n\n> You must use only comment syntax `#` and not description syntax `"""` or `"`.';
|
2702
2702
|
}
|
2703
2703
|
return [kind, { type: 'boolean', description }];
|
2704
2704
|
})),
|