saifulapm/layoutlint

Deterministic UI layout checks for changed JSX/HTML + Tailwind components ��� overflow, overlap, viewport fit, text truncation — in milliseconds, no browser. Fails the job when a changed component violates a layout rule. SECURITY: React component modules are EXECUTED to render them (like your tests are). Trigger on pull_request from trusted branches only — never run this action against fork code via pull_request_target — or set execute: 'false' for a static parse.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
filesExtended-regex filter for changed files to check (matched against paths from git diff).\.(tsx|jsx)$
viewportsComma-separated viewport widths in px.320,375,768,1440
rulesComma-separated subset of no-overflow, no-overlap, fits-viewport, no-text-truncation. Empty = all.""
baseBase ref to diff against. Defaults to the PR base, or HEAD~1 on push.""
versionlayoutlint version to install from npm.latest
executeExecute React component modules (.tsx/.jsx with import/export) via the project's react-dom to get real markup. Set 'false' to force a static parse (e.g. if this job can see untrusted code).true

no outputs