4 counted, under 2 rules. “Not counted” marks a compiler error that restates a design-system violation, “Ignored” one the agent silenced with a comment.
page.tsx:1:1 · <html lang="en" class="vektos">Document should have one main landmark (1 element, light theme)
page.tsx:1:1 · <html lang="en" class="vektos dark">Document should have one main landmark (1 element, dark theme)
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.
Step
Tools
Tokens in
Tokens out
Cost
0
read_file
1,409
49
$0.0000
1
list_components
1,968
65
$0.0000
2
write_file
4,482
1,586
$0.0000
3
cdb5d9e77633
Output cap
20,000 tokens a step
2
3import data from "./fixture.json";
4import {
5 Card,
6 CardHeader,
7 CardTitle,
8 CardBody,
9 CardFooter,
10 Badge,
11 Stack,
12 Text,
13 Table,
14 TableHead,
15 TableBody,
16 TableRow,
17 TableCell,
18} from "@vektos/ds";
19
20const shipment = data.shipment;
21const packages = data.packages;
22const events = data.events;
23
24const totalWeight = packages.reduce((sum, pkg) => sum + pkg.weightKg, 0).toFixed(2);
25
26function formatDate(iso: string) {
27 return new Date(iso).toLocaleDateString(undefined, {
28 weekday: "long",
29 year: "numeric",
30 month: "long",
31 day: "numeric",
32 });
33}
34
35function statusLabel(code: string) {
36 return code === "in_transit" ? "In transit" : code;
check_code: 21 violations:
- line 17: lint/eslint(no-unused-vars): Identifier 'TableHeader' is imported but never used.
- line 49: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 51: outside-styling/styled-from-outside: `direction` is not a layout prop of `Stack`: how it looks belongs to the component. Use one of its variants, or a layout prop (`marginInlineStart`, `flexGrow`, `width`…).
- line 51: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 53: outside-styling/styled-from-outside: `fontWeight` 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`…).
- line 53: typecheck/TS2322: Type '{ fontWeight: string; children: string; }' is not assignable to type 'IntrinsicAttributes & TextProps'.
- line 56: outside-styling/styled-from-outside: `direction` is not a layout prop of `Stack`: how it looks belongs to the component. Use one of its variants, or a layout prop (`marginInlineStart`, `flexGrow`, `width`…).
- line 56: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 62: outside-styling/styled-from-outside: `direction` is not a layout prop of `Stack`: how it looks belongs to the component. Use one of its variants, or a layout prop (`marginInlineStart`, `flexGrow`, `width`…).
- line 62: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 77: outside-styling/styled-from-outside: `direction` is not a layout prop of `Stack`: how it looks belongs to the component. Use one of its variants, or a layout prop (`marginInlineStart`, `flexGrow`, `width`…).
- line 77: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 86: outside-styling/styled-from-outside: `direction` is not a layout prop of `Stack`: how it looks belongs to the component. Use one of its variants, or a layout prop (`marginInlineStart`, `flexGrow`, `width`…).
- line 86: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 96: outside-styling/styled-from-outside: `direction` is not a layout prop of `Stack`: how it looks belongs to the component. Use one of its variants, or a layout prop (`marginInlineStart`, `flexGrow`, `width`…).
- line 96: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 102: outside-styling/styled-from-outside: `fontWeight` 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`…).
- line 102: typecheck/TS2322: Type '{ fontWeight: string; children: string; }' is not assignable to type 'IntrinsicAttributes & TextProps'.
- line 125: outside-styling/styled-from-outside: `fontWeight` 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`…).
- line 125: typecheck/TS2322: Type '{ fontWeight: string; children: string; }' is not assignable to type 'IntrinsicAttributes & TextProps'.
- line 136: lint/unicorn(no-array-sort): Use `Array#toSorted()` instead of `Array#sort()`.
2,164
1,110
$0.0000
5
get_component
2,176
336
$0.0000
6
get_component
1,417
66
$0.0000
7
check_code
check_code: 7 violations:
- line 47: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 49: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 54: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 60: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 75: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 84: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.
- line 94: typecheck/TS2322: Type 'number' is not assignable to type 'ConditionalValue<SpacingValue>'.