-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
Make https://biomejs.dev/linter/rules/use-exhaustive-dependencies/ not recommended #4293
Comments
I don't think this is a good idea, since it would be a regression for React users that rely on the rule for enforcing the rules of hooks. However, we're in the process of adding a |
It is a regression, and that's why it's part of v2.0. The reason why we should not recommend it:
|
Are we sure we will have a good story on enabling framework-specific rules then? A large part of the appeal of Biome is that it works out-of-the-box without too much hassle configuration-wise, so if people need to look themselves which rules apply to their libraries/frameworks and enable them manually, that sounds like a red flag. I remember there was some discussion at some point about revamping the linter config, where we could add better categories to rules. Maybe we should focus on that first? Btw, I would argue
Major releases are for breaking changes, not for regressions ;) |
I plan to revisit it for Biome 2.0 |
You and I both agree. Since the scope Biome is slowly increasing, by spanning over other realities such as Next.js and Solid, we need to revisit our approach of "working out of the box" We can opt-in certain rules by checking the project manifests, and look for specific dependencies e.g.
And that's why we have this discussion where we proposed |
Glad to hear it!
Cool, then I'm totally on board yeah :) Just wanted to make sure we don't leave that out. |
No description provided.
The text was updated successfully, but these errors were encountered: