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
2 changes: 1 addition & 1 deletion codegen/src/domains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ impl DocDomains {
writeln!(buffer)?;
writeln!(
buffer,
":::note[No recommended rules]\nSince all rules in this domain are nursery rules, no rules will be activated when enabling the domain. You need to enable the single rules.:::#"
":::note[No recommended rules]\nSince all rules in this domain are nursery rules, no rules will be activated when enabling the domain. You need to enable the single rules.\n:::"
)?;
}

Expand Down
9 changes: 6 additions & 3 deletions src/content/docs/linter/domains.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ Enable the **recommended, non-nursery** rules of the domain:
```

:::note[No recommended rules]
Since all rules in this domain are nursery rules, no rules will be activated when enabling the domain. You need to enable the single rules.:::#
Since all rules in this domain are nursery rules, no rules will be activated when enabling the domain. You need to enable the single rules.
:::
Enabled the **all** rules of the domain:
```json title="biome.json" ins={3-5}
{
Expand Down Expand Up @@ -391,7 +392,8 @@ Enable the **recommended, non-nursery** rules of the domain:
```

:::note[No recommended rules]
Since all rules in this domain are nursery rules, no rules will be activated when enabling the domain. You need to enable the single rules.:::#
Since all rules in this domain are nursery rules, no rules will be activated when enabling the domain. You need to enable the single rules.
:::
Enabled the **all** rules of the domain:
```json title="biome.json" ins={3-5}
{
Expand Down Expand Up @@ -434,7 +436,8 @@ Enable the **recommended, non-nursery** rules of the domain:
```

:::note[No recommended rules]
Since all rules in this domain are nursery rules, no rules will be activated when enabling the domain. You need to enable the single rules.:::#
Since all rules in this domain are nursery rules, no rules will be activated when enabling the domain. You need to enable the single rules.
:::
Enabled the **all** rules of the domain:
```json title="biome.json" ins={3-5}
{
Expand Down