Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"axios": "^0.27.2",
"eslint": "^7.21.0",
"eslint": "^9.26.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Upgrading ESLint from v7 to v9 is a major change with many breaking changes. Several other ESLint-related packages in your devDependencies are now incompatible and need to be upgraded as well.

Specifically:

  • @typescript-eslint/eslint-plugin and @typescript-eslint/parser (currently ^4.16.1) need to be upgraded to v7 or newer to be compatible with ESLint v9.
  • eslint-config-prettier (currently ^8.1.0) needs to be upgraded to v9 or newer.

Here is a suggestion for the updated dependencies. You might need to adjust versions based on your project's needs, but these should be compatible:

    "@typescript-eslint/eslint-plugin": "^7.0.0",
    "@typescript-eslint/parser": "^7.0.0",
    "axios": "^0.27.2",
    "eslint": "^9.26.0",
    "eslint-config-prettier": "^9.0.0",

After updating these packages, you will also need to:

  1. Run yarn to update yarn.lock, which this PR failed to do.
  2. Verify your ESLint configuration. ESLint v9 introduced a new configuration file format (eslint.config.js). While the old .eslintrc format is still supported, you may encounter issues and should consider migrating.

"eslint-config-prettier": "^8.1.0",
"eslint-config-typescript": "^3.0.0",
"ethers": "^6.13",
Expand Down