1"use client";23import React, { useState } from "react";4import data from "./fixture.json";5import {6 Card,7 CardHeader,8 CardTitle,9 CardBody,10 FormField, Select,
Violations
1 counted, under 1 rule. “Not counted” marks a compiler error that restates a design-system violation, “Ignored” one the agent silenced with a comment.
page.tsx:1:1No matching export in "apps/web/.bench/43e155d9/page.tsx" for import "default"
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.
check_code: 15 violations:
- line 19: lint/eslint(no-unused-vars): Identifier 'css' is imported but never used.
- line 71: typecheck/TS2322: Type '"positive"' is not assignable to type '"danger" | "neutral" | "success" | "warning"'.
- line 72: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 87: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 89: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 94: typecheck/TS2304: Cannot find name 'FormatNumber'.
- line 94: lint/react(jsx-no-undef): 'FormatNumber' is not defined.
- line 113: typecheck/TS2353: Object literal may only specify known properties, and 'message' does not exist in type 'Iterable<ReactNode> | Promise<AwaitedReactNode> | ReactElement<unknown, string | JSXElementConstructor<any>> | ReactPortal'.
- line 118: typecheck/TS2322: Type '{ value: string; onValueChange: Dispatch<SetStateAction<string | null>>; isRequired: true; disabled: false; children: Element[]; }' is not assignable to type 'IntrinsicAttributes & SelectProps'.
- line 122: typecheck/TS2339: Property 'Item' does not exist on type '({ options, value, defaultValue, onValueChange, placeholder, size, name, disabled, "aria-label": ariaLabel, UNSAFE_className, UNSAFE_style, ...rest }: SelectProps) => Element'.
- line 124: typecheck/TS2339: Property 'Item' does not exist on type '({ options, value, defaultValue, onValueChange, placeholder, size, name, disabled, "aria-label": ariaLabel, UNSAFE_className, UNSAFE_style, ...rest }: SelectProps) => Element'.
- line 132: typecheck/TS2353: Object literal may only specify known properties, and 'message' does not exist in type 'Iterable<ReactNode> | Promise<AwaitedReactNode> | ReactElement<unknown, string | JSXElementConstructor<any>> | ReactPortal'.
- line 146: typecheck/TS2353: Object literal may only specify known properties, and 'message' does not exist in type 'Iterable<ReactNode> | Promise<AwaitedReactNode> | ReactElement<unknown, string | JSXElementConstructor<any>> | ReactPortal'.
- line 150: typecheck/TS2322: Type '{ checked: boolean; onChange: (checked: any) => void; disabled: false; }' is not assignable to type 'IntrinsicAttributes & CheckboxProps'.
- line 150: typecheck/TS7006: Parameter 'checked' implicitly has an 'any' type.
5,892
1,082
$0.0000
4
get_component
1,412
194
$0.0000
5
get_component
2,287
154
$0.0000
6
get_component
1,089
329
$0.0000
7
write_file
2,282
1,511
$0.0000
8
check_code
check_code: 7 violations:
- line 62: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 79: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 81: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 127: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 130: typecheck/TS2322: Type '{ checked: boolean; onChange: (c: any) => void; children: string; }' is not assignable to type 'IntrinsicAttributes & CheckboxProps'.
- line 130: typecheck/TS7006: Parameter 'c' implicitly has an 'any' type.
- line 135: outside-styling/styled-from-outside: `color` is not a layout prop of `Text`: how it looks belongs to the component. Use one of its variants, or a layout prop (`marginInlineStart`, `flexGrow`, `width`…).