Files
pbakaus_impeccable/tests/fixtures/antipatterns/multifile/Card.tsx
T
Paul BakausandClaude Opus 4.6 3c9cc86061 Merge CLI into main repo, switch everything to Apache 2.0
Merges the impeccable-detect CLI repo (pbakaus/impeccable-cli@831a6cc)
into this repo. The BSL-1.1 license that motivated the split is gone;
everything is now Apache 2.0.

- Add bin/, src/, detection tests and fixtures from CLI repo
- Merge package.json: name → "impeccable", add bin/exports/files fields
- Internal refs now read from local src/ instead of node_modules/
- Update SPDX headers, NOTICE.md, CLAUDE.md, FAQ, npm README
- Add prepack/postpack scripts for CLI-focused README on npm
- Remove terminal license labels (no longer needed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 16:50:33 -07:00

17 lines
404 B
TypeScript

// Component with anti-patterns
import React from 'react';
interface CardProps {
title: string;
value: string;
}
export function Card({ title, value }: CardProps) {
return (
<div className="border-l-4 border-blue-500 rounded-lg p-4 bg-white shadow">
<h3 className="text-purple-500 text-xl font-bold">{title}</h3>
<p className="text-2xl tabular-nums">{value}</p>
</div>
);
}