-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Unexpected top-level property "default", targeting for legacy Nod…
…e.js versions (#1750) * update deps * update eslint * update deps * ok now try to fix this mistake * try pnpm 6 * fix * another f1x * fix patch * and this * try * this also doesn't work in node 12 * fix * comment lint/prettier * try pnpm 7 that has patches * try pnpm 7 that has patches * try es2020 that replaces `||=` * fixes * more * use `export =` * add changeset --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
28e99a2
commit 7b461a1
Showing
12 changed files
with
560 additions
and
2,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@graphql-eslint/eslint-plugin': patch | ||
--- | ||
|
||
ESLint configuration in ... is invalid. Unexpected top-level property "default". | ||
Fix targeting for legacy Node.js versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"author": "Dotan Simha <[email protected]>", | ||
"license": "MIT", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"build": "pnpm --filter @graphql-eslint/eslint-plugin build && bob check", | ||
"ci:lint": "eslint --ignore-path .gitignore --output-file eslint_report.json --format json .", | ||
|
@@ -30,7 +31,7 @@ | |
"chalk": "4.1.2", | ||
"dedent": "1.0.1", | ||
"enquirer": "2.3.6", | ||
"eslint": "8.41.0", | ||
"eslint": "8.44.0", | ||
"eslint-plugin-eslint-plugin": "5.0.7", | ||
"eslint-plugin-tailwindcss": "3.13.0", | ||
"husky": "8.0.3", | ||
|
@@ -49,7 +50,7 @@ | |
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"eslint@8.41.0": "patches/[email protected]", | ||
"eslint@8.44.0": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]", | ||
"@vitest/[email protected]": "patches/@[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default { | ||
export = { | ||
parser: '@graphql-eslint/eslint-plugin', | ||
plugins: ['@graphql-eslint'], | ||
rules: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.