Skip to content

Commit 1f2420b

Browse files
Upcoming Release Changes (alpha) (#2696)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 0b4632f commit 1f2420b

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

.changeset/pre.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@graphql-eslint_eslint-plugin-1792-dependencies",
1919
"@graphql-eslint_eslint-plugin-1813-dependencies",
2020
"breezy-seals-sparkle",
21+
"chilled-rivers-prove",
2122
"chilly-ants-exist",
2223
"curly-socks-boil",
2324
"dull-scissors-destroy",
@@ -27,6 +28,7 @@
2728
"heavy-onions-fry",
2829
"itchy-ads-compete",
2930
"lovely-laws-hide",
31+
"metal-wasps-type",
3032
"rare-planes-love",
3133
"real-coins-share",
3234
"strong-needles-compare"

packages/plugin/CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# @graphql-eslint/eslint-plugin
22

3+
## 4.0.0-alpha.7
4+
5+
### Major Changes
6+
7+
- [#2598](https://github.com/dimaMachina/graphql-eslint/pull/2598)
8+
[`e771499`](https://github.com/dimaMachina/graphql-eslint/commit/e771499db22ed6aa358af090b535f6206e191ebb)
9+
Thanks [@bmulholland](https://github.com/bmulholland)! - 1. graphql plugin can now we be specified
10+
as
11+
12+
```diff
13+
plugins: {
14+
- '@graphql-eslint': {
15+
- graphqlPlugin.rules
16+
- }
17+
+ '@graphql-eslint': graphqlPlugin
18+
}
19+
```
20+
21+
1. Config rules should now be accessed through the `rules` property
22+
23+
```diff
24+
rules: {
25+
- ...graphqlESLint.configs['flat/operations-recommended']
26+
+ ...graphqlESLint.configs['flat/operations-recommended'].rules
27+
```
28+
29+
1. processor can now be specified with accessing `processor` property
30+
31+
```diff
32+
- processor: graphql.processors.graphql
33+
+ processor: graphqlPlugin.processor
34+
```
35+
36+
1. The plugin can now be imported using a default import
37+
38+
```diff
39+
- import * as graphql from '@graphql-eslint/eslint-plugin'
40+
+ import graphqlPlugin from '@graphql-eslint/eslint-plugin'
41+
```
42+
43+
### Patch Changes
44+
45+
- [#2692](https://github.com/dimaMachina/graphql-eslint/pull/2692)
46+
[`dcf4e35`](https://github.com/dimaMachina/graphql-eslint/commit/dcf4e3558e13f4350e4e0960d8e9603667cda0b2)
47+
Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix some issues on Windows by running
48+
tests with matrix on github CI
49+
350
## 4.0.0-alpha.6
451

552
### Patch Changes

packages/plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphql-eslint/eslint-plugin",
3-
"version": "4.0.0-alpha.6",
3+
"version": "4.0.0-alpha.7",
44
"type": "module",
55
"description": "GraphQL plugin for ESLint",
66
"repository": "https://github.com/B2o5T/graphql-eslint",

0 commit comments

Comments
 (0)