-
-
Notifications
You must be signed in to change notification settings - Fork 525
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
fix(lint): add missing domain to next.js rules #5046
base: next
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! However, this is a new feature that we haven't released yet, so having a fix changeset doesn't make sense :)
Could you add a new CLI test to prevent this regression?
Ok, I'll remove it.
I'm sorry, I don't understand what exactly I need to test. |
So, the nice thing of domains is that Biome can enable a rule automatically by checking the dependencies of a Then, we can create a CLI test like this one: biome/crates/biome_cli/tests/cases/rules_via_dependencies.rs Lines 10 to 54 in 3868597
We put |
CodSpeed Performance ReportMerging #5046 will not alter performanceComparing Summary
|
I've pushed the new Next.js test, I can't find out why the rules aren't activated, if I create a |
@Jayllyz did you run |
Oh yes forgot the codegen, i jst did |
7a384b0
to
ab8a360
Compare
Thank you @Jayllyz, I'll look into it. Just so I understand, what's the expected rule to be triggered by your test? |
|
@Jayllyz I fixed the problem. The original rule doesn't have any |
Found the bug! |
Summary
Closes #5045
Test Plan
CI