Skip to content

v2.3.0

Choose a tag to compare

@elkaix elkaix released this 26 Sep 19:42
· 35 commits to main since this release

React Frontend Skills v2.3.0

Added

scan now runs 31 checks. The three new ones catch Vitest 5 hard breaks:

Check Flags Rule
vitest5-removed-entrypoints Imports from vitest/suite, runners, coverage, snapshot, reporters, environments or mocker setup-vitest5-migration
vitest5-nested-vi-mock vi.mock, vi.unmock or vi.hoisted below module top level, which fails the whole file mock-vi-mock-hoisting
vitest5-tothrow-empty-string toThrow(''), which now matches any message assert-specific-matchers

Like the existing checks, they only run when the project is on Vitest 5.

Fixed

  • vercel-react-best-practices/rendering-hydration-no-flicker: the inline-script theme example now sets suppressHydrationWarning on the element the script changes. Without it, React 19 logs an attribute hydration mismatch. This is recorded as a local patch in UPSTREAM.md.

Install

npx skills add PyModel/react-frontend-skills --all

Full changelog: v2.2.0...v2.3.0