diff --git a/.changeset/four-coats-vanish.md b/.changeset/four-coats-vanish.md deleted file mode 100644 index fc5eaab395e..00000000000 --- a/.changeset/four-coats-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': patch ---- - -fix(siblings): return virtual path for code files instead of real path diff --git a/.changeset/gold-mice-sell.md b/.changeset/gold-mice-sell.md deleted file mode 100644 index b1bfb666c2e..00000000000 --- a/.changeset/gold-mice-sell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': patch ---- - -use `graphql-config` even there is no `graphql-config` consmiconfig file diff --git a/.changeset/great-beans-design.md b/.changeset/great-beans-design.md deleted file mode 100644 index cf9661befab..00000000000 --- a/.changeset/great-beans-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': patch ---- - -fix false negative cases for `no-unreachable-types` rule diff --git a/.changeset/lemon-donkeys-hammer.md b/.changeset/lemon-donkeys-hammer.md deleted file mode 100644 index 8938542a6c1..00000000000 --- a/.changeset/lemon-donkeys-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': patch ---- - -fix caching for `no-unreachable-types` and `no-unused-fields` rules diff --git a/.changeset/proud-stingrays-yell.md b/.changeset/proud-stingrays-yell.md deleted file mode 100644 index 83c03607b64..00000000000 --- a/.changeset/proud-stingrays-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': major ---- - -Drop support for Node 10, update to latest graphql-tools diff --git a/.changeset/wild-rules-guess.md b/.changeset/wild-rules-guess.md deleted file mode 100644 index 40ed686c8e6..00000000000 --- a/.changeset/wild-rules-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': patch ---- - -add tests for schema loaders diff --git a/examples/basic/package.json b/examples/basic/package.json index 049da46d19b..945d61f1722 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "eslint": "7.24.0", - "@graphql-eslint/eslint-plugin": "1.1.4", + "@graphql-eslint/eslint-plugin": "2.0.0", "graphql": "15.5.0", "typescript": "4.1.5" } diff --git a/examples/code-file/package.json b/examples/code-file/package.json index 7d0e9de4701..eb2746cceb3 100644 --- a/examples/code-file/package.json +++ b/examples/code-file/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "eslint": "7.24.0", - "@graphql-eslint/eslint-plugin": "1.1.4", + "@graphql-eslint/eslint-plugin": "2.0.0", "graphql": "15.5.0", "typescript": "4.1.5" } diff --git a/examples/graphql-config-code-file/package.json b/examples/graphql-config-code-file/package.json index 546818b41d4..57d6a63325c 100644 --- a/examples/graphql-config-code-file/package.json +++ b/examples/graphql-config-code-file/package.json @@ -9,7 +9,7 @@ "lint": "eslint --ext graphql,js ." }, "dependencies": { - "@graphql-eslint/eslint-plugin": "1.1.4", + "@graphql-eslint/eslint-plugin": "2.0.0", "eslint": "7.24.0", "graphql": "15.5.0", "graphql-tag": "^2.11.0", diff --git a/examples/graphql-config/package.json b/examples/graphql-config/package.json index 544f7af8de8..c229a821363 100644 --- a/examples/graphql-config/package.json +++ b/examples/graphql-config/package.json @@ -11,7 +11,7 @@ "dependencies": { "graphql-config": "4.0.0", "eslint": "7.24.0", - "@graphql-eslint/eslint-plugin": "1.1.4", + "@graphql-eslint/eslint-plugin": "2.0.0", "graphql": "15.5.0", "typescript": "4.1.5" } diff --git a/examples/prettier/package.json b/examples/prettier/package.json index efa1bcc0976..1374e3a8d81 100644 --- a/examples/prettier/package.json +++ b/examples/prettier/package.json @@ -12,7 +12,7 @@ "eslint": "7.24.0", "eslint-config-prettier": "8.2.0", "eslint-plugin-prettier": "3.4.0", - "@graphql-eslint/eslint-plugin": "1.1.4", + "@graphql-eslint/eslint-plugin": "2.0.0", "graphql": "15.5.0", "prettier": "1.19.1", "typescript": "4.1.5" diff --git a/packages/plugin/CHANGELOG.md b/packages/plugin/CHANGELOG.md index a99ed714414..9042d1db337 100644 --- a/packages/plugin/CHANGELOG.md +++ b/packages/plugin/CHANGELOG.md @@ -1,5 +1,19 @@ # @graphql-eslint/eslint-plugin +## 2.0.0 + +### Major Changes + +- 17014ee: Drop support for Node 10, update to latest graphql-tools + +### Patch Changes + +- c0b12a5: fix(siblings): return virtual path for code files instead of real path +- 3701b2a: use `graphql-config` even there is no `graphql-config` consmiconfig file +- 44f0d73: fix false negative cases for `no-unreachable-types` rule +- 5065482: fix caching for `no-unreachable-types` and `no-unused-fields` rules +- 5e8ebd8: add tests for schema loaders + ## 1.1.4 ### Patch Changes diff --git a/packages/plugin/package.json b/packages/plugin/package.json index 17f876d6dc0..c3a18464cf3 100644 --- a/packages/plugin/package.json +++ b/packages/plugin/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-eslint/eslint-plugin", - "version": "1.1.4", + "version": "2.0.0", "repository": "https://github.com/dotansimha/graphql-eslint", "author": "Dotan Simha ", "license": "MIT",