-
Notifications
You must be signed in to change notification settings - Fork 917
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
bug: ESLint Error #901
Comments
IDE is the latest version of Vscode Extensions
To get even more weird my Tried uninstalling to isolate both extensions but still riding the struggle bus 🥲 ES LintError Lense |
This comment was marked as outdated.
This comment was marked as outdated.
Prolly not cool enough to switch to make the switch to neovim yet 🤣 But very open to using a different extension if there are recommendations |
Hey @MattPereira ! Thanks for reporting this! Played with it a bit, and a simple solution that helped me is to remove Possible cause:
I will create PR with eslint config update next days, waiting for ES LintI have this for a long time too, but it's just a warning :). Will fix it |
This comment was marked as outdated.
This comment was marked as outdated.
I think there are other benefits besides just the unused imports / vars. The linter being broken blocks out all warnings including missing dependencies in complex And if you miss a single warning the linter check will fail in the github action, which is a small annoyance requiring an extra commit to fix 🫠 |
This worked for me, since it's Please check #904 . Is it working for you? |
I agree! |
page.tsx in Home component : |
I have the same details, but no warnings at all. @technophile-04 |
No warnings on my side as well. And |
Same here. No warnings but same details on hover
Node |
No warnings here! Version: 1.91.1 Node v18.17.1 |
My VS Code Details
Still no luck after switching to node v18 and restarting vscode |
As far as I'm concerned, VS code version or node version does not have to do with this issue. This has to be fixed code-wise. Could you please fix this issue as quickly as possible since I've paused using |
Just update on this, was debugging with @MattPereira and seems like #875 is the culprit if he checks out to #869 i.e after clonning the main repo and then doing :
It does seem to solve the problem for him. Would love if you guys could test it out. Also if it doesn't work then maybe #904 would the way to go it seems |
Thanks all! Closing this since it was solved in #905 |
Which method was used to setup Scaffold-ETH 2 ?
git clone, npx create-eth@latest
Current Behavior
Linter not working so i dont get squigles warning me of unused variables, imports, ect.
I do still get blocked from committing and get warnings explained when the lint script runs
Expected Behavior
Here is what it looks like on older version of scaffold when Linter works without error
Steps To Reproduce
Happens instantly with fresh clone and fresh npx create-eth@latest
Anything else?
The ESLint error logs
The text was updated successfully, but these errors were encountered: