File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments