Skip to content

Commit

Permalink
refactor: run just l
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-ebata committed Jun 30, 2024
1 parent 8c0d5c3 commit 8b225b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/biome_aria/src/roles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ impl<'a> AriaRoles {
None
}
} else {
self.get_implicit_role(element_name, &attributes)
self.get_implicit_role(element_name, attributes)
};

if let Some(role) = role_name {
Expand All @@ -1353,7 +1353,7 @@ impl<'a> AriaRoles {
}
}

return false;
false
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ impl Rule for NoStaticElementInteractions {
}

if let Some(attributes) = &attributes {
if aria_roles.is_not_static_element(&element_name, &attributes) {
if aria_roles.is_not_static_element(element_name, attributes) {
return None;
}

Expand Down

0 comments on commit 8b225b2

Please sign in to comment.