docs(website): add newline
MODIFY
website/src/docs/lint/rules/noAsyncPromiseExecutor.md
website/src/docs/lint/rules/noAsyncPromiseExecutor.md
@@ -13,6 +13,7 @@ The executor function can also be an async function. However, this is usually a
1. If an async executor function throws an error, the error will be lost and won't cause the newly-constructed `Promise` to reject. This could make it difficult to debug and handle some errors.
2. If a Promise executor function is using `await`, this is usually a sign that it is not actually necessary to use the `new Promise` constructor, or the scope of the `new Promise` constructor can be reduced.
+
## Examples
### Invalid

MODIFY
website/src/docs/lint/rules/noUnusedVariables.md
website/src/docs/lint/rules/noUnusedVariables.md
@@ -11,6 +11,7 @@ There are two exceptions to this rule:
1. variables that starts with underscore, ex: `let _something;`
2. the `React` variable;
+
The pattern of having an underscore as prefix of a name of variable is a very diffuse
pattern among programmers, and Rome decided to follow it.

MODIFY
xtask/lintdoc/src/main.rs
xtask/lintdoc/src/main.rs
@@ -317,6 +317,7 @@ fn parse_documentation(
Event::End(Tag::List(_)) => {
list_order = None;
+ writeln!(content)?;
}
Event::Start(Tag::Item) => {
if let Some(num) = list_order {

docs(website): add newline (#3247)