v3.4.1: decorative-blob, review profiles, and 35 merged pull requests
The detector grows from 36 to 37 rules, existing rules read more of SwiftUI, UIKit, Compose, Flutter, Vue, Svelte, Angular and shadcn/ui, and more code that never reaches the screen stays quiet. The skill also gains review profiles and a DOM probe. 23 people sent pull requests since v3.4.0, and 10 of them were first contributions.
Added
- A new rule,
decorative-blob: a blurred, fully rounded, colored blob placed absolute or fixed behind a hero, written in Tailwind classes. Gray blobs andbackdrop-blurglass stay quiet (#530 by @jay23606). - Review profiles for a prototype, a live site, a web app with source, a design file and a native app: what each one runs, what it skips and lists under Not checked, and which steps a cheaper model can carry.
scripts/dom-probe.jsmeasures a rendered page in one pass (control names, pointer targets, contrast, clipped text, overflow, meaning by color alone, tooltips, working notes left in the copy) and returns one JSON object (#508 by @SuonChaLa). - Install as a Hermes Agent plugin:
hermes plugins install erkamyaman/unslop-anything --enable(#489 by @prasannajeet). detect -vas the short form ofdetect --version(#482 by @Beehtrix).
Fixed
New platforms for existing rules
- slop-gradient reads Flutter
SweepGradientand SwiftUIEllipticalGradient(#510 by @musbabaff), and UIKitCAGradientLayer(#522 by @openagents-bot). - glass-everywhere counts UIKit
UIBlurEffect(#528 by @Alkhanizi-hashem). - fixed-text-size reads SwiftUI
.custom(_:fixedSize:)(#531 by @Alkhanizi-hashem), and FlutterMediaQuery.withNoTextScalingandMediaQuery.withClampedTextScalingwithmaxScaleFactor: 1(#521 by @abedinm). - back-gesture catches UIKit's
navigationItem.hidesBackButton = trueandsetHidesBackButton(true, ...)(#524 by @cloudgpuapp). - drawer-nav reads React Native
DrawerLayoutAndroid(#506 by @musbabaff), Compose Material 2Scaffold(drawerContent = ...)(#527 by @Alkhanizi-hashem), and Lucide'sMenuicon when it is imported from a Lucide package (#523 by @qwist1233-cpu). - unvirtualized-list catches Flutter
List.generatein a scroll view's children (#507 by @nabeelbaghoor) and ComposeforEachIndexedin a scrollingColumn(#509 by @jay23606). - hover-only catches Vue
@mouseenter, Svelteon:mouseenterandonmouseenter, and Angular(mouseenter)(#520 by @abedinm). - placeholder-label checks shadcn/ui
<Input>and<Textarea>. A<Label htmlFor>, a wrapping<Label>, a shadcn/uiFormItemwith aFormLabel, aField.Rootwith aField.Label, and thelabelprop of HeroUI and Mantine inputs count as labels (#512 by @Alkhanizi-hashem). - vague-button reads Flutter
CupertinoButton,FilledTonalButtonand named constructors such asElevatedButton.icon(#504 by @Jun-shisheng).
Rules that catch more
- hover-only catches Tailwind classes that hide content until hover on a phone, like
opacity-0 group-hover:opacity-100orhidden hover:block(#526 by @Junaidm678). A test now covers the@media (hover: hover)guard that keeps it quiet (#532 by @Alkhanizi-hashem). - zoom-disabled catches
user-scalable=falseand viewport settings in any letter case (#519 by @og-orca).
Fewer false positives
- vague-button flags "Submit", "Click here" and "Tap here" as element text only inside a button or link, so a "Submit" heading stays quiet (#513 by @Alkhanizi-hashem).
- decorative-pulse and reduced-motion leave shadcn/ui's
Skeletonalone: a pulse on a theme color, or in a tag,data-slotor file named skeleton, is a loading state (#505 by @thihodev). - oops-error and welcome-back skip messages inside error constructors, like a returned or rejected
new Error("Oops")(#488 by @MentalOfCrow). oops-error and emoji-icon skip Kotlin'sthrowwithoutnewand Android's Timber logs (#503 by @daocuong11). - welcome-back leaves "Hello, world", "Hi there", "Hey everyone", "Hi all", self-introductions like "Hi, I'm Sam" and greetings in log calls alone (#491 by @Zabeeh-Ullah-Dev).
- buzzword-copy skips
all-in-oneinside URLs, class names, i18n keys and CSS selectors (#490 by @Zabeeh-Ullah-Dev). - sparkle-icon skips
auto_fix_*used as an object key or a variable name (#481 by @izbari). - glass-everywhere counts Flutter's
BackdropFilter(filter: ImageFilter.blur(...))as one surface, not two (#485 by @sniwas). - img-no-alt skips react-native-paper's
Avatar.Image, which takessourceinstead ofsrc(#486 by @tarekooooooo). - clickable-div treats Angular anchors with
routerLinkas links (#493 by @Yshuro). - default-font reads
--font-*custom properties as font families, so--font-display: "Fraunces"beside Inter counts as a display face, and size and weight tokens like--font-size-baseare not read as families (#494 by @jay23606). - Comments in Blade, Twig, Nunjucks, Handlebars, EJS and ERB templates are skipped, so commented-out markup no longer flags (#484 by @x7).
Scanning
- Minified and declaration files are skipped whatever their letter case, so
.MIN.JSand.D.TSstay out too (#511 by @Alkhanizi-hashem). - On macOS, a scan of a folder under
/var(the temp folder, a symlink to/private/var) shows paths relative to the current folder and honors absoluteignorePaths(#525 by @og-orca).
Thanks to our contributors
Thanks to @Alkhanizi-hashem, @jay23606, @abedinm, @musbabaff, @og-orca, @Zabeeh-Ullah-Dev, @Beehtrix, @cloudgpuapp, @daocuong11, @izbari, @Jun-shisheng, @Junaidm678, @MentalOfCrow, @nabeelbaghoor, @openagents-bot, @prasannajeet, @qwist1233-cpu, @sniwas, @SuonChaLa, @tarekooooooo, @thihodev, @x7 and @Yshuro.
A special welcome to the 10 people whose first contribution landed in this release: @abedinm, @Beehtrix, @MentalOfCrow, @musbabaff, @nabeelbaghoor, @og-orca, @openagents-bot, @SuonChaLa, @thihodev and @Yshuro.