Skip to content

Commit

Permalink
Upcoming Release Changes (alpha) (#2696)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 13, 2024
1 parent 0b4632f commit 1f2420b
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@graphql-eslint_eslint-plugin-1792-dependencies",
"@graphql-eslint_eslint-plugin-1813-dependencies",
"breezy-seals-sparkle",
"chilled-rivers-prove",
"chilly-ants-exist",
"curly-socks-boil",
"dull-scissors-destroy",
Expand All @@ -27,6 +28,7 @@
"heavy-onions-fry",
"itchy-ads-compete",
"lovely-laws-hide",
"metal-wasps-type",
"rare-planes-love",
"real-coins-share",
"strong-needles-compare"
Expand Down
47 changes: 47 additions & 0 deletions packages/plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# @graphql-eslint/eslint-plugin

## 4.0.0-alpha.7

### Major Changes

- [#2598](https://github.com/dimaMachina/graphql-eslint/pull/2598)
[`e771499`](https://github.com/dimaMachina/graphql-eslint/commit/e771499db22ed6aa358af090b535f6206e191ebb)
Thanks [@bmulholland](https://github.com/bmulholland)! - 1. graphql plugin can now we be specified
as

```diff
plugins: {
- '@graphql-eslint': {
- graphqlPlugin.rules
- }
+ '@graphql-eslint': graphqlPlugin
}
```

1. Config rules should now be accessed through the `rules` property

```diff
rules: {
- ...graphqlESLint.configs['flat/operations-recommended']
+ ...graphqlESLint.configs['flat/operations-recommended'].rules
```

1. processor can now be specified with accessing `processor` property

```diff
- processor: graphql.processors.graphql
+ processor: graphqlPlugin.processor
```

1. The plugin can now be imported using a default import

```diff
- import * as graphql from '@graphql-eslint/eslint-plugin'
+ import graphqlPlugin from '@graphql-eslint/eslint-plugin'
```

### Patch Changes

- [#2692](https://github.com/dimaMachina/graphql-eslint/pull/2692)
[`dcf4e35`](https://github.com/dimaMachina/graphql-eslint/commit/dcf4e3558e13f4350e4e0960d8e9603667cda0b2)
Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix some issues on Windows by running
tests with matrix on github CI

## 4.0.0-alpha.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-eslint/eslint-plugin",
"version": "4.0.0-alpha.6",
"version": "4.0.0-alpha.7",
"type": "module",
"description": "GraphQL plugin for ESLint",
"repository": "https://github.com/B2o5T/graphql-eslint",
Expand Down

0 comments on commit 1f2420b

Please sign in to comment.