Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upcoming Release Changes #396

Merged
merged 1 commit into from
May 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 0 additions & 14 deletions .changeset/chilly-foxes-help.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dry-tigers-roll.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/empty-donuts-destroy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-tables-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-shoes-return.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/new-seas-nail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-colts-switch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-deers-end.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rude-paws-battle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-islands-call.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-papayas-count.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"eslint": "7.24.0",
"@graphql-eslint/eslint-plugin": "0.9.1",
"@graphql-eslint/eslint-plugin": "1.0.0",
"graphql": "15.5.0",
"typescript": "4.1.5"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/code-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"eslint": "7.24.0",
"@graphql-eslint/eslint-plugin": "0.9.1",
"@graphql-eslint/eslint-plugin": "1.0.0",
"graphql": "15.5.0",
"typescript": "4.1.5"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/graphql-config-code-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "eslint --ext graphql,js ."
},
"dependencies": {
"@graphql-eslint/eslint-plugin": "0.9.1",
"@graphql-eslint/eslint-plugin": "1.0.0",
"eslint": "7.24.0",
"graphql": "15.5.0",
"graphql-tag": "^2.11.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/graphql-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"graphql-config": "3.2.0",
"eslint": "7.24.0",
"@graphql-eslint/eslint-plugin": "0.9.1",
"@graphql-eslint/eslint-plugin": "1.0.0",
"graphql": "15.5.0",
"typescript": "4.1.5"
}
Expand Down
37 changes: 18 additions & 19 deletions examples/prettier/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{
"name": "@graphql-eslint/example-prettier",
"private": true,
"version": "0.0.1",
"repository": "https://github.com/dotansimha/graphql-eslint",
"author": "JounQin <admin@1stg.me>",
"license": "MIT",
"scripts": {
"lint": "eslint --ext graphql,js ."
},
"dependencies": {
"eslint": "7.24.0",
"eslint-config-prettier": "8.2.0",
"eslint-plugin-prettier": "3.4.0",
"@graphql-eslint/eslint-plugin": "0.9.1",
"graphql": "15.5.0",
"prettier": "1.19.1",
"typescript": "4.1.5"
}
"name": "@graphql-eslint/example-prettier",
"private": true,
"version": "0.0.1",
"repository": "https://github.com/dotansimha/graphql-eslint",
"author": "JounQin <admin@1stg.me>",
"license": "MIT",
"scripts": {
"lint": "eslint --ext graphql,js ."
},
"dependencies": {
"eslint": "7.24.0",
"eslint-config-prettier": "8.2.0",
"eslint-plugin-prettier": "3.4.0",
"@graphql-eslint/eslint-plugin": "1.0.0",
"graphql": "15.5.0",
"prettier": "1.19.1",
"typescript": "4.1.5"
}
}
42 changes: 42 additions & 0 deletions packages/plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# @graphql-eslint/eslint-plugin

## 1.0.0

### Major Changes

- 14211d6: feat: remove `prettier` rule, add related docs

### BREAKING CHANGE: Remove `prettier` Rule

Since prettier itself support now linting GraphQL code and syntax, we removed the need for this rule from this package.

For more information, see:

- [Migration guide and example](https://github.com/dotansimha/graphql-eslint#prettier-rule)
- [Related PR](https://github.com/dotansimha/graphql-eslint/issues/395)

- 61251e7: BREAKING CHANGE: Remove deprecated rule `validate-against-schema`.

If you are using `validate-against-schema`, please remove it and specify the exact rules that you need.

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

### Minor Changes

- 63dc00a: NEW RULE: avoid-typename-prefix

### Patch Changes

- 9a40163: Fix issues with `avoid-operation-name-prefix` and error with caseSensitive
- 1257d51: fix: original file should not be considered as file block

Related #88

ESLint supports `text` directly, no need to use the hacky way. See https://github.com/eslint/eslint/blob/master/lib/linter/linter.js#L1298

Related `eslint-plugin-prettier`'s issue hae been fixed at https://github.com/prettier/eslint-plugin-prettier/pull/401

- 6d4a356: Fix loadSiblings file location
- 388a0bf: Support OperationDefinition in naming-convention rule
- 5ff184b: Fix issues with `lone-schema-definition` rule
- 7a04e1e: Added support for direcrives in `no-unreachable-types` rule
- ef8d776: Fix errors always thrown with unique-type-names rule

## 0.9.1

### 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": "0.9.1",
"version": "1.0.0",
"repository": "https://github.com/dotansimha/graphql-eslint",
"author": "Dotan Simha <dotansimha@gmail.com>",
"license": "MIT",
Expand Down