Appease the linter by avoiding double negation
The class_names method only checks truthiness.
MODIFY
app/components/primer/avatar_component.rb
app/components/primer/avatar_component.rb
@@ -39,7 +39,7 @@ module Primer
"avatar",
"avatar-small" => size < SMALL_THRESHOLD,
"circle" => !square,
- "lh-0" => !!href # Addresses an overflow issue with linked avatars
+ "lh-0" => href # Addresses an overflow issue with linked avatars
)
end

Appease the linter by avoiding double negation

The class_names method only checks truthiness.