Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions codegen/src/domains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ impl DocDomains {
"Use this domain inside Qwik projects. This domain enables rules that are specific to Qwik projects."
)?;
}
RuleDomain::Turborepo => {
writeln!(buffer, "## {name}")?;
writeln!(
buffer,
"Use this domain inside Turborepo projects. This domain enables rules that are specific to Turborepo projects."
)?;
}
#[allow(unreachable_patterns)]
domain => {
eprintln!("Undocumented domain: {domain:?}");
Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/linter/domains.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ Rules that belong to the domain:
- [noDuplicateTestHooks](/linter/rules/no-duplicate-test-hooks) (recommended)
- [noExportsInTest](/linter/rules/no-exports-in-test) (recommended)
- [noFocusedTests](/linter/rules/no-focused-tests) (recommended)
## Turborepo
Use this domain inside Turborepo projects. This domain enables rules that are specific to Turborepo projects.
### Turborepo activation
Enabled the **recommended** rules of the domain:
```json title="biome.json" ins={3-5}
Expand Down
Loading