web3 / web3.js

Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.
https://web3js.org/
Other
19.36k stars 4.96k forks source link

Update `eslint` libraries to the latest #7402

Open Muhammad-Altabba opened 2 days ago

Muhammad-Altabba commented 2 days ago

Some of the eslint libraries are bit old. The eslint libraris are dev dependencies:


        "@typescript-eslint/eslint-plugin": "^5.30.7",
        "@typescript-eslint/parser": "^5.30.7",
                ...
        "eslint": "^8.20.0",
        "eslint-config-base-web3": "0.1.0",
        "eslint-config-prettier": "^8.5.0",
        "eslint-plugin-import": "^2.26.0",

The update requires to change the code for the chganged rules in many places. It also needs to update the way the configuration is given to eslint and remove the depricated configs.

krzysu commented 1 day ago

interesting alternative to eslint and prettier https://biomejs.dev/