diff --git a/codegen/src/domains.rs b/codegen/src/domains.rs index 06af7b444..e52a592a8 100644 --- a/codegen/src/domains.rs +++ b/codegen/src/domains.rs @@ -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:::" )?; } diff --git a/src/content/docs/linter/domains.mdx b/src/content/docs/linter/domains.mdx index b01c0abd8..d6f7eb266 100644 --- a/src/content/docs/linter/domains.mdx +++ b/src/content/docs/linter/domains.mdx @@ -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} { @@ -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} { @@ -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} {