1"use client";23import React, { useState } from "react";4import data from "./fixture.json";5import { css } from "styled-system/css";67const formStyles = css({8 maxWidth: 400,9 margin: "2rem auto",
Violations
23 counted, under 9 rules. “Not counted” marks a compiler error that restates a design-system violation, “Ignored” one the agent silenced with a comment.
page.tsx:9:11 · 2rem auto`2rem auto` is a raw length. Use a token.
page.tsx:14:12 · 0.5rem`0.5rem` is a raw length. Use a token.
page.tsx:15:17 · 0.5rem`0.5rem` is a raw length. Use a token.
page.tsx:90:37 · 1rem`1rem` is a raw length. Use a token.
page.tsx:107:49 · 0.875rem`0.875rem` is a raw length. Use a token.
page.tsx:124:49 · 0.875rem`0.875rem` is a raw length. Use a token.
Steps
One row per model call, with the tools it asked for. An agent that reads the guidelines before writing shows it here; what a checker or submit_view answered is under its call.
page.tsx:1:1The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.