Skip to content

Commit 3cd60fa

Browse files
committed
fix: docs
1 parent 09d86ed commit 3cd60fa

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

docs/codegen/src/rules_docs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ fn generate_rule_doc(
9191

9292
writeln!(content)?;
9393
writeln!(content, "**Since**: `v{}`", meta.version)?;
94+
writeln!(content)?;
9495

9596
// add recommended notice
9697
if is_recommended {
@@ -105,7 +106,7 @@ fn generate_rule_doc(
105106

106107
// add source information
107108
if !meta.sources.is_empty() {
108-
writeln!(content, "Sources: ")?;
109+
writeln!(content, "**Sources**: ")?;
109110

110111
for source in meta.sources {
111112
let rule_name = source.to_namespaced_rule_name();

docs/rules/ban-drop-column.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
**Diagnostic Category: `lint/safety/banDropColumn`**
33

44
**Since**: `vnext`
5+
56
> [!NOTE]
67
> This rule is recommended. A diagnostic error will appear when linting your code.
78
8-
Sources:
9+
**Sources**:
910
- Inspired from: <a href="https://squawkhq.com/docs/ban-drop-column" target="_blank"><code>squawk/ban-drop-column</code></a>
1011

1112
## Description

docs/rules/ban-drop-not-null.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
**Diagnostic Category: `lint/safety/banDropNotNull`**
33

44
**Since**: `vnext`
5+
56
> [!NOTE]
67
> This rule is recommended. A diagnostic error will appear when linting your code.
78
8-
Sources:
9+
**Sources**:
910
- Inspired from: <a href="https://squawkhq.com/docs/ban-drop-not-null" target="_blank"><code>squawk/ban-drop-not-null</code></a>
1011

1112
## Description

0 commit comments

Comments
 (0)