github erkamyaman/unslop-anything v3.4.0

one hour ago

v3.4.0: three new rules, clickable findings, and 37 merged pull requests

The detector grows from 33 to 36 rules, reads server-rendered templates, prints every finding as path:line, and takes * and ** in ignorePaths. 18 people sent pull requests since v3.3.1, and 11 of them were first contributions.

Added

  • Three new rules:
    • entrance-everywhere: every section fading and sliding in on scroll, the motion of a generated landing page. Dropdowns, tooltips and toasts that animate out again stay quiet (#428 by @orshih6).
    • default-font: Inter as the only web font, with no display face beside it (#435 by @orshih6).
    • default-lucide: three or more of Lucide's mood icons (Zap, Rocket, Shield...) at the default stroke. Icons that do a job, like Lock, Users or Star, do not count (#429 by @orshih6).
  • Server-rendered templates are scanned: Blade, ERB, Twig, Nunjucks, Liquid, Handlebars and EJS (#427 by @orshih6).
  • .mts, .cts, .cjs, .htm, .pcss and .postcss files are scanned, and .d.mts and .min.cjs stay skipped (#439 by @Alkhanizi-hashem).
  • Text output starts each finding with path:line, so editors and terminals open it on click (#440 by @Alkhanizi-hashem).
  • --sarif output for GitHub code scanning (#391 by @alex00010).
  • npx unslop-anything --version and detect --version (#436 by @MikeFTV).
  • ignorePaths takes * and ? inside a name and ** for any number of folders, like src/legacy/** or *.generated.tsx (#423 by @jay23606).
  • An ignore comment above a multi-line opening tag silences the whole tag (#431 by @tranhoangtu-it).
  • CONTRIBUTING.md: how to fix a rule or add one (#430 by @tarekooooooo).
  • .agents/plugins/marketplace.json for agents that read it (#438 by @GamerDubz).

Fixed

New platforms for existing rules

Rules that catch more

  • img-no-alt flags shadcn/ui and Radix AvatarImage without alt (#424 by @jay23606), and leaves role="presentation" and role="none" alone (#441 by @Jun-shisheng).
  • sparkle-icon catches Lucide's Stars and Wand2 and Material's auto_fix_high (#433 by @izbari).
  • nested-cards catches Bootstrap .card and Tailwind card classes nested in each other (#434 by @izbari).
  • decorative-pulse catches animate-bounce and looping CSS keyframe badges, and leaves loaders alone (#387 by @jay23606).
  • status-dot catches plain CSS dots and arbitrary Tailwind sizes (#386 by @prascli).
  • oops-error catches "Oh no", "Uh-oh" and "An unexpected error occurred" (#426 by @daocuong11).
  • buzzword-copy catches "cutting-edge", "streamline your", "harness the power" and more (#446 by @Zabeeh-Ullah-Dev).
  • welcome-back catches "Good morning, {name}" and "Hello, {name}" (#444 by @Zabeeh-Ullah-Dev).
  • unverified-claim catches hard-coded star ratings like "Rated 4.9/5" and "★★★★★" (#443 by @Zabeeh-Ullah-Dev).
  • vague-button catches the same "Learn more" or "Read more" on several links (#447 by @Zabeeh-Ullah-Dev).
  • focus-removed no longer counts focus:ring-0 or focus:shadow-none as a replacement focus style (#445 by @Zabeeh-Ullah-Dev).
  • template-theme catches Next.js and Create React App starter leftovers (#451 by @Junaidm678).

Fewer false positives

  • Apostrophes between non-ASCII letters (d'été, Çağrı'nın) are prose, so later code on the line is still read (#422 by @mlubbad).
  • An audit of every file for hidden state machines fixed the cases it confirmed (#437).

Install

  • Adding the repo as a plugin marketplace in Claude Desktop, claude.ai or Cowork works again: the installer moved from bin/ to cli/ (#390 by @prasannajeet).

Docs

  • The monochrome and editorial styles have Ionic and Android Views rows (#388 by @tarekooooooo).
  • The report puts emoji beside numbers, a fix-cost ladder, and a list of what is visible at first sight (#425).

Thanks to our contributors

Thanks to @orshih6, @Zabeeh-Ullah-Dev, @jay23606, @Papito084, @tarekooooooo, @izbari, @Alkhanizi-hashem, @alex00010, @daocuong11, @GamerDubz, @Jun-shisheng, @Junaidm678, @MikeFTV, @mlubbad, @prasannajeet, @prascli, @tranhoangtu-it and @x7.

A special welcome to the 11 people whose first contribution landed in this release: @Alkhanizi-hashem, @GamerDubz, @Jun-shisheng, @Junaidm678, @MikeFTV, @Zabeeh-Ullah-Dev, @izbari, @mlubbad, @prasannajeet, @tranhoangtu-it and @x7.

Don't miss a new unslop-anything release

NewReleases is sending notifications on new releases.