Files
pbakaus_impeccable/tests/fixtures/antipatterns/jsx-should-pass.jsx
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

34 lines
999 B
React

// Clean React component -- no anti-patterns
import React from 'react';
export function FeatureCard({ title, description, icon }) {
return (
<div className="rounded-lg bg-white p-6 shadow-sm ring-1 ring-gray-200">
<div className="flex items-center gap-4">
<div className="text-teal-600 text-2xl">{icon}</div>
<h3 className="text-lg font-semibold text-gray-900">{title}</h3>
</div>
<p className="text-gray-600 mt-2">{description}</p>
</div>
);
}
export function HeroSection() {
return (
<section className="bg-gray-950 py-20">
<h1 className="text-5xl font-bold text-white">Welcome</h1>
<p className="mt-4 text-gray-300">Build something amazing today</p>
</section>
);
}
export function StatsCard({ value, label }) {
return (
<div className="rounded-lg p-6 ring-1 ring-gray-200">
<span className="text-3xl font-bold tabular-nums">{value}</span>
<p className="text-gray-600 mt-1">{label}</p>
</div>
);
}