Skip to content

Commit ac4944f

Browse files
feat(fmt/md): improve formatting of list against prettier (#10383)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 84b43c5 commit ac4944f

106 files changed

Lines changed: 2679 additions & 2649 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

crates/biome_js_analyze/src/lint/suspicious/no_proto.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,15 @@ impl Rule for NoProto {
9191
.ok()?
9292
.to_trimmed_text()
9393
.trim_matches(['\'', '"', '`'])
94-
== "__proto__"
95-
=> {
96-
return Some(());
97-
}
94+
== "__proto__" =>
95+
{
96+
return Some(());
97+
}
9898
AnyJsAssignment::JsStaticMemberAssignment(assignment)
99-
if assignment.member().ok()?.to_trimmed_text() == "__proto__" => {
100-
return Some(());
101-
}
99+
if assignment.member().ok()?.to_trimmed_text() == "__proto__" =>
100+
{
101+
return Some(());
102+
}
102103
_ => {}
103104
},
104105
NoProtoQuery::AnyJsMemberExpression(expr) => match expr {

0 commit comments

Comments
 (0)