mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-16 08:06:24 +03:00
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>
17 lines
404 B
TypeScript
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>
|
|
);
|
|
}
|